How to Install and Uninstall rust-src Package on Debian 12 (Bookworm)
Last updated: December 24,2024
Notice
You can also install and uninstall the rust-src on the following distributions in the same way, as they are all based on the Debian system
- MX Linux 23
- SparkyLinux
1. Install "rust-src" package
Please follow the instructions below to install rust-src on Debian 12 (Bookworm)
$
sudo apt update
Copied
$
sudo apt install
rust-src
Copied
2. Uninstall "rust-src" package
This guide let you learn how to uninstall rust-src on Debian 12 (Bookworm):
$
sudo apt remove
rust-src
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the rust-src package on Debian 12 (Bookworm)
Package: rust-src
Source: rustc
Version: 1.63.0+dfsg1-2
Installed-Size: 152536
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.63.0+dfsg1-2_all.deb
Size: 18161724
MD5sum: 5622a16db1c70fd5a7becb35227250a6
SHA256: 410b8c6d464cabbe5fb3154ab8c3d374980dd597fbe7e3b7bb3ed8dd1bf11e25
Source: rustc
Version: 1.63.0+dfsg1-2
Installed-Size: 152536
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.63.0+dfsg1-2_all.deb
Size: 18161724
MD5sum: 5622a16db1c70fd5a7becb35227250a6
SHA256: 410b8c6d464cabbe5fb3154ab8c3d374980dd597fbe7e3b7bb3ed8dd1bf11e25