How To Install iraf-rvsao on Ubuntu 18.04
Introduction
In this tutorial we learn how to install iraf-rvsao
on Ubuntu 18.04.
What is iraf-rvsao
iraf-rvsao is:
This package obtains radial velocities and velocity dispersions using cross-correlation methods or emission line fits. It consists of several SPP tasks:
- XCSAO and PXCSAO: cross-correlate spectra,
- EMSAO and PEMSAO: find emission lines in spectra,
- BCVCORR: solar system barycentric velocity correction,
- SUMSPEC: add and/or modify spectra,
- LINESPEC: synthetic emission line templates,
- EQWIDTH: equivalent widths of lines in spectra,
- WLRANGE: wavelength overlap range for a list of spectra,
- LISTSPEC: list pixel, wavelength, delta wavelength, and/or pixel value for spectrum image,
- PIX2WL: wavelength at a given pixel in a spectrum,
- WL2PIX: pixel at a given wavelength in a spectrum,
- VELSET Artificially change the redshift of (log-wavelength) spectra
There are three methods to install iraf-rvsao
on Ubuntu 18.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install iraf-rvsao Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install iraf-rvsao
using apt-get
by running the following command:
sudo apt-get -y install iraf-rvsao
Install iraf-rvsao Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install iraf-rvsao
using apt
by running the following command:
sudo apt -y install iraf-rvsao
Install iraf-rvsao Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install iraf-rvsao
using aptitude
by running the following command:
sudo aptitude -y install iraf-rvsao
How To Uninstall iraf-rvsao on Ubuntu 18.04
To uninstall only the iraf-rvsao
package we can use the following command:
sudo apt-get remove iraf-rvsao
Uninstall iraf-rvsao And Its Dependencies
To uninstall iraf-rvsao
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove iraf-rvsao
Remove iraf-rvsao Configurations and Data
To remove iraf-rvsao
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge iraf-rvsao
Remove iraf-rvsao configuration, data, and all of its dependencies
We can use the following command to remove iraf-rvsao
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge iraf-rvsao
References
Summary
In this tutorial we learn how to install iraf-rvsao
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.