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

Last updated: November 26,2024

1. Install "libbsd-dev" package

Please follow the guidance below to install libbsd-dev on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libbsd-dev

2. Uninstall "libbsd-dev" package

This is a short guide on how to uninstall libbsd-dev on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libbsd-dev $ sudo apt autoclean && sudo apt autoremove

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

Package: libbsd-dev
Architecture: amd64
Version: 0.11.3-1ubuntu2
Multi-Arch: same
Priority: optional
Section: libdevel
Source: libbsd
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Guillem Jover
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 676
Depends: libbsd0 (= 0.11.3-1ubuntu2), libmd-dev
Replaces: libfreebsd-dev (<< 0.0-8)
Filename: pool/main/libb/libbsd/libbsd-dev_0.11.3-1ubuntu2_amd64.deb
Size: 164776
MD5sum: 51c6aa5b027e4812b6078590b9b22826
SHA1: c11c024e91604c8b42eb4529051cecf75307e944
SHA256: 2cc79244f94175ccf77cedca7eb7a5174e2cd19677785de8df6f6010c456e963
SHA512: 19d768a89cd6d360eca7855a7fec1563af85628010240005d62a53fb91e665799701a37c331f49703c331cb00cc99b307f743424e72a8f6775e88f209d9bc529
Homepage: https://libbsd.freedesktop.org/
Description-en: utility functions from BSD systems - development files
This library provides some functions commonly available on BSD systems but
not on others like GNU systems.
.
The currently provided functions are:
.
* _time32_to_time, _time_to_time32, _time64_to_time, _time_to_time64,
_time_to_long, _long_to_time, _time_to_int, _int_to_time.
* TIMEVAL_TO_TIMESPEC, TIMESPEC_TO_TIMEVAL.
* MD5Data, MD5End, MD5File, MD5FileChunk, MD5Final, MD5Init, MD5Pad,
MD5Transform, MD5Update.
* arc4random, arc4random_addrandom, arc4random_buf, arc4random_stir,
arc4random_uniform.
* bsd_getopt.
* be16dec, be32dec, be64dec, le16dec, le32dec, le64dec.
* be16enc, be32enc, be64enc, le16enc, le32enc, le64enc.
* bit_alloc, bit_decl, bit_clear, bit_ffc, bit_ffs, bit_nclear, bit_nset,
bit_set, bitstr_size, bit_test.
* closefrom.
* expand_number, dehumanize_number, humanize_number.
* explicit_bzero.
* errc, verrc, vwarnc, warnc.
* fmtcheck.
* fgetln, fparseln, fgetwln, flopen, flopenat, fpurge, funopen.
* freezero.
* getbsize.
* getmode, setmode, strmode,
* getpeereid.
* getprogname, setprogname.
* gid_from_group, group_from_gid.
* heapsort, radixsort, mergesort, sradixsort.
* nlist (ELF and a.out support).
* pidfile_open, ppidfile_filen, oidfile_write, pidfile_close, pidfile_remove.
* readpassphrase.
* reallocarray, reallocf, recallocarray.
* setproctitle (initialized via libbsd-ctor or setproctitle_init).
* sl_init, sl_add, sl_free, sl_find.
* strlcpy, strlcat.
* strnstr.
* nvis, snvis, stravis, strenvisx, strnunvis, strnunvisx, strnvis, strnvisx,
strsenvisx, strsnvis, strsnvisx, strsvis, strsvisx, strunvis, strunvisx,
strvis, strvisx, svis, unvis, vis.
* strtoi, strtonum, strtou.
* timeradd, timersub, timerclear, timerisset, timercmp.
* timespecadd, timespecsub, timespecclear, timespecisset, timespeccmp.
* uid_from_user, user_from_uid.
* wcslcat, wcslcpy.
.
Also included are some queue macro definitions not present on includes
from glibc.
Description-md5: fba2c17dcedcfa54676373df68526c89