How To Install libfcml-dev on Ubuntu 18.04

In this tutorial we learn how to install libfcml-dev on Ubuntu 18.04. libfcml-dev is machine code manipulation library - development files

Introduction

In this tutorial we learn how to install libfcml-dev on Ubuntu 18.04.

What is libfcml-dev

libfcml-dev is:

FCML, the Free Code Manipulation Library, is a general-purpose machine code manipulation library for i386 and amd64 architectures. It includes an assembler and disassembler, instruction renderers and parsers, and supports Intel and AT&T (gas) syntax.

It supports most recent instruction set extensions, including MMX, 3D-Now!, SSE including 4.2 and 4A, AVX and AVX2, AES-NI, TBM, BMI1 and BMI2, HLE, ADX, CLMUL, RDRAND, RDSEED, FMA, FMA4, LWP, SVM, XOP, VMX and SMX.

This package contains the header files and library stubs required to develop with FCML.

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

Install libfcml-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 libfcml-dev using apt-get by running the following command:

sudo apt-get -y install libfcml-dev

Install libfcml-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libfcml-dev

Install libfcml-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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libfcml-dev

How To Uninstall libfcml-dev on Ubuntu 18.04

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

sudo apt-get remove libfcml-dev

Uninstall libfcml-dev And Its Dependencies

To uninstall libfcml-dev and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libfcml-dev

Remove libfcml-dev Configurations and Data

To remove libfcml-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libfcml-dev

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

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

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

References

Summary

In this tutorial we learn how to install libfcml-dev package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.