How to Install and Uninstall gcc-riscv64-linux-gnu Package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Last updated: November 07,2024
Notice
You can also install and uninstall the gcc-riscv64-linux-gnu on the following distributions in the same way, as they are all based on the Ubuntu system
- Kubuntu 22.04 LTS
- Lubuntu 22.04 LTS
- Xubuntu 22.04 LTS
- Ubuntu MATE 22.04 LTS
- Ubuntu Studio 22.04 LTS
- Pop!_OS 22.04 LTS
- Zorin OS 16 / Zorin OS 17
- Ubuntu Budgie 22.04
1. Install "gcc-riscv64-linux-gnu" package
In this section, we are going to explain the necessary steps to install gcc-riscv64-linux-gnu on Ubuntu 22.04 LTS (Jammy Jellyfish)
$
sudo apt update
Copied
$
sudo apt install
gcc-riscv64-linux-gnu
Copied
2. Uninstall "gcc-riscv64-linux-gnu" package
Please follow the steps below to uninstall gcc-riscv64-linux-gnu on Ubuntu 22.04 LTS (Jammy Jellyfish):
$
sudo apt remove
gcc-riscv64-linux-gnu
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the gcc-riscv64-linux-gnu package on Ubuntu 22.04 LTS (Jammy Jellyfish)
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
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