How to Install and Uninstall rustc Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: October 05,2024

1. Install "rustc" package

Learn how to install rustc on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install rustc

2. Uninstall "rustc" package

Please follow the instructions below to uninstall rustc on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the rustc package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: rustc
Architecture: amd64
Version: 1.59.0+dfsg1~ubuntu1~llvm-1~ubuntu1~18.04.2
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: 9151
Depends: libc6 (>= 2.14), libgcc1 (>= 1:3.0), libstd-rust-dev (= 1.59.0+dfsg1~ubuntu1~llvm-1~ubuntu1~18.04.2), gcc, libc-dev, binutils (>= 2.26)
Recommends: llvm-13
Suggests: cargo (>= 0.60.0~~), cargo (<< 0.61.0~~), lld-13, clang-13
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.59.0+dfsg1~ubuntu1~llvm-1~ubuntu1~18.04.2_amd64.deb
Size: 3423872
MD5sum: 5a0e2bb32e26388d92c3bd8e8e8c480c
SHA1: 891537eb5e9d37e7566233e5fffd110752dfb8e8
SHA256: 97ec2b9f42d7f436488eeecef24d9f1a971c8018ea1716ddd56a470b7ef3ded4
SHA512: 3100700c75c72b7002c61999c83b5ce04103126c51f6fbdd454636eda5e238427de334d251f20707daa103368e4c230476a2f2467b2011abfda699ea3fb1e435
Homepage: http://www.rust-lang.org/
Description: Rust systems programming language
Description-md5: 67ca6080eea53dc7f3cdf73bc6b8521e

Package: rustc
Architecture: amd64
Version: 1.24.1+dfsg1+llvm-0ubuntu2
Multi-Arch: allowed
Priority: extra
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Rust Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 5257
Depends: libc6 (>= 2.14), libgcc1 (>= 1:3.0), libstd-rust-dev (= 1.24.1+dfsg1+llvm-0ubuntu2), gcc, libc-dev, binutils (>= 2.26)
Recommends: rust-gdb | rust-lldb
Suggests: rust-doc, rust-src
Filename: pool/universe/r/rustc/rustc_1.24.1+dfsg1+llvm-0ubuntu2_amd64.deb
Size: 1535312
MD5sum: daeb4ff34d6c5da1533c51ade5d980c4
SHA1: 7251df0043290dc9e2f67cb2dc05f6ff06182719
SHA256: 9b8884fb12b1029e006f87880b93ab36d18cd7df8a3beffef79385c4fa5b274c
Homepage: http://www.rust-lang.org/
Description: Rust systems programming language
Description-md5: 67ca6080eea53dc7f3cdf73bc6b8521e