How To Install libc-dev-bin on Ubuntu 20.04

In this tutorial we learn how to install libc-dev-bin on Ubuntu 20.04. libc-dev-bin is GNU C Library GNU C Library

Introduction

In this tutorial we learn how to install libc-dev-bin on Ubuntu 20.04.

What is libc-dev-bin

libc-dev-bin is:

This package contains utility programs related to the GNU C Library development package. Task: ubuntustudio-video, ubuntu-mate-core, ubuntu-mate-desktop Original-Vcs-Browser: https://salsa.debian.org/glibc-team/glibc Original-Vcs-Git: https://salsa.debian.org/glibc-team/glibc.git Build-Essential: yes

Package: libc-dev-bin Architecture: amd64 Version: 2.31-0ubuntu9 Multi-Arch: foreign Priority: optional Section: libdevel Source: glibc Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: GNU Libc Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 440 Depends: libc6 (» 2.31), libc6 (« 2.32) Recommends: manpages, manpages-dev Filename: pool/main/g/glibc/libc-dev-bin_2.31-0ubuntu9_amd64.deb Size: 71820 MD5sum: 44601da0e5806b2e39a94dad2c95a363 SHA1: d331c98a19dd59036bf4c8bcf71fd5dcd7d6fd2b SHA256: 51bf3e807747de738435e9aa4213f43ec62769d7178614e4db9de387446c714e Homepage: https://www.gnu.org/software/libc/libc.html Description-en: GNU C Library: Development binaries This package contains utility programs related to the GNU C Library development package. Task: ubuntustudio-video, ubuntu-mate-core, ubuntu-mate-desktop Build-Essential: yes

There are three methods to install libc-dev-bin 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 libc-dev-bin Using apt-get

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

sudo apt-get update

After updating apt database, We can install libc-dev-bin using apt-get by running the following command:

sudo apt-get -y install libc-dev-bin

Install libc-dev-bin Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libc-dev-bin using apt by running the following command:

sudo apt -y install libc-dev-bin

Install libc-dev-bin 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 libc-dev-bin using aptitude by running the following command:

sudo aptitude -y install libc-dev-bin

How To Uninstall libc-dev-bin on Ubuntu 20.04

To uninstall only the libc-dev-bin package we can use the following command:

sudo apt-get remove libc-dev-bin

Uninstall libc-dev-bin And Its Dependencies

To uninstall libc-dev-bin and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libc-dev-bin

Remove libc-dev-bin Configurations and Data

To remove libc-dev-bin configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libc-dev-bin

Remove libc-dev-bin configuration, data, and all of its dependencies

We can use the following command to remove libc-dev-bin configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libc-dev-bin

References

Summary

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