How to Install and Uninstall libpthread-stubs0-dev Package on Ubuntu 21.10 (Impish Indri)

Last updated: December 23,2024

1. Install "libpthread-stubs0-dev" package

Please follow the steps below to install libpthread-stubs0-dev on Ubuntu 21.10 (Impish Indri)

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

2. Uninstall "libpthread-stubs0-dev" package

This guide covers the steps necessary to uninstall libpthread-stubs0-dev on Ubuntu 21.10 (Impish Indri):

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

3. Information about the libpthread-stubs0-dev package on Ubuntu 21.10 (Impish Indri)

Package: libpthread-stubs0-dev
Architecture: amd64
Version: 0.4-1build1
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-1build1_amd64.deb
Size: 5456
MD5sum: 548480000586ee19280c304118ac4a49
SHA1: 8d36217c2562050999985f417cccee1ce13d7d7d
SHA256: 5c01c9347c86500ab1c6aefdc0f28bc1d18d7baa685b0bea01067c489d6da97b
SHA512: 0539129d777c7528916149d5e7be67a523c0a8c5090572dca4b312d3554b52e9db2ba54427f257830df15e650363eedcf26003adbdabe49d7473732fe21ac3ac
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