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

Last updated: May 14,2024

1. Install "libarchive-dev" package

Please follow the guidelines below to install libarchive-dev on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libarchive-dev

2. Uninstall "libarchive-dev" package

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

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

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

Package: libarchive-dev
Architecture: amd64
Version: 3.4.3-2
Multi-Arch: same
Priority: optional
Section: libdevel
Source: libarchive
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Peter Pentchev
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1754
Depends: libarchive13 (= 3.4.3-2)
Filename: pool/main/liba/libarchive/libarchive-dev_3.4.3-2_amd64.deb
Size: 497152
MD5sum: 6a26e1d3d09a6b66b899325aa82e614b
SHA1: 5a88053d83f8989ed1a7a417aafbe341f877de79
SHA256: e6c1053d2977e670b2a4ac53de9c9f25cbb46964a036049e198d0adbd24092e1
SHA512: 0155bb1da8d0ac675fc1da96013f7b9118ab73684059068d7fa2481b80d7936f836a016136fda42668c79190b1828c8c641490522012a3b161f076a4d4cdec84
Homepage: https://www.libarchive.org/
Description-en: Multi-format archive and compression library (development files)
The libarchive library provides a flexible interface for reading and writing
archives in various formats such as tar and cpio. libarchive also supports
reading and writing archives compressed using various compression filters such
as gzip and bzip2. The library is inherently stream-oriented; readers serially
iterate through the archive, writers serially add things to the archive.
.
Archive formats supported are:
.
* tar (read and write, including GNU extensions)
* pax (read and write, including GNU and star extensions)
* cpio (read and write, including odc and newc variants)
* iso9660 (read and write, including Joliet and Rockridge extensions, with
some limitations)
* zip (read only, with some limitations, uses zlib)
* mtree (read and write)
* shar (write only)
* ar (read and write, including BSD and GNU/SysV variants)
* empty (read only; in particular, note that no other format will accept an
empty file)
* raw (read only)
* xar (read only)
* rar (read only, with some limitations)
* 7zip (read and write, with some limitations)
.
Filters supported are:
.
* gzip (read and write, uses zlib)
* bzip2 (read and write, uses bzlib)
* compress (read and write, uses an internal implementation)
* uudecode (read only)
* separate command-line compressors with fixed-signature auto-detection
* xz and lzma (read and write using liblzma)
* zstandard (read and write using libzstd)
.
This package provides the files necessary for development with libarchive.
Description-md5: 68ad6870c167e8363f56ccdc0da60667