How To Install fweb on Kali Linux

In this tutorial we learn how to install fweb on Kali Linux. fweb is literate-programming tool for C/C++/Fortran/Ratfor

Introduction

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

What is fweb

fweb is:

Literate-programming allows the programmer to write a program’s code and its code’s documentation, with equal importance accorded to both. This helps producing a well-documented code.

FWEB has grown out of Knuth and Levy’s CWEB; it is far more configurable and customizable than the original, uses LaTeX to typeset documented code, provides a very powerful macro processor…

Ratfor programmers may appreciate the builtin Ratfor-to-Fortran translator if they don’t have the right compiler.

Other languages than those cited may be used, but without code pretty-printing.

There are three methods to install fweb 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 fweb Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install fweb

Install fweb Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install fweb

Install fweb Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux 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 fweb using aptitude by running the following command:

sudo aptitude -y install fweb

How To Uninstall fweb on Kali Linux

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

sudo apt-get remove fweb

Uninstall fweb And Its Dependencies

To uninstall fweb and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove fweb

Remove fweb Configurations and Data

To remove fweb configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge fweb

Remove fweb configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge fweb

Dependencies

fweb have the following dependencies:

References

Summary

In this tutorial we learn how to install fweb package on Kali Linux using different package management tools: apt, apt-get and aptitude.