How To Install archdetect-deb on Ubuntu 18.04
Introduction
In this tutorial we learn how to install archdetect-deb
on Ubuntu 18.04.
What is archdetect-deb
archdetect-deb is:
This package provides the ‘archdetect’ tool, which displays the current machine architecture and subarchitecture. The architecture corresponds to that built into dpkg, and describes the CPU (and possibly kernel) types; the subarchitecture distinguishes machines with different boot arrangements that require special handling.
This package would be called ‘archdetect’, but a udeb of that name already existed for use in the installer.
There are three methods to install archdetect-deb
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 archdetect-deb Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install archdetect-deb
using apt-get
by running the following command:
sudo apt-get -y install archdetect-deb
Install archdetect-deb Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install archdetect-deb
using apt
by running the following command:
sudo apt -y install archdetect-deb
Install archdetect-deb 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 archdetect-deb
using aptitude
by running the following command:
sudo aptitude -y install archdetect-deb
How To Uninstall archdetect-deb on Ubuntu 18.04
To uninstall only the archdetect-deb
package we can use the following command:
sudo apt-get remove archdetect-deb
Uninstall archdetect-deb And Its Dependencies
To uninstall archdetect-deb
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove archdetect-deb
Remove archdetect-deb Configurations and Data
To remove archdetect-deb
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge archdetect-deb
Remove archdetect-deb configuration, data, and all of its dependencies
We can use the following command to remove archdetect-deb
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge archdetect-deb
References
Summary
In this tutorial we learn how to install archdetect-deb
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.