How To Install rubygem-pkg-config on Fedora 36
Introduction
In this tutorial we learn how to install rubygem-pkg-config
on Fedora 36.
What is rubygem-pkg-config
This gem contains a pkg-config implementation by Ruby
We can use yum
or dnf
to install rubygem-pkg-config
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-pkg-config.
Install rubygem-pkg-config 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 rubygem-pkg-config
using dnf
by running the following command:
sudo dnf -y install rubygem-pkg-config
Install rubygem-pkg-config 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 rubygem-pkg-config
using yum
by running the following command:
sudo yum -y install rubygem-pkg-config
How To Uninstall rubygem-pkg-config on Fedora 36
To uninstall only the rubygem-pkg-config
package we can use the following command:
sudo dnf remove rubygem-pkg-config
rubygem-pkg-config Package Contents on Fedora 36
/usr/share/gems/gems/pkg-config-1.4.7
/usr/share/gems/gems/pkg-config-1.4.7/LGPL-2.1
/usr/share/gems/gems/pkg-config-1.4.7/NEWS
/usr/share/gems/gems/pkg-config-1.4.7/README.rdoc
/usr/share/gems/gems/pkg-config-1.4.7/lib
/usr/share/gems/gems/pkg-config-1.4.7/lib/pkg-config
/usr/share/gems/gems/pkg-config-1.4.7/lib/pkg-config.rb
/usr/share/gems/gems/pkg-config-1.4.7/lib/pkg-config/version.rb
/usr/share/gems/specifications/pkg-config-1.4.7.gemspec
References
Summary
In this tutorial we learn how to install rubygem-pkg-config
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).