How To Install ccache-swig on Fedora 36
Introduction
In this tutorial we learn how to install ccache-swig
on Fedora 36.
What is ccache-swig
ccache-swig is a compiler cache. It speeds up re-compilation of C/C++/SWIG code by caching previous compiles and detecting when the same compile is being done again. ccache-swig is ccache plus support for SWIG.
We can use yum
or dnf
to install ccache-swig
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ccache-swig.
Install ccache-swig 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 ccache-swig
using dnf
by running the following command:
sudo dnf -y install ccache-swig
Install ccache-swig 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 ccache-swig
using yum
by running the following command:
sudo yum -y install ccache-swig
How To Uninstall ccache-swig on Fedora 36
To uninstall only the ccache-swig
package we can use the following command:
sudo dnf remove ccache-swig
ccache-swig Package Contents on Fedora 36
/etc/profile.d/ccache-swig.csh
/etc/profile.d/ccache-swig.sh
/usr/bin/ccache-swig
/usr/lib/.build-id
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/e2d8d7a5ecba56bcbf4e7e8caf9a4843a7aa3a
/usr/share/man/man1/ccache-swig.1.gz
References
Summary
In this tutorial we learn how to install ccache-swig
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).