How To Install pentium-builder on Kali Linux
Introduction
In this tutorial we learn how to install pentium-builder on Kali Linux.
What is pentium-builder
pentium-builder is:
Replaces gcc, cc, and g++ with scripts that build pentium optimized code. (Other processors can be optimized for as well.)
By default, after installing this package, the compilers will behave normally. However, if the environment variable DEBIAN_BUILDARCH=pentium is set, they will enter pentium optimized compile mode.
There are three methods to install pentium-builder 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 pentium-builder Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install pentium-builder using apt-get by running the following command:
sudo apt-get -y install pentium-builderInstall pentium-builder Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install pentium-builder using apt by running the following command:
sudo apt -y install pentium-builderInstall pentium-builder 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 updateAfter updating apt database, We can install pentium-builder using aptitude by running the following command:
sudo aptitude -y install pentium-builderHow To Uninstall pentium-builder on Kali Linux
To uninstall only the pentium-builder package we can use the following command:
sudo apt-get remove pentium-builderUninstall pentium-builder And Its Dependencies
To uninstall pentium-builder and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove pentium-builderRemove pentium-builder Configurations and Data
To remove pentium-builder configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge pentium-builderRemove pentium-builder configuration, data, and all of its dependencies
We can use the following command to remove pentium-builder configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge pentium-builderDependencies
pentium-builder have the following dependencies:
References
Summary
In this tutorial we learn how to install pentium-builder package on Kali Linux using different package management tools: apt, apt-get and aptitude.