How To Install fte-console on Ubuntu 18.04

In this tutorial we learn how to install fte-console on Ubuntu 18.04. fte-console is Text editor for programmers - console edition, no I18N support

Introduction

In this tutorial we learn how to install fte-console on Ubuntu 18.04.

What is fte-console

fte-console 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 is the Linux console edition, without internationalization support.

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

sudo apt-get -y install fte-console

Install fte-console Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install fte-console

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

sudo aptitude -y install fte-console

How To Uninstall fte-console on Ubuntu 18.04

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

sudo apt-get remove fte-console

Uninstall fte-console And Its Dependencies

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

sudo apt-get -y autoremove fte-console

Remove fte-console Configurations and Data

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

sudo apt-get -y purge fte-console

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

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

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

References

Summary

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