How to Install and Uninstall cbindgen Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 07,2024

1. Install "cbindgen" package

Please follow the guidelines below to install cbindgen on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install cbindgen

2. Uninstall "cbindgen" package

This guide let you learn how to uninstall cbindgen on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove cbindgen $ sudo apt autoclean && sudo apt autoremove

3. Information about the cbindgen package on Ubuntu 21.04 (Hirsute Hippo)

Package: cbindgen
Architecture: amd64
Version: 0.17.0-4
Built-Using: rustc (= 1.49.0+dfsg1+llvm-0ubuntu1)
Multi-Arch: allowed
Priority: optional
Section: universe/utils
Source: rust-cbindgen
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Rust Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4857
Depends: libc6 (>= 2.33), libgcc-s1 (>= 4.2)
Filename: pool/universe/r/rust-cbindgen/cbindgen_0.17.0-4_amd64.deb
Size: 1291588
MD5sum: a4032b24cde149c979bf337aa6219102
SHA1: 657de4a0d15c00b547b01120699bbc5a55af6228
SHA256: b0e48363fca3faddcc95052465c086090e729084ef3ea67e9496a72d4707e454
SHA512: 6ad44a1fc69a5e783308b8dbdb2b24d11f46d26e78b43aaf5fdb05c308b88d26ee15930ab5f12bc6c954ef8a6f66085daef22fb67b8983a0134f7b31000311eb
Description-en: Generates C bindings from Rust code
cbindgen can be used to generate C bindings for Rust code.
It is currently being developed to support creating bindings for
WebRender (by Mozilla for Firefox), but has been designed to support
any project.
.
Features:
.
* Builds bindings for a crate, its mods, its dependent crates, and their mods
* Only the necessary types for exposed functions are given bindings
* Can specify annotations for controlling some aspects of binding
* Support for generic structs and unions
* Support for exporting constants and statics
* Customizable formatting, can be used in C or C++ projects
* Support for generating #ifdef's for #[cfg] attributes
* Support for #[repr(sized)] tagged enum's
Description-md5: bf5e9ab6d22f73ffe6c064b48141f318
X-Cargo-Built-Using: rust-ansi-term (= 0.12.1-1), rust-atty (= 0.2.14-2), rust-bitflags (= 1.2.1-1), rust-cfg-if-0.1 (= 0.1.10-2), rust-clap (= 2.33.3-1), rust-getrandom (= 0.1.13-4), rust-heck (= 0.3.1-1), rust-indexmap (= 1.3.2-1), rust-itoa (= 0.4.3-1), rust-libc (= 0.2.80-1), rust-log (= 0.4.11-2), rust-ppv-lite86 (= 0.2.6-2), rust-proc-macro2 (= 1.0.18-1), rust-quote (= 1.0.7-1), rust-rand-chacha (= 0.2.2-1), rust-rand-core (= 0.5.1-1), rust-rand (= 0.7.3-3), rust-remove-dir-all (= 0.5.2-1), rust-ryu (= 1.0.2-1), rust-serde (= 1.0.106-1), rust-serde-json (= 1.0.41-1), rust-strsim (= 0.9.3-1), rust-syn (= 1.0.12-1), rust-tempfile (= 3.1.0-1build2), rust-textwrap (= 0.11.0-1build1), rust-toml (= 0.5.5-1), rust-unicode-segmentation (= 1.6.0-1), rust-unicode-width (= 0.1.8-1), rust-unicode-xid (= 0.2.0-1), rust-vec-map (= 0.8.1-2), rustc (= 1.49.0+dfsg1+llvm-0ubuntu1)