How To Install pastebinit on Fedora 34

pastebinit is Send anything you want directly to a pastebin from the command line

Introduction

In this tutorial we learn how to install pastebinit on Fedora 34.

What is pastebinit

A software that lets you send anything you want directly to a pastebin from the command line. This software lets you send a file or simply the result of a command directly to the pastebin you want (if it’s supported) and gives you the URL in return.

We can use yum or dnf to install pastebinit on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install pastebinit.

Install pastebinit on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install pastebinit using dnf by running the following command:

sudo dnf -y install pastebinit

Install pastebinit on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install pastebinit using yum by running the following command:

sudo yum -y install pastebinit

How To Uninstall pastebinit on Fedora 34

To uninstall only the pastebinit package we can use the following command:

sudo dnf remove pastebinit

pastebinit Package Contents on Fedora 34

/etc/pastebinit
/usr/bin/pastebinit
/usr/share/doc/pastebinit
/usr/share/doc/pastebinit/COPYING
/usr/share/doc/pastebinit/README
/usr/share/locale/af/LC_MESSAGES/pastebinit.mo
/usr/share/locale/ast/LC_MESSAGES/pastebinit.mo
/usr/share/locale/bs/LC_MESSAGES/pastebinit.mo
/usr/share/locale/ca/LC_MESSAGES/pastebinit.mo
/usr/share/locale/ca@valencia/LC_MESSAGES/pastebinit.mo
/usr/share/locale/ce/LC_MESSAGES/pastebinit.mo
/usr/share/locale/cs/LC_MESSAGES/pastebinit.mo
/usr/share/locale/cy/LC_MESSAGES/pastebinit.mo
/usr/share/locale/de/LC_MESSAGES/pastebinit.mo
/usr/share/locale/el/LC_MESSAGES/pastebinit.mo
/usr/share/locale/en_AU/LC_MESSAGES/pastebinit.mo
/usr/share/locale/en_GB/LC_MESSAGES/pastebinit.mo
/usr/share/locale/eo/LC_MESSAGES/pastebinit.mo
/usr/share/locale/es/LC_MESSAGES/pastebinit.mo
/usr/share/locale/et/LC_MESSAGES/pastebinit.mo
/usr/share/locale/fi/LC_MESSAGES/pastebinit.mo
/usr/share/locale/fr/LC_MESSAGES/pastebinit.mo
/usr/share/locale/gl/LC_MESSAGES/pastebinit.mo
/usr/share/locale/he/LC_MESSAGES/pastebinit.mo
/usr/share/locale/hr/LC_MESSAGES/pastebinit.mo
/usr/share/locale/id/LC_MESSAGES/pastebinit.mo
/usr/share/locale/it/LC_MESSAGES/pastebinit.mo
/usr/share/locale/ja/LC_MESSAGES/pastebinit.mo
/usr/share/locale/km/LC_MESSAGES/pastebinit.mo
/usr/share/locale/kn/LC_MESSAGES/pastebinit.mo
/usr/share/locale/lv/LC_MESSAGES/pastebinit.mo
/usr/share/locale/ml/LC_MESSAGES/pastebinit.mo
/usr/share/locale/ms/LC_MESSAGES/pastebinit.mo
/usr/share/locale/my/LC_MESSAGES/pastebinit.mo
/usr/share/locale/nb/LC_MESSAGES/pastebinit.mo
/usr/share/locale/nl/LC_MESSAGES/pastebinit.mo
/usr/share/locale/oc/LC_MESSAGES/pastebinit.mo
/usr/share/locale/pa/LC_MESSAGES/pastebinit.mo
/usr/share/locale/pl/LC_MESSAGES/pastebinit.mo
/usr/share/locale/pt/LC_MESSAGES/pastebinit.mo
/usr/share/locale/pt_BR/LC_MESSAGES/pastebinit.mo
/usr/share/locale/ro/LC_MESSAGES/pastebinit.mo
/usr/share/locale/ru/LC_MESSAGES/pastebinit.mo
/usr/share/locale/sk/LC_MESSAGES/pastebinit.mo
/usr/share/locale/sl/LC_MESSAGES/pastebinit.mo
/usr/share/locale/sq/LC_MESSAGES/pastebinit.mo
/usr/share/locale/sv/LC_MESSAGES/pastebinit.mo
/usr/share/locale/tr/LC_MESSAGES/pastebinit.mo
/usr/share/locale/ug/LC_MESSAGES/pastebinit.mo
/usr/share/locale/uk/LC_MESSAGES/pastebinit.mo
/usr/share/locale/zh_CN/LC_MESSAGES/pastebinit.mo
/usr/share/locale/zh_TW/LC_MESSAGES/pastebinit.mo
/usr/share/man/man1/pastebinit.1.gz
/usr/share/pastebinit
/usr/share/pastebinit/cxg.de.conf
/usr/share/pastebinit/dpaste.com.conf
/usr/share/pastebinit/fpaste.org.conf
/usr/share/pastebinit/lpaste.net.conf
/usr/share/pastebinit/p.defau.lt.conf
/usr/share/pastebinit/paste.debian.net.conf
/usr/share/pastebinit/paste.openstack.org.conf
/usr/share/pastebinit/paste.pound-python.org.conf
/usr/share/pastebinit/paste.ubuntu.com.conf
/usr/share/pastebinit/paste.ubuntu.org.cn.conf
/usr/share/pastebinit/paste2.org.conf
/usr/share/pastebinit/pastebin.com.conf
/usr/share/pastebinit/slexy.org.conf
/usr/share/pastebinit/sprunge.us.conf

References

Summary

In this tutorial we learn how to install pastebinit on Fedora 34 using yum and dnf.