How To Install msort on Fedora 36

In this tutorial we learn how to install msort in Fedora 36. msort is Sort files in sophisticated ways

Introduction

In this tutorial we learn how to install msort on Fedora 36.

What is msort

Msort is a program for sorting files in sophisticated ways. Records need not be single lines. Key fields may be selected by position, tag, or character range. For each key, distinct exclusions, multigraphs, substitutions. and a sort order may be defined. Comparisons may be lexicographic, numeric, by string length, date, or time. Optional keys are supported. Msort uses the Unicode character set and provides full Unicode case-folding. The basic program has a somewhat complex command line interface, but may be driven by an optional GUI.

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

Install msort on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install msort

Install msort on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install msort

How To Uninstall msort on Fedora 36

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

sudo dnf remove msort

msort Package Contents on Fedora 36

/usr/bin/msg
/usr/bin/msort
/usr/lib/.build-id
/usr/lib/.build-id/25
/usr/lib/.build-id/25/760e194f834b8617d9161bd2311f85e1d51c0b
/usr/share/doc/msort
/usr/share/doc/msort/AUTHORS
/usr/share/doc/msort/ChangeLog
/usr/share/doc/msort/InitializationFiles
/usr/share/doc/msort/NEWS
/usr/share/doc/msort/README
/usr/share/doc/msort/TODO
/usr/share/doc/msort/msort.pdf
/usr/share/licenses/msort
/usr/share/licenses/msort/COPYING
/usr/share/man/man1/msort.1.gz

References

Summary

In this tutorial we learn how to install msort on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).