How To Install tmate on Debian 9
Introduction
In this tutorial we learn how to install tmate
on Debian 9.
What is tmate
tmate is:
tmate provides an instant pairing solution, allowing you to share a terminal with one or several teammates. Together with a voice call, it’s almost like pairing in person. The terminal sharing works by using SSH connections to backend servers maintained by tmate upstream developers; teammates need to be given a randomly-generated token to be able to join a session.
tmate is a modified version of tmux, and uses the same configurations such as keybindings, color schemes etc.
There are three methods to install tmate
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 tmate Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install tmate
using apt-get
by running the following command:
sudo apt-get -y install tmate
Install tmate Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install tmate
using apt
by running the following command:
sudo apt -y install tmate
Install tmate 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 tmate
using aptitude
by running the following command:
sudo aptitude -y install tmate
How To Uninstall tmate on Debian 9
To uninstall only the tmate
package we can use the following command:
sudo apt-get remove tmate
Uninstall tmate And Its Dependencies
To uninstall tmate
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove tmate
Remove tmate Configurations and Data
To remove tmate
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge tmate
Remove tmate configuration, data, and all of its dependencies
We can use the following command to remove tmate
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge tmate
Dependencies
tmate have the following dependencies:
References
Summary
In this tutorial we learn how to install tmate
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.