Installing iRODS on Ubuntu and SL - UPPMAX/irods GitHub Wiki
- Download the latest iRODS package at the download page (We used iRODS 2.5).
- Unpack the archive and move the "iRODS" folder to a place where you want the installation to reside (like /opt/irods).
- Make sure you have the globus package installed (In Ubuntu, you will need to make sure you have all the libglobus-*-dev packages).
- Then you have to rename some paths in some make files, by running the following sed commands:
cd [irods-install-path]
sed -i 's/_..GSI_INSTALL_TYPE.//g' server/Makefile
sed -i 's/_..GSI_INSTALL_TYPE.//g' clients/fuse/Makefile
sed -i 's/_..GSI_INSTALL_TYPE.//g' clients/icommands/Makefile
(There might be more files that need to be fixed depending on your choices in the install script below).
Note: The above hack should be deprecated in the next release.
- Run the installer:
./irodssetup
- Choose the default options for most of the things, except:
- For "Build with GSI", say yes.
- For "Globus location" give "/usr/lib64/globus" for Scientific Linux, or "/usr/lib/globus" for Ubuntu.
- For "GSI install type" just give anything for the GSI install type, in case you executed the "sed" commands above. You might want to specify "/" (without the quotes), otherwise the interactive prompts will say that the "build will fail".
- This should be it! You can check that the server gets up and running by executing:
./irodsctl status
- Then look in the MANAGE.txt file for how to do some initial testing.
- In order to make the i-commands available, you might want to add the folder where they reside to your path:
export PATH=$PATH:[irods-install-dir]/clients/icommands/bin/