How to Install and Uninstall rustc Package on Ubuntu 20.04 LTS (Focal Fossa)
Last updated: November 27,2024
1. Install "rustc" package
This guide let you learn how to install rustc on Ubuntu 20.04 LTS (Focal Fossa)
$
sudo apt update
Copied
$
sudo apt install
rustc
Copied
2. Uninstall "rustc" package
In this section, we are going to explain the necessary steps to uninstall rustc on Ubuntu 20.04 LTS (Focal Fossa):
$
sudo apt remove
rustc
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the rustc package on Ubuntu 20.04 LTS (Focal Fossa)
Package: rustc
Architecture: amd64
Version: 1.72.1+dfsg0ubuntu1~bpo0-0ubuntu0.20.04
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: 9676
Depends: libc6 (>= 2.28), libgcc-s1 (>= 4.2), libstd-rust-dev (= 1.72.1+dfsg0ubuntu1~bpo0-0ubuntu0.20.04), gcc, libc-dev, binutils (>= 2.26)
Suggests: cargo (= 1.72.1+dfsg0ubuntu1~bpo0-0ubuntu0.20.04), llvm-16, lld-16, clang-16
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.72.1+dfsg0ubuntu1~bpo0-0ubuntu0.20.04_amd64.deb
Size: 3144776
MD5sum: 3331abe96ada7cd96766e13b89356f68
SHA1: ddb82c4ef79820ed09627fecc221cd918a8d9d71
SHA256: 71b6fc4331c6b9189b3b52203df3ecf6513cae69e6dd26af6f77107c10047c24
SHA512: 397ea1e2210eebd4a5aebf2ab09737d48ae735f5a96b42c99a70cefedf9e20fe3e09a371178bcdad151fea0e199ec37a6454951d4c2da5bdc51a3851719af2c1
Homepage: http://www.rust-lang.org/
Description: Rust systems programming language
Description-md5: 67ca6080eea53dc7f3cdf73bc6b8521e
Package: rustc
Architecture: amd64
Version: 1.41.0+dfsg1+llvm-0ubuntu2
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: 5069
Depends: libc6 (>= 2.14), libgcc-s1 (>= 3.0), libstd-rust-dev (= 1.41.0+dfsg1+llvm-0ubuntu2), gcc, libc-dev, binutils (>= 2.26)
Recommends: cargo (>= 0.42.0~~), cargo (<< 0.43.0~~), rust-gdb | rust-lldb
Suggests: rust-doc, rust-src, lld-9
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.41.0+dfsg1+llvm-0ubuntu2_amd64.deb
Size: 1733868
MD5sum: b468f9ebcd62782e86cc3aae5a8628f2
SHA1: 18eaec87bf90b909d95b81f4d5fc43802ef283af
SHA256: fc0581d7870dfabb3e6e8fe3c22ebc7f7ba40a08500d0e1533bbbd5b06ec190b
Homepage: http://www.rust-lang.org/
Description: Rust systems programming language
Description-md5: 67ca6080eea53dc7f3cdf73bc6b8521e
Architecture: amd64
Version: 1.72.1+dfsg0ubuntu1~bpo0-0ubuntu0.20.04
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: 9676
Depends: libc6 (>= 2.28), libgcc-s1 (>= 4.2), libstd-rust-dev (= 1.72.1+dfsg0ubuntu1~bpo0-0ubuntu0.20.04), gcc, libc-dev, binutils (>= 2.26)
Suggests: cargo (= 1.72.1+dfsg0ubuntu1~bpo0-0ubuntu0.20.04), llvm-16, lld-16, clang-16
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.72.1+dfsg0ubuntu1~bpo0-0ubuntu0.20.04_amd64.deb
Size: 3144776
MD5sum: 3331abe96ada7cd96766e13b89356f68
SHA1: ddb82c4ef79820ed09627fecc221cd918a8d9d71
SHA256: 71b6fc4331c6b9189b3b52203df3ecf6513cae69e6dd26af6f77107c10047c24
SHA512: 397ea1e2210eebd4a5aebf2ab09737d48ae735f5a96b42c99a70cefedf9e20fe3e09a371178bcdad151fea0e199ec37a6454951d4c2da5bdc51a3851719af2c1
Homepage: http://www.rust-lang.org/
Description: Rust systems programming language
Description-md5: 67ca6080eea53dc7f3cdf73bc6b8521e
Package: rustc
Architecture: amd64
Version: 1.41.0+dfsg1+llvm-0ubuntu2
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: 5069
Depends: libc6 (>= 2.14), libgcc-s1 (>= 3.0), libstd-rust-dev (= 1.41.0+dfsg1+llvm-0ubuntu2), gcc, libc-dev, binutils (>= 2.26)
Recommends: cargo (>= 0.42.0~~), cargo (<< 0.43.0~~), rust-gdb | rust-lldb
Suggests: rust-doc, rust-src, lld-9
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.41.0+dfsg1+llvm-0ubuntu2_amd64.deb
Size: 1733868
MD5sum: b468f9ebcd62782e86cc3aae5a8628f2
SHA1: 18eaec87bf90b909d95b81f4d5fc43802ef283af
SHA256: fc0581d7870dfabb3e6e8fe3c22ebc7f7ba40a08500d0e1533bbbd5b06ec190b
Homepage: http://www.rust-lang.org/
Description: Rust systems programming language
Description-md5: 67ca6080eea53dc7f3cdf73bc6b8521e