How to Uninstall or Install tmate-ssh-server Ubuntu 22.04

Updated: September 8, 2022

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 running tmate-ssh-server; teammates need to be given a randomly-generated token to be able to join a session. I will show you how to install tmate-ssh-server on Ubuntu 22.04 in this tutorial.

Software Requirement

  • Operating system: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Ascertain that you are able to execute sudo commands.

Prerequisites to install tmate-ssh-server on Ubuntu 22.04

Install tmate-ssh-server Ubuntu 22.04

tmate-ssh-server is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one that you think is easy and you can follow.

Install tmate-ssh-server using APT

This is a popular method for installing any Ubuntu packages because it is simple to understand, even if you are a Linux beginner. Following these instructions to get tmate-ssh-server on your Ubuntu 22.04.

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt update

Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install tmate-ssh-server Ubuntu by executing this command in the terminal.

sudo apt install tmate-ssh-server

Install tmate-ssh-server using Aptitude

Users can manage their installation, upgrade, and removal of packages with Aptitude and view a list of the packages that are currently available. If you haven’t already installed it on Ubuntu, run this command to do so.

sudo apt -y install aptitude

Then, you can now install tmate-ssh-server, just following these steps:

Step 1: Obtain new packages from Ubuntu by updating the APT database. Opening the terminal and executing the following Linux command:

sudo apt update

Step 2: Install the package on Ubuntu 22.04. After updating, you can install tmate-ssh-server Ubuntu by pasting this command into the terminal and executing it.

sudo aptitude install tmate-ssh-server

Uninstall tmate-ssh-server on Ubuntu 22.04

Have you ever considered how difficult it is to uninstall an application from Ubuntu? You are mistaken; anyone, not just package administrators, can easily uninstall any program.

You can uninstall tmate-ssh-server on Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove tmate-ssh-server

If you want to uninstall tmate-ssh-server and remove its data and dependencies, you can also run the following command:

sudo apt autoremove --purge tmate-ssh-server


In this guide, I showed you ways to install tmate-ssh-server on Ubuntu 22.04 and some ways to uninstall tmate-ssh-server too. Please do not hesitate to contact me if you require any assistance. I’m delighted to respond to them.