How To Install treeline on Ubuntu 18.04

In this tutorial we learn how to install treeline on Ubuntu 18.04. treeline is versatile tree-like structured custom data manager

Introduction

In this tutorial we learn how to install treeline on Ubuntu 18.04.

What is treeline

treeline is:

TreeLine is a versatile tool for working with all kind of information that fits into a tree-like structure.

It can be used to edit bookmark files, create mini-databases (e.g., for addresses, tasks, records, CDs, etc.), outline documents, or just collect ideas. It can also be used as a generic editor for XML files.

The data schemas for any node in the data tree can be customized and new types of nodes can be defined. The way data is presented on the screen, exported to HTML, or printed can be defined with HTML-like templates. Plug-ins can be written to load and save data from and to custom file formats or external data sources and extend the functionality of TreeLine.

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

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

sudo apt-get update

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

sudo apt-get -y install treeline

Install treeline Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install treeline

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

sudo aptitude -y install treeline

How To Uninstall treeline on Ubuntu 18.04

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

sudo apt-get remove treeline

Uninstall treeline And Its Dependencies

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

sudo apt-get -y autoremove treeline

Remove treeline Configurations and Data

To remove treeline configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge treeline

Remove treeline configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge treeline

References

Summary

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