How to Install and Uninstall rustfmt Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: December 29,2024

1. Install "rustfmt" package

This is a short guide on how to install rustfmt on Ubuntu 22.10 (Kinetic Kudu)

$ sudo apt update $ sudo apt install rustfmt

2. Uninstall "rustfmt" package

Please follow the step by step instructions below to uninstall rustfmt on Ubuntu 22.10 (Kinetic Kudu):

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

3. Information about the rustfmt package on Ubuntu 22.10 (Kinetic Kudu)

Package: rustfmt
Architecture: amd64
Version: 1.59.0+dfsg1-1~ubuntu3
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: 9241
Depends: libc6 (>= 2.34), libgcc-s1 (>= 4.2)
Recommends: cargo
Filename: pool/universe/r/rustc/rustfmt_1.59.0+dfsg1-1~ubuntu3_amd64.deb
Size: 2573336
MD5sum: 4fdc8ea8120529946090e424c1b65b32
SHA1: 7e53f30dcd8ac68b5f7590b81c32a08e9b68d800
SHA256: 79014ef06db2dbcd2b7f397e275a56bc215fdd315c69234714da67b295532bed
SHA512: aaf60aa975d40e3a90226497aa939547b880aa8ba903df1f54b31bc1129bc5f0c3b3cec0f3b7e1bda6c2afaf469fa15ab8a4b63d770936ff95df64d0545efbf3
Homepage: http://www.rust-lang.org/
Description: Rust formatting helper
Description-md5: 3ad3031d946444f1737bc02666f33a91