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.


GitHub page
Report issue
Support CPPAN
Demo project
One-file examples

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

Install client
Requirements: CMake >= 3.2

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

Unpack the archive and put it to some dir under PATH
or directly to your project dir.

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


Total downloads: 2463826
Total packages: 1100
Total versions: 3458

Recently added packages
# Package Version
1 pvt.cppan.demo.stellar_group.hpx.plugins.parcel.coalescing 1.1.0
2 pvt.cppan.demo.stellar_group.hpx.plugins.binary_filter.zlib 1.1.0
3 pvt.cppan.demo.stellar_group.hpx.plugins.binary_filter.snappy 1.1.0
4 pvt.cppan.demo.stellar_group.hpx.plugins.binary_filter.bzip2 1.1.0
5 pvt.cppan.demo.stellar_group.hpx.hpx 1.1.0
6 pvt.cppan.demo.stellar_group.hpx.components.storage 1.1.0
7 pvt.cppan.demo.stellar_group.hpx.components.process 1.1.0
8 pvt.cppan.demo.stellar_group.hpx.components.memory 1.1.0
9 pvt.cppan.demo.stellar_group.hpx.components.iostreams 1.1.0
10 pvt.cppan.demo.stellar_group.hpx.components.containers.unordered 1.1.0
Most popular direct dependency
# Package Version Downloads
1 pvt.egorpugin.primitives.filesystem master 1687
2 pvt.egorpugin.primitives.executor master 1612
3 pvt.egorpugin.primitives.log master 1583
4 pvt.egorpugin.primitives.hash master 1569
5 pvt.egorpugin.primitives.http master 1568

Most popular indirect dependency
# Package Version Downloads
1 pvt.cppan.demo.madler.zlib 1.2.11 11766
2 pvt.cppan.demo.bzip2 1.0.6 10525
3 pvt.cppan.demo.gnu.iconv.libcharset 1.15.0 10323
4 pvt.cppan.demo.gnu.iconv.libiconv 1.15.0 10248
5 pvt.cppan.demo.unicode.icu.data 59.1.0 5813