How To Install fte-docs on Debian 9

In this tutorial we learn how to install fte-docs on Debian 9. fte-docs is Documentation and examples for the FTE editor

Introduction

In this tutorial we learn how to install fte-docs on Debian 9.

What is fte-docs

fte-docs is:

FTE is a text editor for programmers. Some of its features are smart indentation for C, C++, Java, Perl; color syntax highlighting for many more languages; multiple file/window editing; column blocks; configurable menus and keyboard bindings; mouse support; undo/redo; regular expression search and replace; folding; background compiler execution.

This package contains HTML documentation and sample configuration files.

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

Install fte-docs Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install fte-docs

Install fte-docs Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install fte-docs

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

sudo aptitude -y install fte-docs

How To Uninstall fte-docs on Debian 9

To uninstall only the fte-docs package we can use the following command:

sudo apt-get remove fte-docs

Uninstall fte-docs And Its Dependencies

To uninstall fte-docs and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove fte-docs

Remove fte-docs Configurations and Data

To remove fte-docs configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge fte-docs

Remove fte-docs configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge fte-docs

Dependencies

fte-docs have the following dependencies:

References

Summary

In this tutorial we learn how to install fte-docs package on Debian 9 using different package management tools: apt, apt-get and aptitude.