Fixes for unix newbies

This commit is contained in:
Savely Krasovsky 2018-09-26 16:24:49 +00:00 committed by GitHub
parent 82b025b53e
commit be675ab9c6
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
Debian:
```bash
su
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"
apt-get update -y
apt-get install -y tdlib-dev
echo "deb [arch=amd64] https://repo.zelenin.pw common contrib" | tee "/etc/apt/sources.list.d/tdlib.list"
apt update
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