How To Install gcc-10-cross-base-ports on Ubuntu 20.04
Introduction
In this tutorial we learn how to install gcc-10-cross-base-ports
on Ubuntu 20.04.
What is gcc-10-cross-base-ports
gcc-10-cross-base-ports is:
This empty package contains changelog and copyright files common to all libraries contained in the GNU Compiler Collection (GCC).
Package: gcc-10-cross-base-ports Architecture: all Version: 10.2.0-5ubuntu1~20.04cross1 Built-Using: gcc-10 (= 10.2.0-5ubuntu1~20.04) Priority: optional Section: universe/devel 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: 253 Filename: pool/universe/g/gcc-10-cross-ports/gcc-10-cross-base-ports_10.2.0-5ubuntu1~20.04cross1_all.deb Size: 15216 MD5sum: 83a304d1ea0c3b5116b507a17d788e1b SHA1: b6c0261751c6f004525e2f2cda07c7b3e2162152 SHA256: a87bafb92cdefbb826e4b4e172146b473ab4051823389846a9bf428a0f53461c SHA512: b6b0a02788142ea385ddb4ef34279b9e92ba642508cd8d67262a6b7f47ea6e170931bf88708a7d402050d860bdf484ec9dfc60c3beaed41f5d9f59383bdd0986 Homepage: http://gcc.gnu.org/ Description-en: GCC, the GNU Compiler Collection (library base package) This empty package contains changelog and copyright files common to all libraries contained in the GNU Compiler Collection (GCC).
Package: gcc-10-cross-base-ports Architecture: all Version: 10-20200411-0ubuntu1cross1 Built-Using: gcc-10 (= 10-20200411-0ubuntu1) Priority: optional Section: universe/devel 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: 250 Filename: pool/universe/g/gcc-10-cross-ports/gcc-10-cross-base-ports_10-20200411-0ubuntu1cross1_all.deb Size: 14832 MD5sum: 0641a988e56db0d11241593e2e09ef18 SHA1: 65ca25a8dcd90b1aeceb9cfa831a8daf895be007 SHA256: 79f8c6f340bf846e8fadd376666985878450a83234d31ab21172e04ba5f2b883 Homepage: http://gcc.gnu.org/ Description-en: GCC, the GNU Compiler Collection (library base package) This empty package contains changelog and copyright files common to all libraries contained in the GNU Compiler Collection (GCC).
There are three methods to install gcc-10-cross-base-ports
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 gcc-10-cross-base-ports Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install gcc-10-cross-base-ports
using apt-get
by running the following command:
sudo apt-get -y install gcc-10-cross-base-ports
Install gcc-10-cross-base-ports Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install gcc-10-cross-base-ports
using apt
by running the following command:
sudo apt -y install gcc-10-cross-base-ports
Install gcc-10-cross-base-ports 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 gcc-10-cross-base-ports
using aptitude
by running the following command:
sudo aptitude -y install gcc-10-cross-base-ports
How To Uninstall gcc-10-cross-base-ports on Ubuntu 20.04
To uninstall only the gcc-10-cross-base-ports
package we can use the following command:
sudo apt-get remove gcc-10-cross-base-ports
Uninstall gcc-10-cross-base-ports And Its Dependencies
To uninstall gcc-10-cross-base-ports
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove gcc-10-cross-base-ports
Remove gcc-10-cross-base-ports Configurations and Data
To remove gcc-10-cross-base-ports
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge gcc-10-cross-base-ports
Remove gcc-10-cross-base-ports configuration, data, and all of its dependencies
We can use the following command to remove gcc-10-cross-base-ports
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge gcc-10-cross-base-ports
References
Summary
In this tutorial we learn how to install gcc-10-cross-base-ports
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.