Improve installation on linux

This commit is contained in:
Federico Terzi 2019-09-22 17:07:44 +02:00
parent 1d6aaaf56c
commit 7891d47502
2 changed files with 32 additions and 6 deletions

6
docs.html Normal file
View File

@ -0,0 +1,6 @@
---
title: Documentation
layout: default
showParticles: True
---
TODO

View File

@ -8,12 +8,11 @@ have many problems making it work on others.
* [Ubuntu/Debian](#installing-on-ubuntu--debian) * [Ubuntu/Debian](#installing-on-ubuntu--debian)
* [Manjaro/Arch](#installing-on-manjaro--arch) * [Manjaro/Arch](#installing-on-manjaro--arch)
* [Others](#installing-on-other-distros)
#### Installing on Ubuntu / Debian #### Installing on Ubuntu / Debian
Espanso depends upon the `X11 Record Extension`, the `XDO library` and the `xclip` command, Espanso depends upon the `X11 Record Extension`, the `xdo library` and the `xclip` command,
so you will need to install those first with the following command: so you will need to install those first with the following commands:
``` ```
sudo apt update sudo apt update
@ -41,8 +40,29 @@ If you now type `:espanso` in any text field, you should see "Hi there!" appear!
#### Installing on Manjaro / Arch #### Installing on Manjaro / Arch
TODO Espanso depends upon the `X11 Record Extension`, the `xdo library` and the `xclip` command,
so you will need to install those first with the following commands:
#### Installing on Other Distros ```
sudo pacman -Sy
sudo pacman -S libxtst xdotool xclip
```
TODO You can now download the latest espanso release:
```
curl -L https://github.com/federico-terzi/espanso/releases/latest/download/espanso-linux.tar.gz | tar -xz -C /tmp/
```
And then move it to the `/usr/local/bin/` directory
```
sudo mv /tmp/espanso /usr/local/bin/espanso
```
You should now have espanso installed in your system. To start it, type the following command:
```
espanso start
```
If you now type `:espanso` in any text field, you should see "Hi there!" appear!