How to Install and Uninstall libc6-riscv64-cross Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 17,2024

1. Install "libc6-riscv64-cross" package

Please follow the guidelines below to install libc6-riscv64-cross on Ubuntu 20.04 LTS (Focal Fossa)

$ 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 20.04 LTS (Focal Fossa):

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

3. Information about the libc6-riscv64-cross package on Ubuntu 20.04 LTS (Focal Fossa)

Package: libc6-riscv64-cross
Architecture: all
Version: 2.31-0ubuntu7cross1
Built-Using: binutils (= 2.34-5ubuntu1), linux (= 5.4.0-21.25), gcc-9 (= 9.3.0-9ubuntu1), glibc (= 2.31-0ubuntu7)
Multi-Arch: foreign
Priority: extra
Section: universe/libs
Source: cross-toolchain-base-ports (36ubuntu3)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Provides: libc6-riscv64-dcv1
Conflicts: openrc-riscv64-cross (<< 0.27-2~)
Filename: pool/universe/c/cross-toolchain-base-ports/libc6-riscv64-cross_2.31-0ubuntu7cross1_all.deb
Size: 1029652
MD5sum: 36f526ad71e790a9b2d3bb09dfd10fa7
SHA1: 42b636716b4536c9a89c4f28c5cd6efcc645b922
SHA256: 7a75afaf11f33654cfbbc3e4184b371436edee6c02d48e54b387a867c3989266
Description: GNU C Library: Shared libraries (for cross-compiling)
Description-md5: b266351f0a5ff19b39a85a1e2ab438d7