How To Install pygac-bin on Kali Linux
Introduction
In this tutorial we learn how to install pygac-bin on Kali Linux.
What is pygac-bin
pygac-bin is:
pygac reads NOAA AVHRR Global Area Coverage (GAC) data, and performs state of the art calibration and navigation.
It must be noted that pygac expects Level 1b file to contain normal GAC header and data records, the format of which are mentioned in the official NOAA POD and KLM Data User Guides. The user should not prepend any other header (e.g. when downloading GAC data from CLASS archive etc) to the L1b file. In the first pre-processing step, pygac determines whether the GAC data comes from the second (i.e. NOAA-14 and before) or the third generation (NOAA-15 and onwards) AVHRR instrument by “pygac-run”. This is done by reading the first three bytes of the data set. If they contain the any of the following values, [“CMS”, “NSS”, “UKM”, “DSS”], then the KLM reader from “gac_klm.py” file is invoked, otherwise the POD reader is invoked (gac_pod.py).
This package provides utilities and executable scripts.
There are three methods to install pygac-bin on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install pygac-bin Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install pygac-bin using apt-get by running the following command:
sudo apt-get -y install pygac-binInstall pygac-bin Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install pygac-bin using apt by running the following command:
sudo apt -y install pygac-binInstall pygac-bin Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install pygac-bin using aptitude by running the following command:
sudo aptitude -y install pygac-binHow To Uninstall pygac-bin on Kali Linux
To uninstall only the pygac-bin package we can use the following command:
sudo apt-get remove pygac-binUninstall pygac-bin And Its Dependencies
To uninstall pygac-bin and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove pygac-binRemove pygac-bin Configurations and Data
To remove pygac-bin configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge pygac-binRemove pygac-bin configuration, data, and all of its dependencies
We can use the following command to remove pygac-bin configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge pygac-binDependencies
pygac-bin have the following dependencies:
References
Summary
In this tutorial we learn how to install pygac-bin package on Kali Linux using different package management tools: apt, apt-get and aptitude.