readme fix

This commit is contained in:
Aleksandr Zelenin 2018-10-23 07:10:34 +03:00
parent b8c6d69bad
commit 3709d1ca57

View file

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