How To Install tktreectrl on Debian 10
Introduction
In this tutorial we learn how to install tktreectrl
on Debian 10.
What is tktreectrl
tktreectrl is:
TkTreeCtrl is a multi-column hierarchical listbox widget for the Tk GUI toolkit. It can display items that have a parent-child relationship with other itemsin a one- or two-dimensional arrangement. Items do also have a set of states, which are boolean properties.
Items may be spread about one or more columns. For each column of an item there is a style associated, which determines how to display the item’s column taking into account the item’s current state set. One column can be defined to display the data in a hierarchical structure.
There are three methods to install tktreectrl
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 tktreectrl Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install tktreectrl
using apt-get
by running the following command:
sudo apt-get -y install tktreectrl
Install tktreectrl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install tktreectrl
using apt
by running the following command:
sudo apt -y install tktreectrl
Install tktreectrl 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 tktreectrl
using aptitude
by running the following command:
sudo aptitude -y install tktreectrl
How To Uninstall tktreectrl on Debian 10
To uninstall only the tktreectrl
package we can use the following command:
sudo apt-get remove tktreectrl
Uninstall tktreectrl And Its Dependencies
To uninstall tktreectrl
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove tktreectrl
Remove tktreectrl Configurations and Data
To remove tktreectrl
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge tktreectrl
Remove tktreectrl configuration, data, and all of its dependencies
We can use the following command to remove tktreectrl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge tktreectrl
Dependencies
tktreectrl have the following dependencies:
References
Summary
In this tutorial we learn how to install tktreectrl
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.