How to Install and Uninstall rustc Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: November 26,2024

1. Install "rustc" package

This tutorial shows how to install rustc on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install rustc

2. Uninstall "rustc" package

This guide covers the steps necessary to uninstall rustc on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the rustc package on Ubuntu 24.04 LTS (Noble Numbat)

Package: rustc
Architecture: amd64
Version: 1.75.0+dfsg0ubuntu1-0ubuntu1
Multi-Arch: allowed
Priority: extra
Section: devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Rust Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 9835
Depends: libc6 (>= 2.34), libgcc-s1 (>= 4.2), libstd-rust-dev (= 1.75.0+dfsg0ubuntu1-0ubuntu1), gcc, libc-dev, binutils (>= 2.26)
Suggests: cargo (= 1.75.0+dfsg0ubuntu1-0ubuntu1), llvm-17, lld-17, clang-17
Breaks: libstd-rust-dev (<< 1.26.2+dfsg1+llvm-0ubuntu1~~)
Replaces: libstd-rust-dev (<< 1.26.2+dfsg1+llvm-0ubuntu1~~)
Filename: pool/main/r/rustc/rustc_1.75.0+dfsg0ubuntu1-0ubuntu1_amd64.deb
Size: 3180986
MD5sum: cfa27115a5bbb8e7a4de0860c5f35759
SHA1: c79347bd458c2c8da09b9e26e6554311b4588b83
SHA256: 15b337caf3ea4b0de24a640ccf479eff3a65d778826a0978bbc172a3c9f5dc8d
SHA512: b86fac5972eef61b35f6f010a64fa1015eea67c7c57c064976fb9546bfb7930b65c737ce20a1edfc3f34afdc28b5d81f7788306bb3414c000344661b643f7d47
Homepage: http://www.rust-lang.org/
Description: Rust systems programming language
Description-md5: 67ca6080eea53dc7f3cdf73bc6b8521e