How to Install and Uninstall rust-src Package on Debian 11 (Bullseye)

Last updated: December 24,2024

1. Install "rust-src" package

Please follow the instructions below to install rust-src on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install rust-src

2. Uninstall "rust-src" package

This is a short guide on how to uninstall rust-src on Debian 11 (Bullseye):

$ sudo apt remove rust-src $ sudo apt autoclean && sudo apt autoremove

3. Information about the rust-src package on Debian 11 (Bullseye)

Package: rust-src
Source: rustc
Version: 1.48.0+dfsg1-2
Installed-Size: 114941
Maintainer: Debian Rust Maintainers
Architecture: all
Description: Rust systems programming language - source code
Description-md5: 7c8d03ba583d96a9cc7a0dc63f208a52
Homepage: http://www.rust-lang.org/
Section: devel
Priority: optional
Filename: pool/main/r/rustc/rust-src_1.48.0+dfsg1-2_all.deb
Size: 12249824
MD5sum: 0c532ead835bcb7e9428920063807a15
SHA256: 44f3101203756b703cbf8453d899804d022b105ee35b13231f184b703f88561c