How to Install and Uninstall rustc Package on Debian 11 (Bullseye)

Last updated: May 21,2024

1. Install "rustc" package

Please follow the instructions below to install rustc on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install rustc

2. Uninstall "rustc" package

Please follow the guidance below to uninstall rustc on Debian 11 (Bullseye):

$ sudo apt remove rustc $ sudo apt autoclean && sudo apt autoremove

3. Information about the rustc package on Debian 11 (Bullseye)

Package: rustc
Version: 1.48.0+dfsg1-2
Installed-Size: 5720
Maintainer: Debian Rust Maintainers
Architecture: amd64
Replaces: libstd-rust-dev (<< 1.25.0+dfsg1-2~~)
Depends: libc6 (>= 2.14), libgcc-s1 (>= 3.0), libstd-rust-dev (= 1.48.0+dfsg1-2), gcc, libc-dev, binutils (>= 2.26)
Recommends: cargo (>= 0.49.0~~), cargo (<< 0.50.0~~), rust-gdb | rust-lldb
Suggests: rust-doc, rust-src, lld-11
Breaks: libstd-rust-dev (<< 1.25.0+dfsg1-2~~)
Description: Rust systems programming language
Description-md5: 67ca6080eea53dc7f3cdf73bc6b8521e
Multi-Arch: allowed
Homepage: http://www.rust-lang.org/
Section: rust
Priority: optional
Filename: pool/main/r/rustc/rustc_1.48.0+dfsg1-2_amd64.deb
Size: 2049372
MD5sum: 0302b014f85fc6a49418fae4ee34ea71
SHA256: 3cc857f1d9d5970d5d8ced830efb054520f820a4a496b6e55d68dbae19270137