How To Install faucc on Ubuntu 20.04

In this tutorial we learn how to install faucc on Ubuntu 20.04. faucc is C compiler generating Intel code for 16bit/32bit CPUs

Introduction

In this tutorial we learn how to install faucc on Ubuntu 20.04.

What is faucc

faucc is:

FAUcc is a optimizing C compiler, that can generate Intel code for 16bit/32bit CPUS. It is useful, if you are in need to compile real mode code, like a BIOS.

FAUcc uses the GNU binutils for assembling/linking.

There are three methods to install faucc on Ubuntu 20.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 faucc Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install faucc

Install faucc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install faucc

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

sudo aptitude -y install faucc

How To Uninstall faucc on Ubuntu 20.04

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

sudo apt-get remove faucc

Uninstall faucc And Its Dependencies

To uninstall faucc and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove faucc

Remove faucc Configurations and Data

To remove faucc configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge faucc

Remove faucc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge faucc

References

Summary

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