$ lsb_release -aThe output is for example:
Distributor ID: Ubuntu Description: Ubuntu 22.04.3 LTS Release: 22.04 Codename: jammy
curl
to
download a recent, but not the latest version of Anaconda.
sudo apt-get install curlWith curl, we download the Anaconda distribution:
curl -O https://repo.anaconda.com/archive/Anaconda3-2023.03-1-Linux-x86_64.shThen install it with:
bash Anaconda3-2023.03-1-Linux-x86_64.shI gave it the install directory
/home/myusername/anaconda3
..bashrc
you append, for instance with editor nano
,
the line:
export PATH="/home/myusername/anaconda3/bin/:$PATH"If you type on the command line
which python
, you should see the
right path to the interpreter.pip install "cython<3"Note that with a newer version of Anaconda (with Python 3.11) we could not find a Cython version able to compile the GIPSY Python binding. Cython is frequently updated so this situation may change.
dpkg -s gfortranInstall missing packages from the list below:
sudo apt install gfortran sudo apt install make sudo apt install tcsh sudo apt install libxt-dev sudo apt install libncurses-dev sudo apt install xaw3dg sudo apt install xaw3dg-dev sudo apt install libxaw7-devNow get the GIPSY installer, either via the link on the download and installation page or use this for a direct download:
curl -O https://www.astro.rug.nl/~gipsy/installation2023/download/gipsy_install.pyand install GIPSY with:
python gipsy_install.py
sudo apt-get install apt-file sudo apt-file update sudo apt-file search Xaw3dapt-file is a software package that indexes the contents of packages in your available repositories and allows you to search for a particular file among all available packages. For the requirements, see the next section. Note that you need Python version higher than 3.8
GIPSY is a system that will be build from source so you need a rich set of packages for developers.
The list with missing software tends to frow because newer Linux distributions tend to
include less
material for developers
dpkg -s gccFor a freshly installed system, the following extra packages need to be installed using Ubuntu's package manager:
alias gipsy='tcsh -c gipsy'and put the following alias in your .cshrc:
setenv gip_root /home/gipsy; source $gip_root/sys/gipenv.csh
sudo apt install gfortran sudo apt install tcsh sudo apt install libxt-dev sudo apt install libncurses-dev sudo apt install xaw3dg sudo apt install xaw3dg-dev sudo apt install libxaw7-devInstall the latest Anaconda distribution for Python 2.7. If you need to edit files on the command line and do not want to use vi, then use nano or install MicroEmacs with:
sudo apt install mg
sudo apt install mg