Update build instructions.

This commit is contained in:
Andrey Smirnov
2014-03-11 13:34:55 +04:00
parent 16d5da8889
commit 431a1da0b7

View File

@@ -29,8 +29,6 @@ Current limitations:
* debian-installer and translations not supported yet
Currently aptly is under heavy development, so please use it with care.
Download
--------
@@ -38,6 +36,16 @@ Binary executables (depends almost only on libc) are available for download from
If you have Go environment set up, you can build aptly from source by running (go 1.1+ required)::
go get github.com/smira/aptly
go get -u github.com/mattn/gom
mkdir -p $GOPATH/src/github.com/smira/aptly
git clone https://github.com/smira/aptly $GOPATH/src/github.com/smira/aptly
cd $GOPATH/src/github.com/smira/aptly
gom install
gom build -o $GOPATH/bin/aptly
Aptly is using `gom <https://github.com/mattn/gom>`_ to fix external dependencies, so regular ``go get github.com/smira/aptly``
should work as well, but might fail or produce different result (if external libraries got updated).
If you don't have Go installed (or older version), you can easily install Go using `gvm <https://github.com/moovweb/gvm/>`_.