lhasa command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
lhasa: command not found
or when using sudo you get the following error message
sudo: lhasa: command not found
Solutions to lhasa: command not found
How To Fix lhasa: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu lhasa is provided by lhasa package.
lhasa is:
Lhasa lha is a tool for parsing LHA (.lzh) archives and a free replacement for the Unix LHA tool.
Currently it is only possible to read from (ie. decompress) archives; generating (compressing) LHA archives may be an enhancement for future versions. The aim is to be compatible with as many different variants of the LHA file format as possible, including LArc (.lzs) and PMarc (.pma).
The command line tool aims to be interface-compatible with the non-free Unix LHA tool (command line syntax and output), for backwards compatibility with tools that expect particular output.
To fix this problem, we can install more using the command below.
sudo apt-get -y install lhasa
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install lhasa.
sudo apt -y install lhasa
Or if you have aptitude installed you can use the following command.
sudo aptitude install lhasa
Summary
In this tutorial we learn how to fix lhasa command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.