tmate command not found

In this troubleshooting guide we learn how to fix tmate command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

tmate: command not found

or when using sudo you get the following error message

sudo: tmate: command not found

Solutions to tmate: command not found

How To Fix tmate: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu tmate is provided by tmate package.

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.

To fix this problem, we can install more using the command below.

sudo apt-get -y install tmate

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install tmate.

sudo apt -y install tmate

Or if you have aptitude installed you can use the following command.

sudo aptitude install tmate

Summary

In this tutorial we learn how to fix tmate command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.