How to Install and Uninstall rust-src Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 19,2024

1. Install "rust-src" package

Please follow the instructions below to install rust-src on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install rust-src

2. Uninstall "rust-src" package

Please follow the guidance below to uninstall rust-src on Ubuntu 21.10 (Impish Indri):

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

3. Information about the rust-src package on Ubuntu 21.10 (Impish Indri)

Package: rust-src
Architecture: all
Version: 1.53.0+dfsg1+llvm-4ubuntu1~21.10.1
Priority: extra
Section: universe/devel
Source: rustc
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Rust Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 137378
Filename: pool/universe/r/rustc/rust-src_1.53.0+dfsg1+llvm-4ubuntu1~21.10.1_all.deb
Size: 15612122
MD5sum: 0f00dde6e41cae84766d33d7604f223e
SHA1: 4d0cd1a0ddc9544179a66118dbc17997c07597f2
SHA256: 6d13b0e66a54caa9265da5165371fb7b9ea0796640aa5c31914bb04b238136bf
SHA512: 099b4c737060684424df3d0c14a1244e54e9a3ea28c8ed631428fe239ad4656527658588aa1e71597e7286c05a4116e1eef334f008dbe4d33b4600ac412b137e
Homepage: http://www.rust-lang.org/
Description-en: Rust systems programming language - source code
Rust is a curly-brace, block-structured expression language. It
visually resembles the C language family, but differs significantly
in syntactic and semantic details. Its design is oriented toward
concerns of "programming in the large", that is, of creating and
maintaining boundaries - both abstract and operational - that
preserve large-system integrity, availability and concurrency.
.
It supports a mixture of imperative procedural, concurrent actor,
object-oriented and pure functional styles. Rust also supports
generic programming and meta-programming, in both static and dynamic
styles.
.
This package contains sources of the Rust compiler and standard
libraries, useful for IDEs and code analysis tools such as Racer.
Description-md5: 7c8d03ba583d96a9cc7a0dc63f208a52

Package: rust-src
Architecture: all
Version: 1.51.0+dfsg1+llvm-1~exp3ubuntu1
Priority: extra
Section: universe/devel
Source: rustc
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Rust Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 122656
Filename: pool/universe/r/rustc/rust-src_1.51.0+dfsg1+llvm-1~exp3ubuntu1_all.deb
Size: 12747130
MD5sum: 68a05c48fb9975a9999c6b7dda2acc05
SHA1: 5eba414f6d57ff21c3e942c1056a92c218645df6
SHA256: 5a895ae07820d1234bef600ede9a941ca37a2a20adc8acaadb8e070e6a5fef87
SHA512: c36abc67b76eb7a01424549603066163e4035fc76ccaedd0f0514ced489670c5487aa1aca7451ccdd422495728b2dc7ec6b2cd0388124c4b17346e5c72fd6584
Homepage: http://www.rust-lang.org/
Description-en: Rust systems programming language - source code
Rust is a curly-brace, block-structured expression language. It
visually resembles the C language family, but differs significantly
in syntactic and semantic details. Its design is oriented toward
concerns of "programming in the large", that is, of creating and
maintaining boundaries - both abstract and operational - that
preserve large-system integrity, availability and concurrency.
.
It supports a mixture of imperative procedural, concurrent actor,
object-oriented and pure functional styles. Rust also supports
generic programming and meta-programming, in both static and dynamic
styles.
.
This package contains sources of the Rust compiler and standard
libraries, useful for IDEs and code analysis tools such as Racer.
Description-md5: 7c8d03ba583d96a9cc7a0dc63f208a52