How to Install and Uninstall rustfmt Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: December 25,2024

1. Install "rustfmt" package

This is a short guide on how to install rustfmt on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install rustfmt

2. Uninstall "rustfmt" package

This is a short guide on how to uninstall rustfmt on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the rustfmt package on Ubuntu 24.04 LTS (Noble Numbat)

Package: rustfmt
Architecture: amd64
Version: 1.75.0+dfsg0ubuntu1-0ubuntu1
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: 7423
Depends: libc6 (>= 2.38), libgcc-s1 (>= 4.2)
Recommends: cargo
Filename: pool/universe/r/rustc/rustfmt_1.75.0+dfsg0ubuntu1-0ubuntu1_amd64.deb
Size: 1995720
MD5sum: 223ee02f981648504b7c5b7b7b243d95
SHA1: 20276d71eec5d570bfee8aa01e93789a67b36f08
SHA256: 61eff680f4e59693f89e3e8821520d49addbc31b16128965712a4ff04e4d3e54
SHA512: bf279bd801a1ca4f77f8ebd3c04a54913600430b1d46e23f8c82e78eaee317ab1d83a450b7a22c0260293f167a40e08b870104c7e8cefe957b5e78ff64df246b
Homepage: http://www.rust-lang.org/
Description: Rust formatting helper
Description-md5: 3ad3031d946444f1737bc02666f33a91