Need your own package repository for Alpine,
Raw & More?
Cloudsmith provides better DevOps with simple and secure delivery of your software, from dev to production.
To find out how to get setup locally so you can easily install packages, please select one of the formats from the tabs above.
Please note that the term repository here is Cloudsmith's concept of a package or artefact collection, and should not be confused with other package format specific meanings (such as the term as it is used by Docker, to mean a tagged image).
Note: Only help for package formats that exist in this repository is shown. You can also see the help for all package formats.
Debian Repository Setup
Apt/Dpkg is the package manager of choice for Debian-like systems (such as Ubuntu, Linux Mint, Raspbian, etc.)
The following instructions are for Debian or compatible packages only.
To install packages, you can quickly setup the repository automatically (recommended):
curl -1sLf \ 'https://dl.cloudsmith.io/public/caddy/stable/setup.deb.sh' \ | sudo -E bash
If you need to force a specific distribution, release/version, or even architecture, you can also do that (e.g. if your system is compatible but not identical):
curl -1sLf \ 'https://dl.cloudsmith.io/public/caddy/stable/setup.deb.sh' \ | sudo -E distro=some-distro codename=some-codename arch=some-arch bash
or ... you can manually configure it yourself before installing packages:
apt-get install -y debian-keyring # debian only apt-get install -y debian-archive-keyring # debian only apt-get install -y apt-transport-https curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.155B6D79CA56EA34.key' | apt-key add - curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/config.deb.txt?distro=ubuntu&codename=xenial' > /etc/apt/sources.list.d/caddy-stable.list apt-get update
Note: Please replace ubuntu and xenial above with your actual operating system (distribution and distribution release/version).
If you no longer want to install packages from the repository, you can remove it with:
rm /etc/apt/sources.list.d/caddy-stable.list apt-get clean rm -rf /var/lib/apt/lists/* apt-get update
What's this page? You can always download packages from Cloudsmith manually, but native package manager setup allows you to simplify and automate downloads. A native package manager has intelligence built-in that allows it to understand concepts like metadata, versioning, duplication, convergence, etc. As such, we will always recommend that you install natively where possible. Learn more in the setup documentation.