How to Install and Uninstall rustfmt Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 22,2024

1. Install "rustfmt" package

This guide let you learn how to install rustfmt on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install rustfmt

2. Uninstall "rustfmt" package

This is a short guide on how to uninstall rustfmt on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove rustfmt $ sudo apt autoclean && sudo apt autoremove

3. Information about the rustfmt package on Ubuntu 20.04 LTS (Focal Fossa)

Package: rustfmt
Architecture: amd64
Version: 1.72.1+dfsg0ubuntu1~bpo0-0ubuntu0.20.04
Multi-Arch: allowed
Priority: optional
Section: universe/devel
Source: rustc
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Rust Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 6487
Depends: libc6 (>= 2.29), libgcc-s1 (>= 4.2)
Recommends: cargo
Filename: pool/universe/r/rustc/rustfmt_1.72.1+dfsg0ubuntu1~bpo0-0ubuntu0.20.04_amd64.deb
Size: 1911028
MD5sum: 4be7bf0aa63a642fdc679768b44a5808
SHA1: 9606d5986e47dc80d0241c7c834162b4d850e131
SHA256: 100180ece9012e66c6516a438afbaf4e3e218c279fb833bd5d3a9b2ee1a588bc
SHA512: 33d0ab44d6aa0f13caec3024b6f79e1235a0dc081817740b35f4be0166f878ae11b33148bef6f0d02e809d159561ef64cb77e9d4d645d3f9778933f765b23dd6
Homepage: http://www.rust-lang.org/
Description: Rust formatting helper
Description-md5: 3ad3031d946444f1737bc02666f33a91