How to Install and Uninstall gcc-12-riscv64-linux-gnu Package on Ubuntu 22.10 (Kinetic Kudu)
Last updated: December 27,2024
1. Install "gcc-12-riscv64-linux-gnu" package
Please follow the guidance below to install gcc-12-riscv64-linux-gnu on Ubuntu 22.10 (Kinetic Kudu)
$
sudo apt update
Copied
$
sudo apt install
gcc-12-riscv64-linux-gnu
Copied
2. Uninstall "gcc-12-riscv64-linux-gnu" package
This guide covers the steps necessary to uninstall gcc-12-riscv64-linux-gnu on Ubuntu 22.10 (Kinetic Kudu):
$
sudo apt remove
gcc-12-riscv64-linux-gnu
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the gcc-12-riscv64-linux-gnu package on Ubuntu 22.10 (Kinetic Kudu)
Package: gcc-12-riscv64-linux-gnu
Architecture: amd64
Version: 12.2.0-2ubuntu1cross1
Built-Using: gcc-12 (= 12.2.0-2ubuntu1)
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-12-cross-ports (7ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 47916
Provides: c-compiler-riscv64-linux-gnu
Depends: cpp-12-riscv64-linux-gnu (= 12.2.0-2ubuntu1cross1), gcc-12-riscv64-linux-gnu-base (= 12.2.0-2ubuntu1cross1), libcc1-0 (>= 12), binutils-riscv64-linux-gnu (>= 2.39), libgcc-12-dev-riscv64-cross (>= 12.2.0-2ubuntu1cross1), libc6 (>= 2.36), libgcc-s1 (>= 3.0), libgmp10 (>= 2:6.2.1+dfsg1), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libstdc++6 (>= 5), libzstd1 (>= 1.5.2), zlib1g (>= 1:1.1.4)
Recommends: libc6-dev-riscv64-cross (>= 2.13-0ubuntu6)
Suggests: gcc-12-doc (>= 12), gcc-12-locales (>= 12)
Conflicts: gcc-multilib
Replaces: cpp-12-riscv64-linux-gnu (<< 7.1.1-8)
Filename: pool/universe/g/gcc-12-cross-ports/gcc-12-riscv64-linux-gnu_12.2.0-2ubuntu1cross1_amd64.deb
Size: 16608320
MD5sum: caa2e79940b79f96bc8ddd6baf3cf86e
SHA1: cd038836fae7f24bc8159bebaf26e84954f2046d
SHA256: 8628e502d6840d84c8b8516b49c0000f3bfb0e6b4509ccc30e8f3288bdf1ea2b
SHA512: 7eb9d39f7d1636f51b8d3582a187552e5d687e6efeb62fffb08ebba90815bdcdeea3890e4f6580ef9e3d4d8e45b6bf6835fba30f631d52ee3b86df3d66c06f56
Homepage: http://gcc.gnu.org/
Description: GNU C compiler (cross compiler for riscv64 architecture)
Description-md5: 0d14114bfdde50833447e5afa7c0bea2
Architecture: amd64
Version: 12.2.0-2ubuntu1cross1
Built-Using: gcc-12 (= 12.2.0-2ubuntu1)
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-12-cross-ports (7ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 47916
Provides: c-compiler-riscv64-linux-gnu
Depends: cpp-12-riscv64-linux-gnu (= 12.2.0-2ubuntu1cross1), gcc-12-riscv64-linux-gnu-base (= 12.2.0-2ubuntu1cross1), libcc1-0 (>= 12), binutils-riscv64-linux-gnu (>= 2.39), libgcc-12-dev-riscv64-cross (>= 12.2.0-2ubuntu1cross1), libc6 (>= 2.36), libgcc-s1 (>= 3.0), libgmp10 (>= 2:6.2.1+dfsg1), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libstdc++6 (>= 5), libzstd1 (>= 1.5.2), zlib1g (>= 1:1.1.4)
Recommends: libc6-dev-riscv64-cross (>= 2.13-0ubuntu6)
Suggests: gcc-12-doc (>= 12), gcc-12-locales (>= 12)
Conflicts: gcc-multilib
Replaces: cpp-12-riscv64-linux-gnu (<< 7.1.1-8)
Filename: pool/universe/g/gcc-12-cross-ports/gcc-12-riscv64-linux-gnu_12.2.0-2ubuntu1cross1_amd64.deb
Size: 16608320
MD5sum: caa2e79940b79f96bc8ddd6baf3cf86e
SHA1: cd038836fae7f24bc8159bebaf26e84954f2046d
SHA256: 8628e502d6840d84c8b8516b49c0000f3bfb0e6b4509ccc30e8f3288bdf1ea2b
SHA512: 7eb9d39f7d1636f51b8d3582a187552e5d687e6efeb62fffb08ebba90815bdcdeea3890e4f6580ef9e3d4d8e45b6bf6835fba30f631d52ee3b86df3d66c06f56
Homepage: http://gcc.gnu.org/
Description: GNU C compiler (cross compiler for riscv64 architecture)
Description-md5: 0d14114bfdde50833447e5afa7c0bea2