How To Install xcalc on Rocky Linux 8
In this tutorial we learn how to install xcalc on Rocky Linux 8. xcalc is Scientific Calculator X11 Client
Introduction
In this tutorial we learn how to install xcalc on Rocky Linux 8.
What is xcalc
xcalc is a scientific calculator X11 client.
We can use yum or dnf to install xcalc on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install xcalc.
Install xcalc on Rocky Linux 8 Using dnf
Update yum database with dnf using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install xcalc using dnf by running the following command:
sudo dnf -y install xcalc
Install xcalc on Rocky Linux 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install xcalc using yum by running the following command:
sudo yum -y install xcalc
How To Uninstall xcalc on Rocky Linux 8
To uninstall only the xcalc package we can use the following command:
sudo dnf remove xcalc
xcalc Package Contents on Rocky Linux 8
/usr/bin/xcalc
/usr/lib/.build-id
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/a272dd71bc8a9b427a67403a863169a899f8c9
/usr/share/X11/app-defaults/XCalc
/usr/share/X11/app-defaults/XCalc-color
/usr/share/applications/xcalc.desktop
/usr/share/doc/xcalc
/usr/share/doc/xcalc/ChangeLog
/usr/share/doc/xcalc/README.md
/usr/share/man/man1/xcalc.1.gz
References
Summary
In this tutorial we learn how to install xcalc on Rocky Linux 8 using yum and dnf.