IRODS iCommands installation on Windows

From SNIC Documentation
Jump to: navigation, search

In order to use iRODS iCommands on Windows, you'll need to follow these steps:

1. Windows Subsystem for Linux Installation Guide for Windows 10

2. Once you have WSL installed you should install your Linux distribution of choice

 - we recommend Ubuntu 18.04 LTS due to binary distributions availability
 - setup your user and password on linux "machine"

3. iRODS Packages in APT repositories

Login and install the public key and add the repository:

wget -qO - | sudo apt-key add -
echo "deb [arch=amd64] $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/renci-irods.list
sudo apt-get update

4. iCommand installation and configuration

sudo apt install irods-icommands
follow configuration instructions as described here

5. Mounting Network Drives into Windows Subsystem Linux (optional)

info :

Microsoft uses a new type of file system called DrvFs behind the scenes to allow the Linux subsystem to talk to native Windows directories. So you end up mounting a network drive just like you would mount any other media normally.

Let's say you've got a server on your network usually accessible as \\MyNetworkDrive. To mount it into your WSL, you can do the following:

sudo mkdir /mnt/mynetworkdrive
sudo mount -t drvfs '\\MyNetworkDrive' /mnt/mynetworkdrive

Note: Use single quotes to avoid awkwardness around the backslashes in the network drive name.

If you have mapped the network drive to a drive letter S: on your Windows system already:

sudo mkdir /mnt/mynetworkdrive
sudo mount -t drvfs S: /mnt/mynetworkdrive

If you ever want to unmount it:

sudo umount /mnt/mynetworkdrive


Go back to Swestore-iRODS