How To Install libfcml-doc on Ubuntu 18.04

In this tutorial we learn how to install libfcml-doc on Ubuntu 18.04. libfcml-doc is machine code manipulation library - documentation

Introduction

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

What is libfcml-doc

libfcml-doc 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 documentation.

There are three methods to install libfcml-doc 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-doc 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-doc using apt-get by running the following command:

sudo apt-get -y install libfcml-doc

Install libfcml-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libfcml-doc

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

sudo aptitude -y install libfcml-doc

How To Uninstall libfcml-doc on Ubuntu 18.04

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

sudo apt-get remove libfcml-doc

Uninstall libfcml-doc And Its Dependencies

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

sudo apt-get -y autoremove libfcml-doc

Remove libfcml-doc Configurations and Data

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

sudo apt-get -y purge libfcml-doc

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

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

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

References

Summary

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