From 18c8e7ef9497226259bace59c4a2c13376d04962 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 22 Dec 2020 08:57:04 +0200 Subject: add download page --- download.mdwn | 95 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 download.mdwn diff --git a/download.mdwn b/download.mdwn new file mode 100644 index 0000000..1202e3f --- /dev/null +++ b/download.mdwn @@ -0,0 +1,95 @@ +[[!meta title="Download and install"]] + +## Source code + +Obnam source code is distributed via the git version control system. +There are two repositories, which are intended to be identical: + +* GitLab: +* git.liw.fi: + +Use either according to preference. + +## Build and install from source + +Obnam is written in the [Rust language](https://www.rust-lang.org/), +and you need the Rust toolchain and the `cargo` tool installed. If you +have that installed and configured, you can build and install Obnam +from source as follows: + +~~~sh +git clone https://gitlab.com/larswirzenius/obnam +cd obnam +cargo build +cargo install --path=. +~~~ + +The `debian/control` file lists the necessary packages under the +`Depends` and `Build-Depends` headings. + +## Debian + +There is a Debian package built by CI from every commit. It works on +Debian 10 (buster) and later. We have a script to install it: + +~~~sh +curl -s https://gitlab.com/larswirzenius/obnam/-/raw/main/install-debian.sh | sudo bash +~~~ + +If you'd rather not download a script from the Internet and run it as +root (kudos!), you can do the same steps manually. Add the following +to `/etc/apt/sources.list.d/obnam.list`: + +~~~ +deb http://ci-prod-controller.vm.liw.fi/debian unstable-ci main +~~~ + +Then save the following PGP public key as +`/etc/apt/trusted.gpg.d/obnam.asc`: + +~~~ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBFrLO7kBEADdz6mHstYmKU5Dp6OSjxWtWaqTDOX1sJdmmaIK/9EKVIH0Maxp +5kvVO5G6mULLAjv/kLG0MxasHPrq8I2A/y8AqKAGVL8QelwLjQMIFZ30/VbGQPHS ++T5TZXEnoQtNce1GUhFwJ38ZyjjwHBFV9tSec7rZ2Q3YeM3nNnGPf6DacXGfEOPO +HIN4sXAN2hzNXNjKRzTIvxQseb6nr7afUh/SlZ3yhQ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7JBD +SR6Vftb+SdDR9xoE1yRuXbC6IfoW+5/qQNrdQ2mm9BFw5jOonBqchs18HTTf3441 +6SWwP9fY3Vi+IZphPPi0Gf85oMStgnv/Wnw6LacEL32ek39Desero/D8iGLZernK +Q2mC9mua5A/bYGVhsNWyURNFkKdbFa+/wW3NfdKYyZnsSfo+jJ2luNewrhAY7Kod +GWXTer9RxzTGA3EXFGvNr+BBOOxSj0SfWTl0Olo7J5dnxof+jLAUS1VHpceHGHps +GSJSdir7NkZidgwoCPA7BTqsb5LN +=dXB0 +-----END PGP PUBLIC KEY BLOCK----- +~~~ + + +After that run the following commands to install Obnam: + +~~~sh +apt update +apt install obnam +~~~ + +## Other systems + +The Obnam developers all use Debian on the 64-bit Intel +architecture, and don't provide installation packages for other kinds +of systems (other architectures, other operating systems). If you'd +like to help with that, it would be very much welcome! -- cgit v1.2.1