How To Install arch-test on Debian 9

In this tutorial we learn how to install arch-test on Debian 9. arch-test is detect architectures supported by your machine/kernel

Introduction

In this tutorial we learn how to install arch-test on Debian 9.

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.

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

There are three methods to install arch-test 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 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 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 arch-test using aptitude by running the following command:

sudo aptitude -y install arch-test

How To Uninstall arch-test on Debian 9

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 Debian 9, 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 Debian 9 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 Debian 9 using different package management tools: apt, apt-get and aptitude.