Please note that all the SIEpedia's articles address specific issues or questions raised by IAC users, so they do not attempt to be rigorous or exhaustive, and may or may not be useful or applicable in different or more general contexts.
This page provides simple scripts to install astronomical software packages in your own laptop, all by yourself. By running these scripts you basically get an exact copy of the software package as installed in our desktop PCs. The scripts are tested on a 64-bit Ubuntu 18.04 platform, but they may also work on other Linux distributions.
Just download the .run file corresponding to the package you need, and launch the installation procedure with sudo sh <filename>.run
. If you get an error message telling that there is not enough space in the "/tmp" directory, try the following: 1) create a temporary directory in /var/tmp: mkdir /var/tmp/MS
, 2) use the command: sudo sh <filename>.run --target /var/tmp/MS
. Once the installation is completed, you can delete the whole content of /var/tmp/MS
Note that you may need to change a couple of environment variables, PATH and LD_LIBRARY_PATH, to be able to use these packages. See instructions at the end of this page.
Finally, make sure that all the required dependencies are installed.
Further software packages will be added according to local demand.
To download the scripts, place the cursor on the link, then right-click and select "Save linked content as" or the equivalent option for your browser. Alternatively, copy the link address and use wget
from the command line to retrieve it.
sudo sh iraf-2.16.1_Ubu1804.run
Many popular packages are not included in the above list because they already have simple installation procedures provided on their websites.
/usr/local/bin/
(or other suitable directory in your path).
apt install python3-matplotlib python3-numpy python3-pip
), others can be installed using pip
.
Other packages are licensed and cannot be freely distributed.
If you are at the IAC and wish to install IDL, please see the instructions in http://venus/SIE/wiki/pmwiki.php?n=SIEInvEns.InstalacionesPortatiles (both for Linux and macOS).
For Supermongo, ask us.
If you wish to install the Intel compilers in your Linux laptop, download and install the Intel oneAPI suite. You must install first the "oneAPI Base Toolkit", and, depending on your needs, you can also add the "oneAPI HPC Toolkit". Installation instructions are available at https://software.intel.com/content/www/us/en/develop/articles/installation-guide-for-intel-oneapi-toolkits.html
Some of the above packages require that directory /usr/local/lib be in LD_LIBRARY_PATH. (Check with printenv LD_LIBRARY_PATH
.) If it's not, or if LD_LIBRARY_PATH is undefined, you can add the following lines of code (valid for a bash shell) in your own .bash_profile file:
if [ -z "$LD_LIBRARY_PATH" ]; then export LD_LIBRARY_PATH="/usr/local/lib" else export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/lib" fi
Likewise, /usr/local/bin/ must be in your PATH. (Check with printenv PATH
.) If not, you can add the following lines in your .bash_profile file:
if [ -z "$PATH" ]; then export PATH="/usr/local/bin" else export PATH="/usr/local/bin:${PATH}" fi