How to Install and Uninstall libpthread-stubs0-dev Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 15,2024

1. Install "libpthread-stubs0-dev" package

Please follow the steps below to install libpthread-stubs0-dev on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libpthread-stubs0-dev

2. Uninstall "libpthread-stubs0-dev" package

This guide let you learn how to uninstall libpthread-stubs0-dev on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libpthread-stubs0-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the libpthread-stubs0-dev package on Ubuntu 21.04 (Hirsute Hippo)

Package: libpthread-stubs0-dev
Architecture: amd64
Version: 0.4-1
Multi-Arch: same
Priority: optional
Section: libdevel
Source: libpthread-stubs
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian X Strike Force
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 18
Filename: pool/main/libp/libpthread-stubs/libpthread-stubs0-dev_0.4-1_amd64.deb
Size: 5384
MD5sum: 6ce3adc7803d352a4f69e57af072024e
SHA1: c365ec263d419bf961bb8b8ca9a4f68cc7b0efce
SHA256: 8d0237fee67bf985d5c772c1366ff968b2d710aeff094963d4275e8de22aaa92
SHA512: 478b0e7424f3ca35656f7cb46888dbac2a6100531da474ee0c82c7f219bd0fe3a96635c751a9e246a69d214cee6c11b9362cc4f005677c6c2e4aa24155f978bc
Description-en: pthread stubs not provided by native libc, development files
This library provides weak aliases for pthread functions not provided
in libc or otherwise available by default. Libraries like libxcb rely
on pthread stubs to use pthreads optionally, becoming thread-safe when
linked to libpthread, while avoiding any performance hit when running
single-threaded. libpthread-stubs supports this behavior even on
platforms which do not supply all the necessary pthread stubs.
.
On platforms which already supply all the necessary pthread stubs, this
package ships only the pkg-config file pthread-stubs.pc, to allow
libraries to unconditionally express a dependency on pthread-stubs and
still obtain correct behavior.
Description-md5: febf47fd836991c5b22ad0c176b41e1b