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

Last updated: December 23,2024

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

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

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

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

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

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

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

Package: gcc-riscv64-linux-gnu
Architecture: amd64
Version: 4:11.2.0--1ubuntu1
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-defaults-ports (1.191ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 25
Depends: cpp-riscv64-linux-gnu (= 4:11.2.0--1ubuntu1), gcc-11-riscv64-linux-gnu (>= 11.2.0-1~)
Recommends: libc6-dev-riscv64-cross | libc-dev-riscv64-cross
Suggests: make, manpages-dev, autoconf, automake, libtool, flex, bison, gdb-riscv64-linux-gnu, gcc-doc
Filename: pool/universe/g/gcc-defaults-ports/gcc-riscv64-linux-gnu_11.2.0--1ubuntu1_amd64.deb
Size: 1234
MD5sum: 2112ad0cc033126ca60b0b8deda2fb2e
SHA1: ccd2edcd89f1f4b8ce4d14ce83ea93e9a5859512
SHA256: 92064d83fad19b270ed74f5e7e66e3e5ae32ff906ff98a99e40623516f887c41
SHA512: 1a7805ba5d911f445a3c863fc582d545a8ececca9c3c82bd8b8673cf4cb5b24ee32e897848cc297ec073b08ce9ae38a527a8692788fc8397c32ddd3dd71d88bc
Description: GNU C compiler for the riscv64 architecture
Description-md5: 076e3ddf958518fce5f91a3ca856f2b9