batcat command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
batcat: command not found
or when using sudo you get the following error message
sudo: batcat: command not found
Solutions to batcat: command not found
How To Fix batcat: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu batcat is provided by bat package.
bat is:
bat is a drop-in cat(1) replacement featuring:
- syntax highlighting for a large number of languages;
- git integration;
- automatic paging;
- a user-friendly command-line interface.
In this package the executable and its manpage have been renamed from ‘bat’ to ‘batcat’ because of a file name clash with another Debian package.
To fix this problem, we can install more using the command below.
sudo apt-get -y install bat
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install bat.
sudo apt -y install bat
Or if you have aptitude installed you can use the following command.
sudo aptitude install bat
Summary
In this tutorial we learn how to fix batcat command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.