How To Install nopaste on CentOS 7
Introduction
In this tutorial we learn how to install nopaste
on CentOS 7.
What is nopaste
This application lets you post text to pastebins from the command line. Pastebins (also known as nopaste sites) let you post text, usually code, 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 (hence the name nopaste).
We can use yum
or dnf
to install nopaste
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install nopaste.
Install nopaste on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install nopaste
using yum
by running the following command:
Install nopaste on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install nopaste
using dnf
by running the following command:
How To Uninstall nopaste on CentOS 7
To uninstall only the nopaste
package we can use the following command:
References
Summary
In this tutorial we learn how to install nopaste
on CentOS 7 using yum
and dnf
.