How To Install libclassad-dev on Ubuntu 18.04
Introduction
In this tutorial we learn how to install libclassad-dev on Ubuntu 18.04.
What is libclassad-dev
libclassad-dev is:
Classified Advertisements (classads) are the lingua franca of HTCondor, used for describing jobs, workstations, and other resources. There is a protocol for evaluating whether two classads match, which is used by the HTCondor central manager to determine the compatibility of jobs, and workstations where they may be run.
This package provides the static library and header files.
There are three methods to install libclassad-dev 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 libclassad-dev Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install libclassad-dev using apt-get by running the following command:
sudo apt-get -y install libclassad-dev
Install libclassad-dev Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libclassad-dev using apt by running the following command:
sudo apt -y install libclassad-dev
Install libclassad-dev 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 libclassad-dev using aptitude by running the following command:
sudo aptitude -y install libclassad-dev
How To Uninstall libclassad-dev on Ubuntu 18.04
To uninstall only the libclassad-dev package we can use the following command:
sudo apt-get remove libclassad-dev
Uninstall libclassad-dev And Its Dependencies
To uninstall libclassad-dev and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove libclassad-dev
Remove libclassad-dev Configurations and Data
To remove libclassad-dev configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge libclassad-dev
Remove libclassad-dev configuration, data, and all of its dependencies
We can use the following command to remove libclassad-dev configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libclassad-dev
References
Summary
In this tutorial we learn how to install libclassad-dev package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.