How To Install cupt on Kali Linux
Introduction
In this tutorial we learn how to install cupt
on Kali Linux.
What is cupt
cupt is:
This package provides a console interface to Cupt library, which implements high-level package manager for Debian and derivatives. Cupt is written with flexibility and reliability in mind and uses dpkg as the back-end.
Cupt uses the same APT infrastructure, e.g. index files, deb cache archive files, configuration files. It understands some of widely used APT options.
Some features:
- strict full-case resolver;
- resolver reasons tracking;
- command-line and ‘cupt::*’ option name checker;
- case-sensitive search;
- pinning by source package name;
- pinning by package groups using shell-like patterns;
- configurable ‘depends’ and ‘rdepends’ subcommands;
- ‘satisfy’ subcommand;
- support of LZMA-compressed indexes;
- source versions synchronization;
- ‘shell’ subcommand (to get command history, search etc. working, install the package ’libreadline7’);
- integration with debdelta (to get it, install the package ‘debdelta’);
- system snapshots (needs packages ‘dpkg-dev’ and ‘dpkg-repack’).
Its interface is mostly like apt-get/aptitude console interface.
Cupt has built-in support for APT repositories using the file:// or copy:// URL schemas. For access to remote repositories using HTTP or FTP, install a download method such as libcupt4-2-downloadmethod-curl.
There are three methods to install cupt
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 cupt Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install cupt
using apt-get
by running the following command:
sudo apt-get -y install cupt
Install cupt Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install cupt
using apt
by running the following command:
sudo apt -y install cupt
Install cupt 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 update
After updating apt database, We can install cupt
using aptitude
by running the following command:
sudo aptitude -y install cupt
How To Uninstall cupt on Kali Linux
To uninstall only the cupt
package we can use the following command:
sudo apt-get remove cupt
Uninstall cupt And Its Dependencies
To uninstall cupt
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove cupt
Remove cupt Configurations and Data
To remove cupt
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge cupt
Remove cupt configuration, data, and all of its dependencies
We can use the following command to remove cupt
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge cupt
Dependencies
cupt have the following dependencies:
References
Summary
In this tutorial we learn how to install cupt
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.