How To Install tea on Debian 10

Learn how to install tea on Debian 10 with this tutorial. tea is graphical text editor with syntax highlighting

Introduction

In this tutorial we learn how to install tea on Debian 10.

What is tea

tea is:

TEA provides you with hundreds of functions. Want some tea?

TEA features:

  • Qt-based GUI with a tabbed layout engine;
  • hotkey customization;
  • spell checking (using aspell or hunspell);
  • support for multiple encodings;
  • syntax highlighting;
  • support for code snippets and templates;
  • string-handling functions such as sorting, reversing, de-formatting, trimming, filtering, conversions etc.;
  • editing support for Wikipedia, DocBook, LaTeX, and Lout;
  • reading support for text-based word processor formats (ABW, DOCX, FB2, KWD, ODT, RTF, SLA, SWX);
  • reading support for PDF and DjVu files, if they contain text;
  • bookmarks;
  • miscellaneous XML/XHTML/HTML tools;
  • “open at cursor” function from HTML href or img tags;
  • preview in external browsers;
  • drag’n’drop support (with text files and pictures);
  • built-in image viewer (BMP, GIF, JPEG, PNG, SVG, WBMP).

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

Install tea Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install tea

Install tea Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install tea

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

sudo aptitude -y install tea

How To Uninstall tea on Debian 10

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

sudo apt-get remove tea

Uninstall tea And Its Dependencies

To uninstall tea and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove tea

Remove tea Configurations and Data

To remove tea configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge tea

Remove tea configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge tea

Dependencies

tea have the following dependencies:

References

Summary

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