How To Install binutils-x86-64-linux-gnu-dbg on Ubuntu 20.04

In this tutorial we learn how to install binutils-x86-64-linux-gnu-dbg on Ubuntu 20.04. binutils-x86-64-linux-gnu-dbg is GNU binary utilities, for x86-64-linux-gnu target (debug symbols) GNU binary utilities, for x86-64-linux-gnu target (debug symbols)

Introduction

In this tutorial we learn how to install binutils-x86-64-linux-gnu-dbg on Ubuntu 20.04.

What is binutils-x86-64-linux-gnu-dbg

binutils-x86-64-linux-gnu-dbg is:

This package provides debug symbols for binutils-x86-64-linux-gnu.

Package: binutils-x86-64-linux-gnu-dbg Architecture: amd64 Version: 2.34-6ubuntu1 Multi-Arch: foreign Priority: optional Section: debug Source: binutils Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Matthias Klose [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 26554 Depends: binutils-x86-64-linux-gnu (= 2.34-6ubuntu1) Filename: pool/main/b/binutils/binutils-x86-64-linux-gnu-dbg_2.34-6ubuntu1_amd64.deb Size: 24863992 MD5sum: d0267b2bfa24e96da16d01b00b2f9cbc SHA1: 7fd99a3c20dc3d2f9949c4c3ae77e42d66bc7d36 SHA256: 220cf2bca754118a8df4efb15a4a90e311a5ecc6ec1eb96734dc7be76b2a806f Homepage: https://www.gnu.org/software/binutils/ Description-en: GNU binary utilities, for x86-64-linux-gnu target (debug symbols) This package provides debug symbols for binutils-x86-64-linux-gnu.

There are three methods to install binutils-x86-64-linux-gnu-dbg 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 binutils-x86-64-linux-gnu-dbg Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install binutils-x86-64-linux-gnu-dbg using apt-get by running the following command:

sudo apt-get -y install binutils-x86-64-linux-gnu-dbg

Install binutils-x86-64-linux-gnu-dbg Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install binutils-x86-64-linux-gnu-dbg using apt by running the following command:

sudo apt -y install binutils-x86-64-linux-gnu-dbg

Install binutils-x86-64-linux-gnu-dbg 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 binutils-x86-64-linux-gnu-dbg using aptitude by running the following command:

sudo aptitude -y install binutils-x86-64-linux-gnu-dbg

How To Uninstall binutils-x86-64-linux-gnu-dbg on Ubuntu 20.04

To uninstall only the binutils-x86-64-linux-gnu-dbg package we can use the following command:

sudo apt-get remove binutils-x86-64-linux-gnu-dbg

Uninstall binutils-x86-64-linux-gnu-dbg And Its Dependencies

To uninstall binutils-x86-64-linux-gnu-dbg and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove binutils-x86-64-linux-gnu-dbg

Remove binutils-x86-64-linux-gnu-dbg Configurations and Data

To remove binutils-x86-64-linux-gnu-dbg configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge binutils-x86-64-linux-gnu-dbg

Remove binutils-x86-64-linux-gnu-dbg configuration, data, and all of its dependencies

We can use the following command to remove binutils-x86-64-linux-gnu-dbg configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge binutils-x86-64-linux-gnu-dbg

References

Summary

In this tutorial we learn how to install binutils-x86-64-linux-gnu-dbg package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.