libarchive-dev software package provides Multi-format archive and compression library (development files), you can install in your Ubuntu 12.04 LTS (Precise Pangolin) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install libarchive-dev
libarchive-dev is installed in your system.
Make ensure the libarchive-dev package were installed using the commands given below,
$ sudo dpkg-query -l | grep libarchive-dev *
You will get with libarchive-dev package name, version, architecture and description in a table
| Distro | Ubuntu 12 04 lts precise pangolin |
| Section | Library development |
| Package | libarchive-dev |
| Version | 3.0.3-6ubuntu1.3 [amd64, i386] |
| Description | Multi-format archive and compression library (development files) |
| Sub Section | libdevel |