How To Install moreutils on Rocky Linux 8

In this tutorial we learn how to install moreutils on Rocky Linux 8. moreutils is Additional unix utilities

Introduction

In this tutorial we learn how to install moreutils on Rocky Linux 8.

What is moreutils

This is a growing collection of the unix tools that nobody thought to write thirty years ago. So far, it includes the following utilities - chronic - combine - errno - ifdata - ifne - isutf8 - lckdo - mispipe - parallel - pee - sponge - ts - vidir - vipe - zrun

We can use yum or dnf to install moreutils on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install moreutils.

Install moreutils on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install moreutils

Install moreutils on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install moreutils

How To Uninstall moreutils on Rocky Linux 8

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

sudo dnf remove moreutils

moreutils Package Contents on Rocky Linux 8

/usr/bin/chronic
/usr/bin/combine
/usr/bin/errno
/usr/bin/ifdata
/usr/bin/ifne
/usr/bin/isutf8
/usr/bin/lckdo
/usr/bin/mispipe
/usr/bin/pee
/usr/bin/sponge
/usr/bin/ts
/usr/bin/vidir
/usr/bin/vipe
/usr/bin/zrun
/usr/lib/.build-id
/usr/lib/.build-id/07
/usr/lib/.build-id/07/65f817422198255ccb964effce4a8265e374d3
/usr/lib/.build-id/24
/usr/lib/.build-id/24/c48dcce9f04eb2f09b25d78edd33b130f455b0
/usr/lib/.build-id/45
/usr/lib/.build-id/45/5128b46e5806519c9b0ee415e7b6bd59c65999
/usr/lib/.build-id/50
/usr/lib/.build-id/50/36440303c46da4b5080f67cdeba8d7944832ad
/usr/lib/.build-id/54
/usr/lib/.build-id/54/5819cc4f3198b8019283aca1d1a0dfd43ed6cc
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/2ae62ca1d36741ac3000bddcdf75361f9761a9
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/f61f5eebe71fe9f924fdac082eff79ccb1723a
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/753ce6fb74baacd8de0eff1a721522eca3354a
/usr/share/doc/moreutils
/usr/share/doc/moreutils/COPYING
/usr/share/doc/moreutils/README
/usr/share/man/man1/chronic.1.gz
/usr/share/man/man1/combine.1.gz
/usr/share/man/man1/errno.1.gz
/usr/share/man/man1/ifdata.1.gz
/usr/share/man/man1/ifne.1.gz
/usr/share/man/man1/isutf8.1.gz
/usr/share/man/man1/lckdo.1.gz
/usr/share/man/man1/mispipe.1.gz
/usr/share/man/man1/pee.1.gz
/usr/share/man/man1/sponge.1.gz
/usr/share/man/man1/ts.1.gz
/usr/share/man/man1/vidir.1.gz
/usr/share/man/man1/vipe.1.gz
/usr/share/man/man1/zrun.1.gz

References

Summary

In this tutorial we learn how to install moreutils on Rocky Linux 8 using yum and dnf.