How To Install libatomic1-ppc64-cross on Ubuntu 20.04

In this tutorial we learn how to install libatomic1-ppc64-cross on Ubuntu 20.04. libatomic1-ppc64-cross is support library providing __atomic built-in functions support library providing __atomic built-in functions support library providing __atomic built-in functions

Introduction

In this tutorial we learn how to install libatomic1-ppc64-cross on Ubuntu 20.04.

What is libatomic1-ppc64-cross

libatomic1-ppc64-cross is:

library providing __atomic built-in functions. When an atomic call cannot be turned into lock-free instructions, GCC will make calls into this library.

Package: libatomic1-ppc64-cross Architecture: all Version: 10.2.0-5ubuntu1~20.04cross1 Built-Using: gcc-10 (= 10.2.0-5ubuntu1~20.04) Priority: extra 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: 76 Depends: gcc-10-cross-base-ports (= 10.2.0-5ubuntu1~20.04cross1), libc6-ppc64-cross (>= 2.31) Filename: pool/universe/g/gcc-10-cross-ports/libatomic1-ppc64-cross_10.2.0-5ubuntu1~20.04cross1_all.deb Size: 10268 MD5sum: 11ff4231454a32ffdc9409c791ff9bcd SHA1: 7020887891d2f6e9d169f623af02bac08996d37c SHA256: 05d0d9c0caad0dff69aa5471acbd07222ec03f0e2bcda28b074310a792765e6f SHA512: 3e1e1728ae3f42ccd9fbf4fdda34b660b86cec7aca5c6f74b675a6be25535c733618650efd3c6ef160268468b2f39becdcb2635186d8edbcadebb9a72e1a9780 Homepage: http://gcc.gnu.org/ Description-en: support library providing __atomic built-in functions library providing __atomic built-in functions. When an atomic call cannot be turned into lock-free instructions, GCC will make calls into this library.

Package: libatomic1-ppc64-cross Architecture: all Version: 10-20200411-0ubuntu1cross1 Built-Using: gcc-10 (= 10-20200411-0ubuntu1) Priority: extra 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: 76 Depends: gcc-10-cross-base-ports (= 10-20200411-0ubuntu1cross1), libc6-ppc64-cross (>= 2.31) Filename: pool/universe/g/gcc-10-cross-ports/libatomic1-ppc64-cross_10-20200411-0ubuntu1cross1_all.deb Size: 10316 MD5sum: 81f164d61b7b2440f0a28ff3e488544a SHA1: 973a1fab7b044777172dbb9aa0aee661f628e62a SHA256: fcbfa3466b27c8645c5a38fd5ffcaa5809469532a096a25985824348ea36c7e3 Homepage: http://gcc.gnu.org/ Description-en: support library providing __atomic built-in functions library providing __atomic built-in functions. When an atomic call cannot be turned into lock-free instructions, GCC will make calls into this library.

There are three methods to install libatomic1-ppc64-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 libatomic1-ppc64-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 libatomic1-ppc64-cross using apt-get by running the following command:

sudo apt-get -y install libatomic1-ppc64-cross

Install libatomic1-ppc64-cross Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libatomic1-ppc64-cross using apt by running the following command:

sudo apt -y install libatomic1-ppc64-cross

Install libatomic1-ppc64-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 libatomic1-ppc64-cross using aptitude by running the following command:

sudo aptitude -y install libatomic1-ppc64-cross

How To Uninstall libatomic1-ppc64-cross on Ubuntu 20.04

To uninstall only the libatomic1-ppc64-cross package we can use the following command:

sudo apt-get remove libatomic1-ppc64-cross

Uninstall libatomic1-ppc64-cross And Its Dependencies

To uninstall libatomic1-ppc64-cross and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libatomic1-ppc64-cross

Remove libatomic1-ppc64-cross Configurations and Data

To remove libatomic1-ppc64-cross configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libatomic1-ppc64-cross

Remove libatomic1-ppc64-cross configuration, data, and all of its dependencies

We can use the following command to remove libatomic1-ppc64-cross configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libatomic1-ppc64-cross

References

Summary

In this tutorial we learn how to install libatomic1-ppc64-cross package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.