How To Install libgo-10-dev-riscv64-cross on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libgo-10-dev-riscv64-cross
on Ubuntu 20.04.
What is libgo-10-dev-riscv64-cross
libgo-10-dev-riscv64-cross is:
This package contains the headers and static library files needed to build GNU Go applications.
Package: libgo-10-dev-riscv64-cross Architecture: all Version: 10.2.0-5ubuntu1~20.04cross1 Built-Using: gcc-10 (= 10.2.0-5ubuntu1~20.04) Priority: optional Section: universe/libdevel Source: gcc-10-cross-ports (5ubuntu2) Origin: Ubuntu Maintainer: Ubuntu Core developers [email protected] Original-Maintainer: Debian GCC Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 207650 Depends: gcc-10-cross-base-ports (= 10.2.0-5ubuntu1~20.04cross1), libgcc-10-dev-riscv64-cross (= 10.2.0-5ubuntu1~20.04cross1), libgo16-riscv64-cross (>= 10.2.0-5ubuntu1~20.04cross1) Filename: pool/universe/g/gcc-10-cross-ports/libgo-10-dev-riscv64-cross_10.2.0-5ubuntu1~20.04cross1_all.deb Size: 19142948 MD5sum: 842619d79ac61f83dc27ed9054267c9f SHA1: 1992ebdba316903e4a010fbfd8419b0c7a55a021 SHA256: 8b8e8c47b3f46f1871385e2c50e3af13f911941a35e7e74c89f78a749af9631a SHA512: a1ef9fe3d9c4251691c4197635046572c03e5c41b831eaad40cc79697b3ef640cd1ac8879342c6f7d0bb6de6ab82adc47298152ace978809a113ed7913358dcd Homepage: http://gcc.gnu.org/ Description-en: Runtime library for GNU Go applications (development files) This package contains the headers and static library files needed to build GNU Go applications.
Package: libgo-10-dev-riscv64-cross Architecture: all Version: 10-20200411-0ubuntu1cross1 Built-Using: gcc-10 (= 10-20200411-0ubuntu1) Priority: optional Section: universe/libdevel Source: gcc-10-cross-ports (5ubuntu1) Origin: Ubuntu Maintainer: Ubuntu Core developers [email protected] Original-Maintainer: Debian GCC Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 207607 Depends: gcc-10-cross-base-ports (= 10-20200411-0ubuntu1cross1), libgcc-10-dev-riscv64-cross (= 10-20200411-0ubuntu1cross1), libgo16-riscv64-cross (>= 10-20200411-0ubuntu1cross1) Filename: pool/universe/g/gcc-10-cross-ports/libgo-10-dev-riscv64-cross_10-20200411-0ubuntu1cross1_all.deb Size: 19182588 MD5sum: 801f649793417e5c9d6f953a2cc21b45 SHA1: ba3722032af9471bb38f3def0caf8a6efaa0aa6b SHA256: 9ee8aa4aec02cb28fbdcfc000b25a0848a31f022a1c416004bb8a03cf44516c1 Homepage: http://gcc.gnu.org/ Description-en: Runtime library for GNU Go applications (development files) This package contains the headers and static library files needed to build GNU Go applications.
There are three methods to install libgo-10-dev-riscv64-cross
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libgo-10-dev-riscv64-cross Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libgo-10-dev-riscv64-cross
using apt-get
by running the following command:
sudo apt-get -y install libgo-10-dev-riscv64-cross
Install libgo-10-dev-riscv64-cross Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libgo-10-dev-riscv64-cross
using apt
by running the following command:
sudo apt -y install libgo-10-dev-riscv64-cross
Install libgo-10-dev-riscv64-cross Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libgo-10-dev-riscv64-cross
using aptitude
by running the following command:
sudo aptitude -y install libgo-10-dev-riscv64-cross
How To Uninstall libgo-10-dev-riscv64-cross on Ubuntu 20.04
To uninstall only the libgo-10-dev-riscv64-cross
package we can use the following command:
sudo apt-get remove libgo-10-dev-riscv64-cross
Uninstall libgo-10-dev-riscv64-cross And Its Dependencies
To uninstall libgo-10-dev-riscv64-cross
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libgo-10-dev-riscv64-cross
Remove libgo-10-dev-riscv64-cross Configurations and Data
To remove libgo-10-dev-riscv64-cross
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libgo-10-dev-riscv64-cross
Remove libgo-10-dev-riscv64-cross configuration, data, and all of its dependencies
We can use the following command to remove libgo-10-dev-riscv64-cross
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libgo-10-dev-riscv64-cross
References
Summary
In this tutorial we learn how to install libgo-10-dev-riscv64-cross
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.