How to Install and Uninstall rustc Package on Linux Mint 21.3 (Virginia)

Last updated: November 10,2024

1. Install "rustc" package

This tutorial shows how to install rustc on Linux Mint 21.3 (Virginia)

$ sudo apt update $ sudo apt install rustc

2. Uninstall "rustc" package

Please follow the steps below to uninstall rustc on Linux Mint 21.3 (Virginia):

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

3. Information about the rustc package on Linux Mint 21.3 (Virginia)

Package: rustc
Architecture: amd64
Version: 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.22.04
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: 9852
Depends: libc6 (>= 2.34), libgcc-s1 (>= 4.2), libstd-rust-dev (= 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.22.04), gcc, libc-dev, binutils (>= 2.26)
Suggests: cargo (= 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.22.04), 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~bpo0-0ubuntu0.22.04_amd64.deb
Size: 3404282
MD5sum: 1036f648a0f5b1cceda9f3d98540c9f6
SHA1: b68094b2c860ba11888c6e9a648801931d1a31db
SHA256: fb72da6d1df7a841e2fded5d99557cebf97f37cadd1c5bb5fa404f5ff5e24074
SHA512: 81ee6c6594e423be25d5dc39287a3de4d7493d1e371fd1901d35408b64930034a9b2ba37c9617cb4f888608e26b9afe3c1bd26ce5a16b8bea4a41631c9d12f22
Homepage: http://www.rust-lang.org/
Description: Rust systems programming language
Description-md5: 67ca6080eea53dc7f3cdf73bc6b8521e

Package: rustc
Architecture: amd64
Version: 1.58.1+dfsg1~ubuntu1-0ubuntu2
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: 9293
Depends: libc6 (>= 2.34), libgcc-s1 (>= 3.0), libstd-rust-dev (= 1.58.1+dfsg1~ubuntu1-0ubuntu2), gcc, libc-dev, binutils (>= 2.26)
Recommends: llvm-13
Suggests: cargo (>= 0.58.0~~), cargo (<< 0.59.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/main/r/rustc/rustc_1.58.1+dfsg1~ubuntu1-0ubuntu2_amd64.deb
Size: 3642606
MD5sum: 9a581dee06d5ca9984ec9b1b2b623010
SHA1: 7fbb3e2ea3e27d13822559e35168af82a2861c9c
SHA256: 36b115385ca01748ddb8bddccc1937732bc078b6da22e57c172e829811e055ec
SHA512: 0096810c2c833b0629f98d2958e519b0035bef362e8a2a0e0858005149e987b091ace0a6a2ff44e8ac3646abc893b06cba8db5a1f7785c6ba2977cc7f388b747
Homepage: http://www.rust-lang.org/
Description: Rust systems programming language
Description-md5: 67ca6080eea53dc7f3cdf73bc6b8521e