How to Install and Uninstall rustc Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 23,2024

1. Install "rustc" package

In this section, we are going to explain the necessary steps to install rustc on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install rustc

2. Uninstall "rustc" package

Please follow the guidelines below to uninstall rustc on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the rustc package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: rustc
Architecture: amd64
Version: 1.47.0+dfsg1+llvm-1ubuntu1~16.04.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: 5861
Depends: libc6 (>= 2.14), libgcc1 (>= 1:3.0), libstd-rust-dev (= 1.47.0+dfsg1+llvm-1ubuntu1~16.04.1), gcc, libc-dev, binutils (>= 2.26)
Recommends: cargo (>= 0.48.0~~), cargo (<< 0.49.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.47.0+dfsg1+llvm-1ubuntu1~16.04.1_amd64.deb
Size: 1926230
MD5sum: 30784fdec944c8d18d74dee765eb9310
SHA1: 004e539a61d5f08d39dd848982faff5b33c4b003
SHA256: ad4a03fcbff6d97586579b4e23b0027154f60372f2804677d7b880f697225d16
SHA512: 5c8392538bbb4aa44e4d22144c99eda26fabb6bb1357e102a2259cf395fcde37380a06b0892d3e0a72502be8b8dbf1a84daa9a3c29f7ae61ded5f6e71ab5b64c
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
Priority: extra
Section: universe/devel
Installed-Size: 115
Maintainer: Ubuntu Developers
Original-Maintainer: Rust Maintainers
Architecture: amd64
Version: 1.7.0+dfsg1-1
Depends: libc6 (>= 2.2.5), libstd-rust-dev (= 1.7.0+dfsg1-1), gcc, libc-dev
Recommends: rust-gdb | rust-lldb
Suggests: rust-doc
Filename: pool/universe/r/rustc/rustc_1.7.0+dfsg1-1_amd64.deb
Size: 22064
MD5sum: b258044c4cb5da61461f69ed5f220682
SHA1: 123f87192819284ba9b9fb6849a7ac01e201c3fd
SHA256: 620d55c9f5394d636c5f72b4a15d502140c7c2b90206bc149a97c84c6604ee06
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
Multi-Arch: foreign
Homepage: http://www.rust-lang.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu