How To Install yorick-cubeview on Ubuntu 18.04

In this tutorial we learn how to install yorick-cubeview on Ubuntu 18.04. yorick-cubeview is 3D FITS data viewer specialized in spectro-imaging

Introduction

In this tutorial we learn how to install yorick-cubeview on Ubuntu 18.04.

What is yorick-cubeview

yorick-cubeview is:

Cubeview is a viewer for 3D data store in FITS files, a file format extensively used among astronomers. It is specialized in displaying spectro-imaging data but can be used to do basic visualization on any FITS file containing a 3D array.

Cubeview features a stand-alone graphical user interface which adheres to the GTK+ look-and-feel. Being written in Yorick, it is inherently scriptable. A system of hooks allows custom actions to be repeated automatically when certain events occur.

There are three methods to install yorick-cubeview 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 yorick-cubeview Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install yorick-cubeview using apt-get by running the following command:

sudo apt-get -y install yorick-cubeview

Install yorick-cubeview Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install yorick-cubeview using apt by running the following command:

sudo apt -y install yorick-cubeview

Install yorick-cubeview 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 yorick-cubeview using aptitude by running the following command:

sudo aptitude -y install yorick-cubeview

How To Uninstall yorick-cubeview on Ubuntu 18.04

To uninstall only the yorick-cubeview package we can use the following command:

sudo apt-get remove yorick-cubeview

Uninstall yorick-cubeview And Its Dependencies

To uninstall yorick-cubeview and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove yorick-cubeview

Remove yorick-cubeview Configurations and Data

To remove yorick-cubeview configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge yorick-cubeview

Remove yorick-cubeview configuration, data, and all of its dependencies

We can use the following command to remove yorick-cubeview configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge yorick-cubeview

References

Summary

In this tutorial we learn how to install yorick-cubeview package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.