How To Install liblsan0-ppc64-cross on Ubuntu 20.04

In this tutorial we learn how to install liblsan0-ppc64-cross on Ubuntu 20.04. liblsan0-ppc64-cross is LeakSanitizer – a memory leak detector (runtime) LeakSanitizer – a memory leak detector (runtime) LeakSanitizer – a memory leak detector (runtime)

Introduction

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

What is liblsan0-ppc64-cross

liblsan0-ppc64-cross is:

LeakSanitizer (Lsan) is a memory leak detector which is integrated into AddressSanitizer.

Package: liblsan0-ppc64-cross 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: 601 Depends: gcc-10-cross-base-ports (= 10.2.0-5ubuntu1~20.04cross1), libc6-ppc64-cross (>= 2.31), libgcc-s1-ppc64-cross (>= 3.3) Filename: pool/universe/g/gcc-10-cross-ports/liblsan0-ppc64-cross_10.2.0-5ubuntu1~20.04cross1_all.deb Size: 155356 MD5sum: d198865848f16555e7efb8a322a3e0fe SHA1: 43855aed54b0a79c4143f517344b97fdea0aec5a SHA256: 1aae499aaa4fc30bd5ad3716c829ec2cb81c432e3df7dd2e306ae67f7b2c5429 SHA512: 7911ad32604f1902c2318a8f07b01bfb3b32779b9fafcb0537c09b6ef3b31ad5ab444a2d4706f56b7a4450d3bd56009289e83a1b4d4a07df21b3278aa5117b84 Homepage: http://gcc.gnu.org/ Description-en: LeakSanitizer – a memory leak detector (runtime) LeakSanitizer (Lsan) is a memory leak detector which is integrated into AddressSanitizer.

Package: liblsan0-ppc64-cross 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: 601 Depends: gcc-10-cross-base-ports (= 10-20200411-0ubuntu1cross1), libc6-ppc64-cross (>= 2.31), libgcc-s1-ppc64-cross (>= 3.3) Filename: pool/universe/g/gcc-10-cross-ports/liblsan0-ppc64-cross_10-20200411-0ubuntu1cross1_all.deb Size: 155856 MD5sum: 70ce0c1857f7744b7e0a66a337080345 SHA1: 66ef0c9c047ca92172be224783048c2f4f89e572 SHA256: cdced250ba18ee212104575c3d86631f8feb68315b85ce6fb04eb32d99b1911e Homepage: http://gcc.gnu.org/ Description-en: LeakSanitizer – a memory leak detector (runtime) LeakSanitizer (Lsan) is a memory leak detector which is integrated into AddressSanitizer.

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

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

Install liblsan0-ppc64-cross Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install liblsan0-ppc64-cross

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

sudo aptitude -y install liblsan0-ppc64-cross

How To Uninstall liblsan0-ppc64-cross on Ubuntu 20.04

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

sudo apt-get remove liblsan0-ppc64-cross

Uninstall liblsan0-ppc64-cross And Its Dependencies

To uninstall liblsan0-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 liblsan0-ppc64-cross

Remove liblsan0-ppc64-cross Configurations and Data

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

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

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

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

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

References

Summary

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