C++ Archive Network
Reuse and share your code!





CPPAN is the crossplatform C/C++ dependency manager.
It is built on top of CMake and also has build system capabilities.
CPPAN supports fast script-style coding and prototyping as well as handling big projects.
Find, share and reuse libraries, publish your projects. Spend time on your code and not on managing dependencies.
CPPAN does it for you decreasing package include time to seconds!
It supports easy crosscompiling, inheriting and pushing your own settings, flags to every dependency.

Install





GitHub page
Documentation
Forums
Report issue
F.A.Q.
Demo project
One-file examples


After registration you will be able to upload your packages to CPPAN.

Install client
Requirements: CMake >= 3.2

Linux
Install using 'dpkg' or 'rpm' utilities. Requires C++14 compatible ABI (>= gcc-5).

Ubuntu 16.04:
sudo apt install cmake
wget https://cppan.org/client/cppan-master-Linux-client.deb
sudo dpkg -i cppan-master-Linux-client.deb

Ubuntu 14.04:
wget https://www.cmake.org/files/v3.6/cmake-3.6.1-Linux-x86_64.sh
sudo sh cmake-3.6.1-Linux-x86_64.sh --skip-license --prefix=/usr
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update && sudo apt-get install gcc-5
wget https://cppan.org/client/cppan-master-Linux-client.deb
sudo dpkg -i cppan-master-Linux-client.deb

Windows
Unpack the archive and put it to some dir under PATH
or directly to your project dir. MSVC redist 2015 is required.

macOS
wget https://cppan.org/client/cppan-master-macOS-client.zip
unzip cppan-master-macOS-client.zip
sudo cp cppan /usr/local/bin/

Statistics


Total downloads: 300001
Total packages: 733
Total versions: 1341

Recently added packages
# Package Version
1 pvt.cppan.demo.libxml2 2.9.4
2 pvt.cppan.demo.jbeder.yaml_cpp master
3 pvt.cppan.demo.badger.curl.libcurl 7.52.1
4 pvt.cppan.demo.c_ares master
5 pvt.cppan.demo.skarupke.flat_hash_map master
6 pvt.cppan.demo.tessil.ordered_map master
7 pvt.cppan.demo.stevenborisko.biginteger master
8 pvt.cppan.demo.openssl.crypto 1.10.5
9 pvt.cppan.demo.gnu.gettext.intl 0.19.8
10 pvt.cppan.demo.gnu.iconv.libcharset 1.14.0
Most popular direct dependency
# Package Version Downloads
1 pvt.cppan.demo.unicode.icu.i18n 58.2.0 216
2 pvt.cppan.demo.webp 0.5.1 119
3 pvt.cppan.demo.boost.log 1.63.0 117
4 pvt.cppan.demo.boost.variant 1.63.0 114
5 pvt.cppan.demo.poco.sqlite 1.7.5 113

Most popular indirect dependency
# Package Version Downloads
1 pvt.cppan.demo.zlib 1.2.8 2026
2 pvt.cppan.demo.zlib 1.2.9 607
3 pvt.cppan.demo.mgk25.jbig.ar 2.1.0 594
4 pvt.cppan.demo.mgk25.jbig.jbig 2.1.0 594
5 pvt.cppan.demo.boost.config 1.62.0 484