How to Install and Uninstall rustc Package on Debian 10 (Buster)

Last updated: December 23,2024

1. Install "rustc" package

This tutorial shows how to install rustc on Debian 10 (Buster)

$ sudo apt update $ sudo apt install rustc

2. Uninstall "rustc" package

This tutorial shows how to uninstall rustc on Debian 10 (Buster):

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

3. Information about the rustc package on Debian 10 (Buster)

Package: rustc
Version: 1.41.1+dfsg1-1~deb10u1
Installed-Size: 5159
Maintainer: Debian Rust Maintainers
Architecture: amd64
Replaces: libstd-rust-dev (<< 1.25.0+dfsg1-2~~)
Depends: libc6 (>= 2.14), libgcc1 (>= 1:3.0), libstd-rust-dev (= 1.41.1+dfsg1-1~deb10u1), 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-7
Breaks: libstd-rust-dev (<< 1.25.0+dfsg1-2~~)
Description: Rust systems programming language
Description-md5: 67ca6080eea53dc7f3cdf73bc6b8521e
Multi-Arch: allowed
Homepage: http://www.rust-lang.org/
Section: rust
Priority: optional
Filename: pool/main/r/rustc/rustc_1.41.1+dfsg1-1~deb10u1_amd64.deb
Size: 1863208
MD5sum: f9a8a6c6f9e3e87d86f8257448ea8aa3
SHA256: 99049ffe579b325533f117e289214b7eacd40c7a8ab9b567d3e0ff41809d84a7