How To Install git-cpan-patch on Fedora 36
Introduction
In this tutorial we learn how to install git-cpan-patch
on Fedora 36.
What is git-cpan-patch
git-cpan-patch provides a suite of git commands aimed at making trivially easy the process of grabbing any distribution off CPAN, stuffing it in a local git repository and, once gleeful hacking has been perpetrated, sending back patches to its maintainer.
We can use yum
or dnf
to install git-cpan-patch
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install git-cpan-patch.
Install git-cpan-patch 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 git-cpan-patch
using dnf
by running the following command:
sudo dnf -y install git-cpan-patch
Install git-cpan-patch 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 git-cpan-patch
using yum
by running the following command:
sudo yum -y install git-cpan-patch
How To Uninstall git-cpan-patch on Fedora 36
To uninstall only the git-cpan-patch
package we can use the following command:
sudo dnf remove git-cpan-patch
git-cpan-patch Package Contents on Fedora 36
/usr/libexec/git-core
/usr/libexec/git-core/git-cpan
/usr/share/doc/git-cpan-patch
/usr/share/doc/git-cpan-patch/AUTHOR_PLEDGE
/usr/share/doc/git-cpan-patch/Changes
/usr/share/doc/git-cpan-patch/README.mkdn
/usr/share/licenses/git-cpan-patch
/usr/share/licenses/git-cpan-patch/LICENSE
/usr/share/man/man1/git-cpan.1.gz
References
Summary
In this tutorial we learn how to install git-cpan-patch
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).