How to Install and Uninstall librust-cfg-if-dev Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: November 07,2024

1. Install "librust-cfg-if-dev" package

This tutorial shows how to install librust-cfg-if-dev on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install librust-cfg-if-dev

2. Uninstall "librust-cfg-if-dev" package

Please follow the guidance below to uninstall librust-cfg-if-dev on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove librust-cfg-if-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the librust-cfg-if-dev package on Ubuntu 21.04 (Hirsute Hippo)

Package: librust-cfg-if-dev
Architecture: amd64
Version: 1.0.0-1
Multi-Arch: same
Priority: optional
Section: universe/rust
Source: rust-cfg-if
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Rust Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 48
Provides: librust-cfg-if+default-dev (= 1.0.0-1), librust-cfg-if-1+default-dev (= 1.0.0-1), librust-cfg-if-1-dev (= 1.0.0-1), librust-cfg-if-1.0+default-dev (= 1.0.0-1), librust-cfg-if-1.0-dev (= 1.0.0-1), librust-cfg-if-1.0.0+default-dev (= 1.0.0-1), librust-cfg-if-1.0.0-dev (= 1.0.0-1)
Suggests: librust-cfg-if+core-dev (= 1.0.0-1)
Filename: pool/universe/r/rust-cfg-if/librust-cfg-if-dev_1.0.0-1_amd64.deb
Size: 10452
MD5sum: f04888ee9e88436e8301be5055ee9d81
SHA1: 1187131e9c497be2b7e78e76715a8a47822ebbed
SHA256: 69dcbe8b03e61ec460df8bed6bfbafdf652760f97837cced5fadec80bd08a8fc
SHA512: ad4b4d3b2733ae2e220a89040c4dcbbc5e260579e470cbf646ceeb9600ee4a968ff563091ca6155d9be4267358ea2e67c2d35f8923d800563abd476a3336d0eb
Homepage: https://github.com/alexcrichton/cfg-if
Description-en: Macro to ergonomically define an item depending on a large number of #[cfg] parameters - Rust source code
Structured like an if-else chain, the first matching branch is the item that
gets emitted.
.
This package contains the source for the Rust cfg-if crate, packaged by
debcargo for use with cargo and dh-cargo.
Description-md5: 3aec34b421f14ef0846dfca4dc077389