Merge pull request #1 from L11R/patch-1

Fixes for unix newbies
This commit is contained in:
Aleksandr Zelenin 2018-10-23 00:42:04 +03:00 committed by GitHub
commit b8c6d69bad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,11 +8,21 @@ Go wrapper for [TDLib (Telegram Database Library)](https://github.com/tdlib/td)
#### Precompiled #### Precompiled
Debian:
```bash ```bash
su
curl "https://repo.zelenin.pw/gpg.key" | apt-key add - curl "https://repo.zelenin.pw/gpg.key" | apt-key add -
echo "deb [arch=amd64] https://repo.zelenin.pw common contrib" > "/etc/apt/sources.list.d/tdlib.list" echo "deb [arch=amd64] https://repo.zelenin.pw common contrib" | tee "/etc/apt/sources.list.d/tdlib.list"
apt-get update -y apt update
apt-get install -y tdlib-dev apt install -y tdlib-dev libssl-dev zlib1g-dev
```
Ubuntu:
```bash
curl "https://repo.zelenin.pw/gpg.key" | sudo apt-key add -
echo "deb [arch=amd64] https://repo.zelenin.pw common contrib" | sudo tee "/etc/apt/sources.list.d/tdlib.list"
sudo apt update
sudo apt install -y tdlib-dev libssl-dev zlib1g-dev
``` ```
#### Manual compilation #### Manual compilation