How To Install cargo-bloat on Fedora 36
Introduction
In this tutorial we learn how to install cargo-bloat
on Fedora 36.
What is cargo-bloat
Find out what takes most of the space in your executable.
We can use yum
or dnf
to install cargo-bloat
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install cargo-bloat.
Install cargo-bloat 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 cargo-bloat
using dnf
by running the following command:
sudo dnf -y install cargo-bloat
Install cargo-bloat 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 cargo-bloat
using yum
by running the following command:
sudo yum -y install cargo-bloat
How To Uninstall cargo-bloat on Fedora 36
To uninstall only the cargo-bloat
package we can use the following command:
sudo dnf remove cargo-bloat
cargo-bloat Package Contents on Fedora 36
/usr/bin/cargo-bloat
/usr/lib/.build-id
/usr/lib/.build-id/76
/usr/lib/.build-id/76/149e44328edb9b640e169bd103d958a072f1e1
/usr/share/doc/cargo-bloat
/usr/share/doc/cargo-bloat/CHANGELOG.md
/usr/share/doc/cargo-bloat/README.md
/usr/share/licenses/cargo-bloat
/usr/share/licenses/cargo-bloat/LICENSE
References
Summary
In this tutorial we learn how to install cargo-bloat
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).