reptyr command not found

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

Introduction

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

reptyr: command not found

or when using sudo you get the following error message

sudo: reptyr: command not found

Solutions to reptyr: command not found

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

In Ubuntu reptyr is provided by reptyr package.

reptyr is:

reptyr is a utility for taking an existing running program and attaching it to a new terminal, and is particularly useful for moving a long-running process into a GNU screen session.

reptyr does a more thorough job of transferring programs than many other tools, including the popular “screenify” shell script, because it changes the program’s controlling terminal. This means that actions such as window resizes and interrupts are sent to the process from the new terminal.

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

sudo apt-get -y install reptyr

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

You can also use apt command to install reptyr.

sudo apt -y install reptyr

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

sudo aptitude install reptyr

Summary

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