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

Last updated: May 10,2024

1. Install "rustup" package

Please follow the guidance below to install rustup on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install rustup

2. Uninstall "rustup" package

Please follow the guidelines below to uninstall rustup on Ubuntu 24.04 LTS (Noble Numbat):

$ sudo apt remove rustup $ sudo apt autoclean && sudo apt autoremove

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

Package: rustup
Architecture: amd64
Version: 1.26.0-4
Built-Using: rust-nix (= 0.26.2-1), rust-retry (= 2.0.0-4), rustc (= 1.75.0+dfsg0ubuntu1-0ubuntu1)
Multi-Arch: allowed
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Rust Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 6863
Depends: libc6 (>= 2.38), libcurl3-gnutls (>= 7.16.2), libgcc-s1 (>= 4.2), liblzma5 (>= 5.1.1alpha+20120614), libssl3 (>= 3.0.0), libzstd1 (>= 1.5.5)
Conflicts: cargo, rust-clippy, rust-doc, rust-gdb, rust-lldb, rustc, rustfmt
Filename: pool/universe/r/rustup/rustup_1.26.0-4_amd64.deb
Size: 2337808
MD5sum: feb34f7705efd3f99d37257130a57189
SHA1: 8f14f3e6e73acdaf6738f511c254ce488e2d625f
SHA256: deacd1e610a93ccd02e364b0b135980b74f3992a64b2d0cff3d09372620b5b7a
SHA512: ce200e294e3617ac51b1278a85450a9393a73610ee17845a9c30081b1a65285eb97183f35a1a373ad690d4f0c85dba4cec16e72a661a133467d5c6924b2170f4
Homepage: https://github.com/rust-lang/rustup
Description: The Rust toolchain installer
Description-md5: 2ba5b70628e6e63caa3bff3db0f71c2b
X-Cargo-Built-Using: rust-adler (= 1.0.2-2), rust-aho-corasick (= 1.1.2-1), rust-anyhow (= 1.0.75-1), rust-async-compression (= 0.4.0-2), rust-atty (= 0.2.14-2), rust-base64 (= 0.21.7-1), rust-bitflags-1 (= 1.3.2-5), rust-bitflags (= 2.4.2-1), rust-block-buffer (= 0.10.2-2), rust-bstr (= 1.7.0-2build1), rust-bytes (= 1.5.0-1), rust-cfg-if-0.1 (= 0.1.10-2), rust-cfg-if (= 1.0.0-1), rust-chrono (= 0.4.31-2), rust-clap-3 (= 3.2.25-3), rust-clap-complete-3 (= 3.1.1-1), rust-clap-lex (= 0.6.0-2), rust-cpufeatures (= 0.2.11-1), rust-crc32fast (= 1.3.2-2), rust-crossbeam-deque (= 0.8.5-1), rust-crossbeam-epoch (= 0.9.18-1), rust-crossbeam-utils (= 0.8.19-1), rust-crypto-common (= 0.1.6-1), rust-curl (= 0.4.44-4), rust-curl-sys (= 0.4.67-2), rust-cvt (= 0.1.2-1), rust-digest (= 0.10.7-2), rust-dirs-next (= 2.0.0-1), rust-dirs-sys-next (= 0.1.1-1), rust-effective-limits (= 0.5.5-3), rust-either (= 1.9.0-1), rust-encoding-rs (= 0.8.33-1), rust-enum-map (= 2.4.2-1), rust-env-proxy (= 0.4.1-1), rust-fastrand (= 1.8.0-1), rust-filetime (= 0.2.22-1), rust-flate2 (= 1.0.27-2), rust-fnv (= 1.0.7-1), rust-foreign-types-0.3 (= 0.3.2-1), rust-foreign-types-shared-0.1 (= 0.1.1-1), rust-form-urlencoded (= 1.2.1-1), rust-fs-at (= 0.1.10-1), rust-futures-channel (= 0.3.30-1), rust-futures-core (= 0.3.30-1), rust-futures-io (= 0.3.30-1), rust-futures-sink (= 0.3.30-1), rust-futures-task (= 0.3.30-1), rust-futures-util (= 0.3.30-1), rust-generic-array (= 0.14.7-1), rust-getrandom (= 0.2.10-1), rust-git-testament (= 0.2.5-1), rust-h2 (= 0.3.21-1), rust-hashbrown (= 0.12.3-1), rust-home (= 0.5.5-1), rust-http-body (= 0.4.5-1), rust-http (= 0.2.9-1), rust-httparse (= 1.8.0-1), rust-httpdate (= 1.0.2-1), rust-hyper (= 0.14.27-1), rust-hyper-tls (= 0.5.0-1), rust-iana-time-zone (= 0.1.53-1), rust-idna (= 0.4.0-1), rust-indexmap (= 1.9.3-1), rust-ipnet (= 2.9.0-1), rust-itoa (= 1.0.9-1), rust-lazy-static (= 1.4.0-2), rust-libc (= 0.2.152-1), rust-linux-raw-sys (= 0.4.12-1), rust-log (= 0.4.20-2), rust-lzma-sys (= 0.1.20-1), rust-memchr (= 2.6.4-3build2), rust-mime (= 0.3.16-1), rust-miniz-oxide (= 0.7.1-1), rust-mio (= 0.8.10-1), rust-native-tls (= 0.2.11-2), rust-nix (= 0.26.2-1), rust-normpath (= 1.1.1-1), rust-num-cpus (= 1.16.0-1), rust-num-traits (= 0.2.15-1), rust-once-cell (= 1.19.0-1), rust-opener (= 0.5.2-1), rust-openssl (= 0.10.57-1), rust-openssl-probe (= 0.1.2-1), rust-openssl-sys (= 0.9.93-1), rust-percent-encoding (= 2.3.1-1), rust-pin-project-lite (= 0.2.13-1), rust-pin-utils (= 0.1.0-1), rust-ppv-lite86 (= 0.2.16-1), rust-pulldown-cmark (= 0.9.2-1), rust-rand-chacha (= 0.3.1-2), rust-rand-core (= 0.6.4-1), rust-rand (= 0.8.5-1), rust-rayon-core (= 1.12.0-2), rust-rayon (= 1.8.0-1), rust-regex-automata (= 0.4.3-1build2), rust-regex (= 1.10.2-2build2), rust-regex-syntax (= 0.8.2-1), rust-remove-dir-all (= 0.8.2-1), rust-reqwest (= 0.11.22-5), rust-retry (= 2.0.0-4), rust-rs-tracing (= 1.1.0-1), rust-rustix (= 0.38.30-1), rust-ryu (= 1.0.15-1), rust-same-file (= 1.0.6-1), rust-scopeguard (= 1.1.0-1), rust-semver (= 1.0.21-1), rust-serde (= 1.0.195-1), rust-serde-json (= 1.0.111-1), rust-serde-spanned (= 0.6.4-1), rust-serde-urlencoded (= 0.7.1-1), rust-sha2 (= 0.10.8-1), rust-sharded-slab (= 0.1.4-2), rust-slab (= 0.4.9-1), rust-smallvec (= 1.11.2-1), rust-socket2 (= 0.5.5-1), rust-static-assertions (= 1.1.0-1), rust-strsim (= 0.10.0-1), rust-sys-info (= 0.9.1-6), rust-tar (= 0.4.40-1), rust-tempfile (= 3.9.0-1), rust-term (= 0.7.0-1), rust-termcolor (= 1.4.0-1), rust-terminal-size (= 0.3.0-2), rust-textwrap (= 0.16.0-3), rust-thiserror (= 1.0.50-1), rust-threadpool (= 1.8.1-1), rust-tokio (= 1.35.1-1), rust-tokio-native-tls (= 0.3.0-1), rust-tokio-util (= 0.7.10-1), rust-toml-datetime (= 0.6.5-1), rust-toml (= 0.8.8-2), rust-toml-edit (= 0.21.0-2), rust-tower-service (= 0.3.2-1), rust-tracing-core (= 0.1.32-1), rust-tracing (= 0.1.40-1), rust-try-lock (= 0.2.2-2), rust-typenum (= 1.16.0-2), rust-unicase (= 2.6.0-1), rust-unicode-bidi (= 0.3.13-1), rust-unicode-normalization (= 0.1.22-1), rust-url (= 2.4.1-1), rust-wait-timeout (= 0.2.0-1), rust-want (= 0.3.0-1), rust-winnow (= 0.5.15-1), rust-xattr (= 1.0.0-1), rust-xz2 (= 0.1.7-1), rust-zstd (= 0.12.1-1), rust-zstd-safe (= 6.0.2-1), rust-zstd-sys (= 2.0.9-1), rustc (= 1.75.0+dfsg0ubuntu1-0ubuntu1)