How To Install lscolors on Fedora 36
Introduction
In this tutorial we learn how to install lscolors on Fedora 36.
What is lscolors
Colorize paths using the LS_COLORS environment variable.
We can use yum or dnf to install lscolors on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install lscolors.
Install lscolors 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 lscolors using dnf by running the following command:
sudo dnf -y install lscolors
Install lscolors 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 lscolors using yum by running the following command:
sudo yum -y install lscolors
How To Uninstall lscolors on Fedora 36
To uninstall only the lscolors package we can use the following command:
sudo dnf remove lscolors
lscolors Package Contents on Fedora 36
/usr/bin/lscolors
/usr/lib/.build-id
/usr/lib/.build-id/af
/usr/lib/.build-id/af/65dd24bb9d1ba5287ea31acf2f0c25acda1700
/usr/share/doc/lscolors
/usr/share/doc/lscolors/README.md
/usr/share/licenses/lscolors
/usr/share/licenses/lscolors/LICENSE-APACHE
/usr/share/licenses/lscolors/LICENSE-MIT
References
Summary
In this tutorial we learn how to install lscolors on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).