rz command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
rz: command not found
or when using sudo you get the following error message
sudo: rz: command not found
Solutions to rz: command not found
How To Fix rz: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu rz is provided by lrzsz package.
lrzsz is:
Lrzsz is a cosmetically modified zmodem/ymodem/xmodem package built from the public-domain version of Chuck Forsberg’s rzsz package.
These programs use error correcting protocols ({z,x,y}modem) to send (sz, sx, sb) and receive (rz, rx, rb) files over a dial-in serial port from a variety of programs running under various operating systems.
To fix this problem, we can install more using the command below.
sudo apt-get -y install lrzsz
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install lrzsz.
sudo apt -y install lrzsz
Or if you have aptitude installed you can use the following command.
sudo aptitude install lrzsz
Summary
In this tutorial we learn how to fix rz command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.