Installing Additional Software @cs.kuleuven.be
If you need some software on a specific machine, it can be installed in a number of ways. A short overview is given here, further below you can find more details:
- if there is an Ubuntu package for the software in the standard repositories, we will use that
- if there is another (trustworthy) repository that has an Ubuntu package for the software, we will use that
- if there is no Ubuntu package, but more than 1 user needs the software and/or the software must be installed on more than 1 machine, one of the users must become responsible for the package and install and configure it in /localhost/packages (with a 3-way handshake with helpdesk)
- if you are the only user of the software, you can/should install it in your home directory or some shared/group-writable directory - you might need more quota however, so consult with your system group representative what is the best way to install the software you need
More detailed explanation:
-
If the software you need, is available as standard Ubuntu package(s) from the standard Ubuntu repositories, then this is the best way to have it installed system-wide.
- to see which packages are installed on a specific machine, use the standard Ubuntu commands like "dpkg -l".
- to see which packages are readily available to be installed, use the standard Ubuntu commands like "apt-cache search ..." etc.
- ask helpdesk for the actual installation and clearly specify on which machines it should be installed
- it will be kept up to date automatically as part of the normal update mechanisms we have implemented for all systems
-
If it is not available as standard Ubuntu package, but it is available in some non-standard (but trustworthy) repository, then this might be an option to have it installed system-wide.
- this of course depends on whether the authors of the software have set up such a repository
- the quality of the repository is often reflected in whether or not the repository:
- is signed
- has support for different versions of Ubuntu/Debian
- ask helpdesk for the actual installation, but don't forget to mention the repository your software is available in and clearly specify on which machines it should be installed.
- it will be kept up to date automatically as part of the normal update mechanisms we have implemented for all systems
-
If this new software is not available in a trustworthy repository and it is going to be used by several people and once initially installed no (or little) changes are needed, then it can be set up / installed from source or binary distribution in /localhost/packages for use on several machines. This installation will be a three-way handshake:
- helpdesk will create a directory for you
- you install the software in that directory
- helpdesk will distribute the software to all machines that need it such that it can be used on those machines from their local disk
- to see what software is installed on a specific machine, just have a look in /localhost/packages (using your favorite GUI file manager or by using ls)
- to see what software is readily available to be installed, have a look in /localhost/packages/AVAILABLE-PACKAGES.txt
- you can find a bit more (technical) explanation about this installation proces in /localhost/packages/HOWTO.installer
- you will have to keep an eye yourself on any updates that need to be applied
- updating the software will involve a similar three-way handshake with helpdesk as installing it
-
If none of the above apply, then you can install it yourself in the way you like/need in a shared/group-writable directory (if several people will use it) or in your home directory (if you are the only user).
- if you want to use the software on several machines, you have the choice between:
- installing (and updating) it on each machine separately in a local directory
- installing it once in a directory that is exported to other machines via NFS
- for some applications NFS might give performance problems (e.g. opening a lot of files during long periods)
- do notice that your home directory is always exported via NFS
- you will have to keep an eye yourself on any updates that need to be applied
- updating the software is completely your own responsability and you don't need help from helpdesk for doing so
- if you want to use the software on several machines, you have the choice between:
-
If even that is not possible, then you should contact your system group representative.
A special case of the last option are the additional packages that are part of and can be installed from large software distributions like python (with pip/easyinstall), perl (with cpan), ruby (with bundler/gems), AppImage, ...
-
Because of the vast amount of such packages that are not all included in the standard Ubuntu repositories, conflicts are not unlikely.
-
If the package/library/module that you want/need is not available as a standard Ubuntu package, we therefore do not want to install such non-Ubuntu-packages system-wide despite the fact that they all have some sort of support to do so.
- installing these packages system-wide is probably primarily targeted to single-user/personal machines
-
You have to install this kind of additional packages yourself in your own home directory or in a shared/group-writable directory.
-
Some of these software distributions have support for installing them in your home directory natively ... for python/pip/easyinstall we provide virtualenv where needed.
-
Also interesting is the AppImage way of distributing, installing and using software: If you find an AppImage package of the software you need, just download the (single file) package, make it executable with chmod +x and then run it with ./package.AppImage.
And finally, if all of the above does not meet your needs, we also have support for using containers in which you can install the software you need in the virtual/containerised container-root file system.

