How To Install conda-package-handling on Ubuntu 20.04
Introduction
In this tutorial we learn how to install conda-package-handling on Ubuntu 20.04.
What is conda-package-handling
conda-package-handling is:
Cph is an abstraction of conda package handling and a tool for extracting, creating, and converting between formats.
At the time of writing, the standard conda package format is a .tar.bz2 file. That will need to be maintained for quite a long time, thanks to the long tail of people using old conda versions. There is a new conda format, described at https://docs.google.com/document/d/1HGKsbg_j69rKXP- ihhpCb1kNQSE8Iy3yOsUU2x68x8uw/edit?usp=sharing. This new format is designed to have much faster metadata access and utilize more modern compression algorithms, while also facilitating package signing without adding sidecar files.
There are three methods to install conda-package-handling 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 conda-package-handling Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install conda-package-handling using apt-get by running the following command:
sudo apt-get -y install conda-package-handling
Install conda-package-handling Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install conda-package-handling using apt by running the following command:
sudo apt -y install conda-package-handling
Install conda-package-handling 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 conda-package-handling using aptitude by running the following command:
sudo aptitude -y install conda-package-handling
How To Uninstall conda-package-handling on Ubuntu 20.04
To uninstall only the conda-package-handling package we can use the following command:
sudo apt-get remove conda-package-handling
Uninstall conda-package-handling And Its Dependencies
To uninstall conda-package-handling and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove conda-package-handling
Remove conda-package-handling Configurations and Data
To remove conda-package-handling configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge conda-package-handling
Remove conda-package-handling configuration, data, and all of its dependencies
We can use the following command to remove conda-package-handling configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge conda-package-handling
References
Summary
In this tutorial we learn how to install conda-package-handling package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.