How To Install intel2gas on Kali Linux

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

Introduction

In this tutorial we learn how to install intel2gas on Kali Linux.

What is intel2gas

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 ways to install intel2gas 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 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 Kali Linux. 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 Kali Linux

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 Kali Linux, we can use the command below:

sudo apt-get -y autoremove intel2gas

Remove intel2gas Configurations and Data

To remove intel2gas configuration and data from Kali Linux 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

References

Summary

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