How To Install datamash on Fedora 34

datamash is A statistical, numerical and textual operations tool

Introduction

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

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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install datamash.

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

sudo dnf -y install datamash

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

sudo yum -y install datamash

How To Uninstall datamash on Fedora 34

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

sudo dnf remove datamash

datamash Package Contents on Fedora 34

/usr/bin/datamash
/usr/lib/.build-id
/usr/lib/.build-id/62
/usr/lib/.build-id/62/21431406d61afef7929a361ee9c703faea614a
/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 Fedora 34 using yum and dnf.