nopaste-it command not found

In this troubleshooting guide we learn how to fix nopaste-it command not found error message

Introduction

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

nopaste-it: command not found

or when using sudo you get the following error message

sudo: nopaste-it: command not found

Solutions to nopaste-it: command not found

How To Fix nopaste-it: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu nopaste-it is provided by pnopaste-cli package.

pnopaste-cli is:

Perl Nopaste is a Pastebin written in Perl using MySQL as backend. It features syntax highlighting for more than 120 languages, badword and IP address blacklists with hit counter, expiration date on postings, raw download of posted files, automatic multilanguage support and more.

This package contains the cli tool to add pastes using the command-line interface on remote servers.

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

sudo apt-get -y install pnopaste-cli

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

You can also use apt command to install pnopaste-cli.

sudo apt -y install pnopaste-cli

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

sudo aptitude install pnopaste-cli

Summary

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