How to Install and Uninstall libpthread-stubs0-dev Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: September 20,2024

1. Install "libpthread-stubs0-dev" package

Please follow the steps below to install libpthread-stubs0-dev on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "libpthread-stubs0-dev" package

Please follow the guidance below to uninstall libpthread-stubs0-dev on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the libpthread-stubs0-dev package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: libpthread-stubs0-dev
Priority: optional
Section: libdevel
Installed-Size: 40
Maintainer: Ubuntu Developers
Original-Maintainer: XCB Developers
Architecture: amd64
Source: libpthread-stubs
Version: 0.3-4
Filename: pool/main/libp/libpthread-stubs/libpthread-stubs0-dev_0.3-4_amd64.deb
Size: 4068
MD5sum: 72d8c78edd40a66deffe3cf0d2678a2e
SHA1: 61313c77badcbd22adf63af4bf621b690f7f88c8
SHA256: fd572751e9b9106f90fcd701828ec26f0e1b825680eea9851ddc8c0e9221a4d7
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
Multi-Arch: same
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: ubuntu-sdk-libs-dev