How To Install intel2gas on Debian 11

In this tutorial we learn how to install intel2gas on Debian 11. intel2gas is converter from NASM assembly language to GAS

Introduction

In this tutorial we learn how to install intel2gas on Debian 11.

What is intel2gas

intel2gas is:

Intel2GAS is a converter that will convert assembler source files written for NASM to files that can be assembled using the GNU Assembler (GAS), on the i386 platform. It provides support for basic MMX instructions as well.

There are three methods to install intel2gas on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install intel2gas Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install intel2gas using apt-get by running the following command:

sudo apt-get -y install intel2gas

Install intel2gas Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install intel2gas using apt by running the following command:

sudo apt -y install intel2gas

Install intel2gas 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 intel2gas using aptitude by running the following command:

sudo aptitude -y install intel2gas

How To Uninstall intel2gas on Debian 11

To uninstall only the intel2gas package we can use the following command:

sudo apt-get remove intel2gas

Uninstall intel2gas And Its Dependencies

To uninstall intel2gas and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove intel2gas

Remove intel2gas Configurations and Data

To remove intel2gas configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge intel2gas

Remove intel2gas configuration, data, and all of its dependencies

We can use the following command to remove intel2gas configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge intel2gas

Dependencies

intel2gas have the following dependencies:

References

Summary

In this tutorial we learn how to install intel2gas package on Debian 11 using different package management tools: apt, apt-get and aptitude.