Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
neolynx committed Jan 11, 2025
1 parent 851c509 commit caef69d
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,22 @@ Current limitations:
Install Stable Version
-----------------------

To install aptly on Debian/Ubuntu, add new repository to ``/etc/apt/sources.list``::
Aptly packages (aptly, aptly-api) are available in `Debian <https://packages.debian.org/search?keywords=aptly>`_ and `Ubuntu <https://packages.ubuntu.com/search?keywords=aptly>`_.

deb http://repo.aptly.info/ squeeze main
To install upstream aptly versions, add the following to ``/etc/apt/sources.list.d/aptly.list``::

deb [signed-by=/etc/apt/keyrings/aptly.asc] http://repo.aptly.info/release DIST main
Where DIST needs to be changed to the distribution: buster / bullseye / bookworm (Debian) or focal / jammy / noble (Ubuntu).

And import key that is used to sign the release::

$ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EE727D4449467F0E
$ sudo wget -O /etc/apt/keyrings/aptly.asc https://www.aptly.info/pubkey.txt
For releases older than Debian 12 and Ubuntu 22.04, create the directory first: ``sudo mkdir /etc/apt/keyrings``.

After that you can install aptly as any other software package::

$ apt-get update
$ apt-get install aptly

Don't worry about squeeze part in repo name: aptly package should work on Debian squeeze+,
Ubuntu 10.0+. Package contains aptly binary, man page and bash completion.
$ apt-get install aptly # aptly-api

Other Binaries
~~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit caef69d

Please sign in to comment.