How To Install apt-transport-spacewalk on Debian 9
Introduction
In this tutorial we learn how to install apt-transport-spacewalk on Debian 9.
What is apt-transport-spacewalk
apt-transport-spacewalk is:
makes it possible to use ‘deb spacewalk://your-spacewalk-server/XMLRPC channels: channel1 channel2’ type lines in your sources.list. Also it provides the necessary hooks to update your sources.list automatically according to the settings on your Spacewalk server.
There are three methods to install apt-transport-spacewalk on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install apt-transport-spacewalk Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install apt-transport-spacewalk using apt-get by running the following command:
sudo apt-get -y install apt-transport-spacewalk
Install apt-transport-spacewalk Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install apt-transport-spacewalk using apt by running the following command:
sudo apt -y install apt-transport-spacewalk
Install apt-transport-spacewalk 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 Debian. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install apt-transport-spacewalk using aptitude by running the following command:
sudo aptitude -y install apt-transport-spacewalk
How To Uninstall apt-transport-spacewalk on Debian 9
To uninstall only the apt-transport-spacewalk package we can use the following command:
sudo apt-get remove apt-transport-spacewalk
Uninstall apt-transport-spacewalk And Its Dependencies
To uninstall apt-transport-spacewalk and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove apt-transport-spacewalk
Remove apt-transport-spacewalk Configurations and Data
To remove apt-transport-spacewalk configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge apt-transport-spacewalk
Remove apt-transport-spacewalk configuration, data, and all of its dependencies
We can use the following command to remove apt-transport-spacewalk configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge apt-transport-spacewalk
Dependencies
apt-transport-spacewalk have the following dependencies:
References
Summary
In this tutorial we learn how to install apt-transport-spacewalk package on Debian 9 using different package management tools: apt, apt-get and aptitude.