From 53d4d22b8f5e18c8d4f4fedee19ee7c29e9a6c1d Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 11 Feb 2020 10:40:05 +0200 Subject: Change: installation instrauctions, drop source.mdwn Combine source.mdwn and download.mdwn, and add installation instructions to download.mdwn. --- download.mdwn | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- index.mdwn | 1 - source.mdwn | 9 ------- 3 files changed, 81 insertions(+), 14 deletions(-) delete mode 100644 source.mdwn diff --git a/download.mdwn b/download.mdwn index f395a22..338bb19 100644 --- a/download.mdwn +++ b/download.mdwn @@ -1,7 +1,84 @@ [[!meta title="Download and install"]] -There is not yet any source code for Subplot. There was a prototype -before the name changed, see . +## Source code -The git repository containing the source of this website is at -. +Subplot 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 + +Subplot is written in the Rust language, and you need the Rust +toolchain and cargo installed. If you have that installed and +configured, you can build and install Subplot from source as follows: + +~~~sh +git clone https://gitlab.com/larswirzenius/subplot +cd subplot +cargo build +cargo install --path=. +~~~ + +## Debian + +There are Debian packages built by CI from every commit. They work on +Debian 10 (buster) ans later. Add the following to +`/etc/apt/sources.list.d/subplot.list`: + +~~~ +deb http://ci-prod-controller.vm.liw.fi/debian unstable-ci main +~~~ + +Then save the following PGP public key to +`/etc/apt/trusted.gpg.d/subplot.asc`: + +~~~ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBFrLO7kBEADdz6mHstYmKU5Dp6OSjxWtWaqTDOX1sJdmmaIK/9EKVIH0Maxp +5kvVO5G6mULLAjv/kLG0MxasHPrq8I2A/y8AqKAGVL8QelwLjQMIFZ30/VbGQPHS ++T5TZXEnoQtNce1GUhFwJ38ZyjjwHBFV9tSec7rZ2Q3YeM3nNnGPf6DacXGfEOPO +HIN4sXAN2hzNXNjKRzTIvxQseb6nr7afUh/SlZ3yhQOCrIzmYlD7tP9WJe7ofL0p +JY4pDQY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foW+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 Subplot: + +~~~sh +apt update +apt install subplot +~~~ + +## Other systems + +The Subplot 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! diff --git a/index.mdwn b/index.mdwn index 7d8a5ca..953a8a0 100644 --- a/index.mdwn +++ b/index.mdwn @@ -1,7 +1,6 @@ [[!meta title="Subplot"]] [[Download]] — -[[Source]] — [[Documentation|docs]] — [[Contact]] — [[License]] — diff --git a/source.mdwn b/source.mdwn deleted file mode 100644 index 8f5e231..0000000 --- a/source.mdwn +++ /dev/null @@ -1,9 +0,0 @@ -[[!meta title="Source code"]] - -Subplot 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. -- cgit v1.2.1