How To Install arch-test on Kali Linux
Introduction
In this tutorial we learn how to install arch-test
on Kali Linux.
What is arch-test
arch-test is:
This package lets you enumerate architectures that your kernel can run. The check is for the ability to run machine code and supporting appropriate syscall ABI – you may need to install userland libraries in a chroot, container or via multiarch to actually execute non-static binaries of such architectures.
Also provided is “elf-arch”, a tool to determine the architecture of an ELF binary (program or library).
Architectures detected by this version of arch-test are:
- amd64, i386, x32
- mips, mipsel, mips64, mips64el
- arm, armel, armhf, arm64, arm64ilp32
- powerpc, ppc64, ppc64el, powerpcspe
- m68k
- sh4
- s390x
- sparc, sparc64
- illumos-amd64
- win32, win64
- kfreebsd-amd64, kfreebsd-i386
- alpha
- hppa
- ia64
- riscv64
There are three methods to install arch-test
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 arch-test Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install arch-test
using apt-get
by running the following command:
sudo apt-get -y install arch-test
Install arch-test Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install arch-test
using apt
by running the following command:
sudo apt -y install arch-test
Install arch-test 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 arch-test
using aptitude
by running the following command:
sudo aptitude -y install arch-test
How To Uninstall arch-test on Kali Linux
To uninstall only the arch-test
package we can use the following command:
sudo apt-get remove arch-test
Uninstall arch-test And Its Dependencies
To uninstall arch-test
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove arch-test
Remove arch-test Configurations and Data
To remove arch-test
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge arch-test
Remove arch-test configuration, data, and all of its dependencies
We can use the following command to remove arch-test
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge arch-test
Dependencies
arch-test have the following dependencies:
References
Summary
In this tutorial we learn how to install arch-test
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.