How To Install datamash on Rocky Linux 8

In this tutorial we learn how to install datamash on Rocky Linux 8. datamash is A statistical, numerical and textual operations tool

Introduction

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

What is datamash

GNU datamash is a command-line program which performs basic numeric,textual and statistical operations on input textual data files.

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

Install datamash 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 datamash using dnf by running the following command:

sudo dnf -y install datamash

Install datamash 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 datamash using yum by running the following command:

sudo yum -y install datamash

How To Uninstall datamash on Rocky Linux 8

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

sudo dnf remove datamash

datamash Package Contents on Rocky Linux 8

/usr/bin/datamash
/usr/lib/.build-id
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/fb66643b15a169eb5eb0b2823a0762867324b5
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/datamash
/usr/share/datamash
/usr/share/datamash/bash-completion.d
/usr/share/datamash/examples
/usr/share/datamash/examples/genes.txt
/usr/share/datamash/examples/genes_h.txt
/usr/share/datamash/examples/readme.md
/usr/share/datamash/examples/scores.txt
/usr/share/datamash/examples/scores_h.txt
/usr/share/doc/datamash
/usr/share/doc/datamash/AUTHORS
/usr/share/doc/datamash/ChangeLog
/usr/share/doc/datamash/NEWS
/usr/share/doc/datamash/README
/usr/share/doc/datamash/THANKS
/usr/share/doc/datamash/TODO
/usr/share/info/datamash.info.gz
/usr/share/licenses/datamash
/usr/share/licenses/datamash/COPYING
/usr/share/locale/da/LC_MESSAGES/datamash.mo
/usr/share/locale/de/LC_MESSAGES/datamash.mo
/usr/share/locale/eo/LC_MESSAGES/datamash.mo
/usr/share/locale/es/LC_MESSAGES/datamash.mo
/usr/share/locale/fr/LC_MESSAGES/datamash.mo
/usr/share/locale/nb/LC_MESSAGES/datamash.mo
/usr/share/locale/nl/LC_MESSAGES/datamash.mo
/usr/share/locale/pt_BR/LC_MESSAGES/datamash.mo
/usr/share/locale/sr/LC_MESSAGES/datamash.mo
/usr/share/locale/sv/LC_MESSAGES/datamash.mo
/usr/share/locale/uk/LC_MESSAGES/datamash.mo
/usr/share/locale/vi/LC_MESSAGES/datamash.mo
/usr/share/man/man1/datamash.1.gz

References

Summary

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