How To Install par on Fedora 34
Introduction
In this tutorial we learn how to install par
on Fedora 34.
What is par
par is a filter which copies its input to its output, changing all white characters (except newlines) to spaces, and reformatting each paragraph. Paragraphs are separated by protected, blank, and bodiless lines (see the man page Terminology section for definitions), and optionally delimited by indentation (see the d option in the Options section). Each output paragraph is generated from the corresponding input paragraph as follows 1) An optional prefix and/or suffix is removed from each input line. 2) The remainder is divided into words (separated by spaces). 3) The words are joined into lines to make an eye-pleasing paragraph. 4) The prefixes and suffixes are reattached. If there are suffixes, spaces are inserted before them so that they all end in the same column.
We can use yum
or dnf
to install par
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install par.
Install par 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 par
using dnf
by running the following command:
sudo dnf -y install par
Install par 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 par
using yum
by running the following command:
sudo yum -y install par
How To Uninstall par on Fedora 34
To uninstall only the par
package we can use the following command:
sudo dnf remove par
par Package Contents on Fedora 34
/usr/bin/par
/usr/lib/.build-id
/usr/lib/.build-id/54
/usr/lib/.build-id/54/4ba6abba8e727b2fc55282ad2842c8eb688cd4
/usr/share/doc/par
/usr/share/doc/par/par.doc
/usr/share/doc/par/releasenotes
/usr/share/man/man1/par.1.gz
References
Summary
In this tutorial we learn how to install par
on Fedora 34 using yum and dnf.