nopaste command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
nopaste: command not found
or when using sudo you get the following error message
sudo: nopaste: command not found
Solutions to nopaste: command not found
How To Fix nopaste: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu nopaste is provided by libapp-nopaste-perl package.
libapp-nopaste-perl is:
App::Nopaste is a Perl module and application collection to upload arbitrary text, usually code, to pastebins (also known as nopaste sites) for public viewing. They’re used a lot in IRC channels to show code that would normally be too long to give directly in the channel.
Each pastebin is slightly different; this program attempts to encapsulate the differences between them and provide a unified, redundant interface to upload code. If one site doesn’t work, it simply tries a different one.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libapp-nopaste-perl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libapp-nopaste-perl.
sudo apt -y install libapp-nopaste-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install libapp-nopaste-perl
Summary
In this tutorial we learn how to fix nopaste command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.