How To Install python-pyavm on Debian 9

In this tutorial we learn how to install python-pyavm on Debian 9. python-pyavm is Python module to handle Astronomy Visualization Metadata Standard

Introduction

In this tutorial we learn how to install python-pyavm on Debian 9.

What is python-pyavm

python-pyavm is:

PyAVM is a module to represent, read, and write metadata following the Astronomy Visualization Metadata (AVM) standard. With pyavm you can: -Parse AVM meta-data from an existing image. -Access and Set the metadata. -Create an AVM object from scratch. -Convert to a WCS object. -Initialize from a FITS header. -Initialize from a WCS object.

There are three methods to install python-pyavm on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install python-pyavm Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install python-pyavm

Install python-pyavm Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-pyavm

Install python-pyavm 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install python-pyavm using aptitude by running the following command:

sudo aptitude -y install python-pyavm

How To Uninstall python-pyavm on Debian 9

To uninstall only the python-pyavm package we can use the following command:

sudo apt-get remove python-pyavm

Uninstall python-pyavm And Its Dependencies

To uninstall python-pyavm and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove python-pyavm

Remove python-pyavm Configurations and Data

To remove python-pyavm configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge python-pyavm

Remove python-pyavm configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-pyavm

Dependencies

python-pyavm have the following dependencies:

References

Summary

In this tutorial we learn how to install python-pyavm package on Debian 9 using different package management tools: apt, apt-get and aptitude.