How to Install and Uninstall libc6-riscv64-cross Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 17,2024

1. Install "libc6-riscv64-cross" package

This tutorial shows how to install libc6-riscv64-cross on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libc6-riscv64-cross

2. Uninstall "libc6-riscv64-cross" package

Please follow the guidance below to uninstall libc6-riscv64-cross on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libc6-riscv64-cross $ sudo apt autoclean && sudo apt autoremove

3. Information about the libc6-riscv64-cross package on Ubuntu 21.04 (Hirsute Hippo)

Package: libc6-riscv64-cross
Architecture: all
Version: 2.33-0ubuntu5cross1
Built-Using: binutils (= 2.36.1-6ubuntu1), linux (= 5.11.0-14.15), gcc-10 (= 10.3.0-1ubuntu1), glibc (= 2.33-0ubuntu5)
Multi-Arch: foreign
Priority: extra
Section: universe/libs
Source: cross-toolchain-base-ports (45ubuntu2)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Provides: libc6-riscv64-dcv1
Filename: pool/universe/c/cross-toolchain-base-ports/libc6-riscv64-cross_2.33-0ubuntu5cross1_all.deb
Size: 1015952
MD5sum: 4dbb1e651c2aa0e509d001f8daf54ccb
SHA1: 84c87875b6b1f43a45e75c2ecc59d36a7e9c9e10
SHA256: b2ace1fc2f3ccb7d5b4698246bdafb2d423e8ec0305923ee0aaa733b3ba76364
SHA512: 8fd1a0494fa16cdeac55c27339cdab6ef2983ca17e4c0132f6a0bf462b42a8bb44fadeeed32a626d06da538d55b9f34a6244d24a2b0ca0ae07bca01a578faa48
Description-en: GNU C Library: Shared libraries (for cross-compiling)
This package was generated by dpkg-cross for cross compiling.
.
Contains the standard libraries that are used by nearly all programs on
the system. This package includes shared versions of the standard C library
and the standard math library, as well as many others.
Description-md5: b266351f0a5ff19b39a85a1e2ab438d7