How To Install golang-github-tklauser-numcpus on Fedora 36
Introduction
In this tutorial we learn how to install golang-github-tklauser-numcpus
on Fedora 36.
What is golang-github-tklauser-numcpus
Go module to get the number of CPUs on a Linux/BSD system.
We can use yum
or dnf
to install golang-github-tklauser-numcpus
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-github-tklauser-numcpus.
Install golang-github-tklauser-numcpus 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 golang-github-tklauser-numcpus
using dnf
by running the following command:
sudo dnf -y install golang-github-tklauser-numcpus
Install golang-github-tklauser-numcpus 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 golang-github-tklauser-numcpus
using yum
by running the following command:
sudo yum -y install golang-github-tklauser-numcpus
How To Uninstall golang-github-tklauser-numcpus on Fedora 36
To uninstall only the golang-github-tklauser-numcpus
package we can use the following command:
sudo dnf remove golang-github-tklauser-numcpus
golang-github-tklauser-numcpus Package Contents on Fedora 36
/usr/bin/numcpus
/usr/lib/.build-id
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/ffc6fe930dcd3ea07f139333076bcd260bb28d
/usr/share/doc/golang-github-tklauser-numcpus
/usr/share/doc/golang-github-tklauser-numcpus/README.md
/usr/share/licenses/golang-github-tklauser-numcpus
/usr/share/licenses/golang-github-tklauser-numcpus/LICENSE
References
Summary
In this tutorial we learn how to install golang-github-tklauser-numcpus
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).