github.com/abalabdev/axlcoin@v0.0.0-20191212060057-b2e55795b172/Core/Geth-1.8.11/build/ci-notes.md (about)

     1  # Debian Packaging
     2  
     3  Tagged releases and develop branch commits are available as installable Debian packages
     4  for Ubuntu. Packages are built for the all Ubuntu versions which are supported by
     5  Canonical.
     6  
     7  Packages of develop branch commits have suffix -unstable and cannot be installed alongside
     8  the stable version. Switching between release streams requires user intervention.
     9  
    10  The packages are built and served by launchpad.net. We generate a Debian source package
    11  for each distribution and upload it. Their builder picks up the source package, builds it
    12  and installs the new version into the PPA repository. Launchpad requires a valid signature
    13  by a team member for source package uploads. The signing key is stored in an environment
    14  variable which Travis CI makes available to certain builds.
    15  
    16  We want to build go-ethereum with the most recent version of Go, irrespective of the Go
    17  version that is available in the main Ubuntu repository. In order to make this possible,
    18  our PPA depends on the ~gophers/ubuntu/archive PPA. Our source package build-depends on
    19  golang-1.10, which is co-installable alongside the regular golang package. PPA dependencies
    20  can be edited at https://launchpad.net/%7Eethereum/+archive/ubuntu/ethereum/+edit-dependencies
    21  
    22  ## Building Packages Locally (for testing)
    23  
    24  You need to run Ubuntu to do test packaging.
    25  
    26  Add the gophers PPA and install Go 1.10 and Debian packaging tools:
    27  
    28      $ sudo apt-add-repository ppa:gophers/ubuntu/archive
    29      $ sudo apt-get update
    30      $ sudo apt-get install build-essential golang-1.10 devscripts debhelper
    31  
    32  Create the source packages:
    33  
    34      $ go run build/ci.go debsrc -workdir dist
    35  
    36  Then go into the source package directory for your running distribution and build the package:
    37  
    38      $ cd dist/ethereum-unstable-1.6.0+xenial
    39      $ dpkg-buildpackage
    40  
    41  Built packages are placed in the dist/ directory.
    42  
    43      $ cd ..
    44      $ dpkg-deb -c geth-unstable_1.6.0+xenial_amd64.deb