Pulling a Debian package from a registry
Follow this guide to install a Debian package from a Yandex Cloud Registry using the APT package manager
To pull a Debian package, you need the cloud-registry.artifacts.puller role or higher.
Before you begin, configure APT to work with the registry.
Installing from a local registry
A local registry contains packages created and published within your organization.
-
Update the list of packages:
apt-get update -
Install a package:
apt-get install <package_name>Where
<package_name>is the name of the package to install.
Installing from a remote registry
A remote registry acts as a proxy for external Debian repositories. Remote registries cache packages locally after the first request.
Caching is only supported for registries that implement one of the following package storage formats:
- Standard format:
/pool/<component>/<letter>/<package_name>/...deb. This format is used in repositories such asarchive.ubuntu.comanddeb.debian.org. - Cloud Registry format.
Note
Remote registries do not support the Flat Repository Format
-
Update the list of packages:
apt-get update -
Install a package:
apt-get install <package_name>Where
<package_name>is the name of the package being installed from an external repository.Upon the first request, the package will be pulled from the external repository and stored in the cache. During subsequent installations, the package will be loaded from the cache.