Introduction
In this tutorial we learn how to install asdftool
on Ubuntu 20.04.
What is asdftool
asdftool is:
ASDF (Advanced Scientific Data Format) is a proposed
next generation interchange format for scientific data. ASDF aims to
exist in the same middle ground that made FITS so successful, by
being a hybrid text and binary format: containing human editable
metadata for interchange, and raw binary data that is fast to load
and use. Unlike FITS, the metadata is highly structured and is
designed up-front for extensibility.
This package contains the asdf command line tool.
There are three methods to install asdftool
on Ubuntu 20.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 asdftool Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install asdftool
using apt-get
by running the following command:
sudo apt-get -y install asdftool
Install asdftool Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install asdftool
using apt
by running the following command:
sudo apt -y install asdftool
Install asdftool 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 asdftool
using aptitude
by running the following command:
sudo aptitude -y install asdftool
How To Uninstall asdftool on Ubuntu 20.04
To uninstall only the asdftool
package we can use the following command:
sudo apt-get remove asdftool
Uninstall asdftool And Its Dependencies
To uninstall asdftool
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove asdftool
Remove asdftool Configurations and Data
To remove asdftool
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge asdftool
Remove asdftool configuration, data, and all of its dependencies
We can use the following command to remove asdftool
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge asdftool
References
Summary
In this tutorial we learn how to install asdftool
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.