Currently released aptly version is 1.2.0 (what's new?)



aptly installation

Debian/Ubuntu: aptly package is available in Debian as well as Ubuntu. If you would like to install aptly on older versions of Debian / Ubuntu or to stay on the bleeding edge, aptly could be installed by adding new repository to /etc/apt/sources.list:

deb squeeze main

And importing key that is used to sign the release either from

# sudo apt-key adv --keyserver --recv-keys ED75B5A4483DA07C

or by downloading it (GPG key):

$ wget -qO - | sudo apt-key add -

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

# apt-get update
# apt-get install aptly

Please 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.

If you would like to use nightly (unstable) builds of aptly, add following line to /etc/apt/sources.list:

deb nightly main

Mac OS X: Installation using Homebrew:

$ brew install aptly

Binary distributions (depend almost only on libc) for Debian, CentOS, MacOS X & FreeBSD are available.

Debian/Ubuntu Linux (Debian, Ubuntu, RedHat, Centos, ...)
32-bit 64-bit
FreeBSD FreeBSD 9.2+
32-bit 64-bit
Mac OS X Mac OS X 10.9

Download archive, it contains binary executable:

$ tar xzf aptly_1.2.0_linux_amd64.tar.gz
$ aptly_1.2.0_linux_amd64/aptly version
aptly version: 1.2.0

Bash completion & manual page would be part of the archive as well.

If you have Go environment set up (go 1.6+ required), you can build aptly from source by cloning it and building:

$ mkdir -p $GOPATH/src/
$ git clone $GOPATH/src/
$ cd $GOPATH/src/
$ make install
# aptly binary would be built in $GOPATH/bin/
$ aptly