How to Install and Uninstall gcc-12-riscv64-linux-gnu Package on Linux Mint 21.3 (Virginia)

Last updated: December 24,2024

1. Install "gcc-12-riscv64-linux-gnu" package

Please follow the steps below to install gcc-12-riscv64-linux-gnu on Linux Mint 21.3 (Virginia)

$ sudo apt update $ sudo apt install gcc-12-riscv64-linux-gnu

2. Uninstall "gcc-12-riscv64-linux-gnu" package

Please follow the steps below to uninstall gcc-12-riscv64-linux-gnu on Linux Mint 21.3 (Virginia):

$ sudo apt remove gcc-12-riscv64-linux-gnu $ sudo apt autoclean && sudo apt autoremove

3. Information about the gcc-12-riscv64-linux-gnu package on Linux Mint 21.3 (Virginia)

Package: gcc-12-riscv64-linux-gnu
Architecture: amd64
Version: 12.3.0-1ubuntu1~22.04cross1
Built-Using: gcc-12 (= 12.3.0-1ubuntu1~22.04)
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-12-cross-ports (1ubuntu1.3)
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 48010
Provides: c-compiler-riscv64-linux-gnu
Depends: cpp-12-riscv64-linux-gnu (= 12.3.0-1ubuntu1~22.04cross1), gcc-12-riscv64-linux-gnu-base (= 12.3.0-1ubuntu1~22.04cross1), libcc1-0 (>= 12), binutils-riscv64-linux-gnu (>= 2.38), libgcc-12-dev-riscv64-cross (>= 12.3.0-1ubuntu1~22.04cross1), libc6 (>= 2.35), libgcc-s1 (>= 3.0), libgmp10 (>= 2:6.2.1+dfsg), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libstdc++6 (>= 5), libzstd1 (>= 1.4.0), 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.3.0-1ubuntu1~22.04cross1_amd64.deb
Size: 16755214
MD5sum: 5074a4dca9f90f7dc14c3b15f568a706
SHA1: 4431f22ef1722f0fbd746b981c75bc450f737fe6
SHA256: ff003c13d567368484494539f7e910d61c2e3515bfe1adcf5768d131df55e77b
SHA512: f1e8c2198ebd20a93c011e2eada62840d3f91d2ed30ae8c4b49d670b344a8c2c05633da76efae47cf1c833a04ae950e4e116089cd9ad8484ae91b7439a84b2bb
Homepage: http://gcc.gnu.org/
Description: GNU C compiler (cross compiler for riscv64 architecture)
Description-md5: 0d14114bfdde50833447e5afa7c0bea2

Package: gcc-12-riscv64-linux-gnu
Architecture: amd64
Version: 12-20220302-1ubuntu1cross1
Built-Using: gcc-12 (= 12-20220302-1ubuntu1)
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-12-cross-ports (1ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 47716
Provides: c-compiler-riscv64-linux-gnu
Depends: cpp-12-riscv64-linux-gnu (= 12-20220302-1ubuntu1cross1), gcc-12-riscv64-linux-gnu-base (= 12-20220302-1ubuntu1cross1), libcc1-0 (>= 12), binutils-riscv64-linux-gnu (>= 2.38), libgcc-12-dev-riscv64-cross (>= 12-20220302-1ubuntu1cross1), libc6 (>= 2.35), libgcc-s1 (>= 3.0), libgmp10 (>= 2:6.2.1+dfsg), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libstdc++6 (>= 5), libzstd1 (>= 1.4.0), 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-20220302-1ubuntu1cross1_amd64.deb
Size: 16568906
MD5sum: e98ca7c7acaa99bba1b4de4b9774a9a7
SHA1: b225baaf722c6df76f66498f2301e6834d6936d7
SHA256: 313d4773590f3bf3a5bc29a4a3b4e45657d78a70317acb3ecbfd4aa782c26c64
SHA512: 595d1cd50c46c7b7da519313dafd4046fe3a2c4e47b9bdc7cf2f022c9a0bc9c925bdc703c5a08926ca5b32d00186a272f64807d3bda4c00e212388925467cfb5
Homepage: http://gcc.gnu.org/
Description: GNU C compiler (cross compiler for riscv64 architecture)
Description-md5: 0d14114bfdde50833447e5afa7c0bea2