Update install documentation to reflect packaging updates

This commit is contained in:
Alexander Bantyev 2020-05-21 18:56:44 +03:00
parent d5089bfa13
commit 91f31f2914
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5
2 changed files with 21 additions and 10 deletions

View File

@ -40,20 +40,31 @@ curl https://gitlab.com/ligolang/ligo/raw/master/scripts/installer.sh | bash -s
ligo --help ligo --help
``` ```
## Static Linux binary
We have built ligo executable statically. It should run on most modern Linux distributions.
To use it, get it [here](/bin/linux/ligo), make it executable, you're done!
```zsh
wget https://ligolang.org/bin/linux/ligo
chmod +x ./ligo
```
Optionally, you can put it somewhere in your `PATH` for easy access:
```zsh
sudo cp ./ligo /usr/local/bin
```
## Debian Linux package installation ## Debian Linux package installation
We have produced .deb packages for a few Debian Linux versions. They will install a global `ligo` executable. We have produced .deb package with the static executable of ligo.
First download one of the packages below, and then install using: First download [the package](/deb/ligo.deb), and then install using:
```zsh
sudo apt install ./ligo.deb
``` ```
sudo apt install ./<package_name_here>.deb
```
- [Ubuntu 18.04](/deb/ligo_ubuntu-18.04.deb)
- [Ubuntu 19.10](/deb/ligo_ubuntu-19.10.deb)
- [Debian 9](/deb/ligo_debian-9.deb)
- [Debian 10](/deb/ligo_debian-10.deb)
## Release schedule ## Release schedule

View File

@ -9,7 +9,7 @@ buildNpmPackage {
''; '';
installPhase = '' installPhase = ''
cp -Lr build $out cp -Lr build $out
cp -r ${ligo-deb}/* $out/deb cp -r ${ligo-deb}/*.deb $out/deb/ligo.deb
mkdir -p $out/bin/linux mkdir -p $out/bin/linux
cp -r ${ligo-static}/bin/ligo $out/bin/linux/ligo cp -r ${ligo-static}/bin/ligo $out/bin/linux/ligo
cp -r ${ligo-doc}/share/doc $out/odoc cp -r ${ligo-doc}/share/doc $out/odoc