How To Install libatomic1-sparc64-cross on Ubuntu 20.04

In this tutorial we learn how to install libatomic1-sparc64-cross on Ubuntu 20.04. libatomic1-sparc64-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-sparc64-cross on Ubuntu 20.04.

What is libatomic1-sparc64-cross

libatomic1-sparc64-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-sparc64-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: 37 Depends: gcc-10-cross-base-ports (= 10.2.0-5ubuntu1~20.04cross1), libc6-sparc64-cross (>= 2.31) Filename: pool/universe/g/gcc-10-cross-ports/libatomic1-sparc64-cross_10.2.0-5ubuntu1~20.04cross1_all.deb Size: 7236 MD5sum: 60e4a545a3b1f61b88ed148afea53877 SHA1: 43a77207e519b67a579c2e187c92bfe3714c873b SHA256: 8cb1f529e9ad6ab55c92bfb01f57a69d6138675d72efea85186482280fe1d772 SHA512: 24f4c1b1cf7cd57f891cd05d5148a6c254a3f8aef49d8f8f67082dc5f987cd74611e3afbf221f10fef5b8a2212f1151e9e8946031d7374034b8e0198493038af 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-sparc64-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: 37 Depends: gcc-10-cross-base-ports (= 10-20200411-0ubuntu1cross1), libc6-sparc64-cross (>= 2.31) Filename: pool/universe/g/gcc-10-cross-ports/libatomic1-sparc64-cross_10-20200411-0ubuntu1cross1_all.deb Size: 7240 MD5sum: 425184e63547000a59cd7f8aecdef28e SHA1: 09895c602d5628b919b6a58e0746507cdebf6d6b SHA256: 5acbe744ddc55359029ec7cdd0d3472f6c0dbac0cee07226e78c867476fa6942 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-sparc64-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-sparc64-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-sparc64-cross using apt-get by running the following command:

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

Install libatomic1-sparc64-cross Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libatomic1-sparc64-cross

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

sudo aptitude -y install libatomic1-sparc64-cross

How To Uninstall libatomic1-sparc64-cross on Ubuntu 20.04

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

sudo apt-get remove libatomic1-sparc64-cross

Uninstall libatomic1-sparc64-cross And Its Dependencies

To uninstall libatomic1-sparc64-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-sparc64-cross

Remove libatomic1-sparc64-cross Configurations and Data

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

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

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

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

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

References

Summary

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