In this article we will learn How to install Onefetch in CentOS 8. Onefetch is a command line tool to get a Git repository’s information from the terminal. It displays various details of a given Git repository. Onefetch displays details along with the dominant programming language’s ASCII logo. You can change the ASCII logo with your own text input or nothing at all. Onefetch is fully customizable. You can configure it using command line flags to display exactly what you want and the way you want it to. For instance, you can decide which language’s ASCII logo to print, disable a specific detail from the output, change the ASCII art color, and change the text color etc.
Onefetch supports more than 50 programming languages. If you think a specific language is missing, just open an issue in GitHub and the support might be added. It is an open source project written in RUST programming language. The source code of Onefetch is freely available in GitHub under MIT license.
First, Install EPEL Repository using the following command:
dnf install epel-release
Now, Install snapd as it will be used to install onefetch.
dnf install snapd
After Installation of snapd, Enable the systemd unit that manages the main snap communication socket.
systemctl enable --now snapd.socket
To enable classic snap support, use the following command to create a symbolic link:
ln -s /var/lib/snapd/snap /snap
Display Git Repository Summary In Terminal Using Onefetch:
snap install onefetch
Onefetch is installed you can use it according to your need.