How To Install libasmjit-dev on Debian 12

Learn how to install libasmjit-dev on Debian 12 with this tutorial. libasmjit-dev is Complete x86/x64 JIT and AOT Assembler for C++ (development files)

Introduction

In this tutorial we learn how to install libasmjit-dev on Debian 12.

What is libasmjit-dev

libasmjit-dev is:

AsmJit is a complete JIT and AOT assembler for C++ language. It can generate native code for x86 and x64 architectures and supports the whole x86/x64 instruction set - from legacy MMX to the newest AVX512. It has a type-safe API that allows C++ compiler to do semantic checks at compile-time even before the assembled code is generated and/or executed.

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

Install libasmjit-dev Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libasmjit-dev

Install libasmjit-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libasmjit-dev

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

sudo aptitude -y install libasmjit-dev

How To Uninstall libasmjit-dev on Debian 12

To uninstall only the libasmjit-dev package we can use the following command:

sudo apt-get remove libasmjit-dev

Uninstall libasmjit-dev And Its Dependencies

To uninstall libasmjit-dev and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libasmjit-dev

Remove libasmjit-dev Configurations and Data

To remove libasmjit-dev configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libasmjit-dev

Remove libasmjit-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libasmjit-dev

Dependencies

libasmjit-dev have the following dependencies:

References

Summary

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