How to Install and Uninstall rustc Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 19,2024

1. Install "rustc" package

Please follow the instructions below to install rustc on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install rustc

2. Uninstall "rustc" package

Please follow the instructions below to uninstall rustc on Ubuntu 21.10 (Impish Indri):

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

3. Information about the rustc package on Ubuntu 21.10 (Impish Indri)

Package: rustc
Architecture: amd64
Version: 1.53.0+dfsg1+llvm-4ubuntu1~21.10.1
Multi-Arch: allowed
Priority: extra
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Rust Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 7471
Depends: libc6 (>= 2.34), libgcc-s1 (>= 3.0), libstd-rust-dev (= 1.53.0+dfsg1+llvm-4ubuntu1~21.10.1), gcc, libc-dev, binutils (>= 2.26)
Recommends: cargo (>= 0.54.0~~), cargo (<< 0.55.0~~), llvm-12
Suggests: lld-12, clang-12
Breaks: libstd-rust-dev (<< 1.26.2+dfsg1+llvm-0ubuntu1~~)
Replaces: libstd-rust-dev (<< 1.26.2+dfsg1+llvm-0ubuntu1~~)
Filename: pool/universe/r/rustc/rustc_1.53.0+dfsg1+llvm-4ubuntu1~21.10.1_amd64.deb
Size: 2847870
MD5sum: 7e2047bcd8f9d7e40f24143fd674fbe5
SHA1: 8b54f4d12f1d499d7c2a3e842e666fb4827aabb2
SHA256: 36fa31b354b8cd7a11a063c0f6f392fe3e361f3ac6d819001c223b7c13ad549f
SHA512: 80cb69e6f9422e19bfa497a669fbd42648913c4b225896cc5f323659c1826c07dbeeb72fca1cfd330e902ce9864e47f34bd8c48da253fee398694cc2f560c2cc
Homepage: http://www.rust-lang.org/
Description-en: Rust systems programming language
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.
Description-md5: 67ca6080eea53dc7f3cdf73bc6b8521e

Package: rustc
Architecture: amd64
Version: 1.51.0+dfsg1+llvm-1~exp3ubuntu1
Multi-Arch: allowed
Priority: extra
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Rust Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 7211
Depends: libc6 (>= 2.14), libgcc-s1 (>= 3.0), libstd-rust-dev (= 1.51.0+dfsg1+llvm-1~exp3ubuntu1), gcc, libc-dev, binutils (>= 2.26)
Recommends: cargo (>= 0.52.0~~), cargo (<< 0.53.0~~), rust-gdb | rust-lldb
Suggests: rust-doc, rust-src, lld-11
Breaks: libstd-rust-dev (<< 1.26.2+dfsg1+llvm-0ubuntu1~~)
Replaces: libstd-rust-dev (<< 1.26.2+dfsg1+llvm-0ubuntu1~~)
Filename: pool/universe/r/rustc/rustc_1.51.0+dfsg1+llvm-1~exp3ubuntu1_amd64.deb
Size: 2407246
MD5sum: 38d9fff4f13f23b472f35e9ce1b063d6
SHA1: 91ea2e9a3fda3dd43925c487432346e15df94153
SHA256: a0456cd25f5e64276590eafa0848667e7ba17a87655d55a9855347d59a7dfcb7
SHA512: 8eed9f3a21eb91eda04d889edd87b2509170bff1cdbf8537f5b9903a8f8ec4f0dc811146c4af47791e8696c9b5170dac7aa34c326d2f58e728def31d03c49da9
Homepage: http://www.rust-lang.org/
Description-en: Rust systems programming language
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.
Description-md5: 67ca6080eea53dc7f3cdf73bc6b8521e