How to Install and Uninstall rustfmt Package on Debian 12 (Bookworm)

Last updated: May 11,2024

1. Install "rustfmt" package

Learn how to install rustfmt on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install rustfmt

2. Uninstall "rustfmt" package

This guide let you learn how to uninstall rustfmt on Debian 12 (Bookworm):

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

3. Information about the rustfmt package on Debian 12 (Bookworm)

Package: rustfmt
Source: rustc
Version: 1.63.0+dfsg1-2
Installed-Size: 9762
Maintainer: Debian Rust Maintainers
Architecture: amd64
Depends: libc6 (>= 2.34), libgcc-s1 (>= 4.2)
Recommends: cargo
Description: Rust formatting helper
Description-md5: 3ad3031d946444f1737bc02666f33a91
Multi-Arch: allowed
Homepage: http://www.rust-lang.org/
Section: devel
Priority: optional
Filename: pool/main/r/rustc/rustfmt_1.63.0+dfsg1-2_amd64.deb
Size: 2601348
MD5sum: 77c9b435a755a2051f1e44dec695e906
SHA256: 89bcf1ff624d36c4573efbbdcc42d1d9054a0c7f5824d7e5a5c8c201562208fa