add precompiled deb

This commit is contained in:
Aleksandr Zelenin 2018-09-04 01:55:13 +03:00
parent 751e8ba5b4
commit c6ff1e1387
2 changed files with 12 additions and 3 deletions

View file

@ -6,6 +6,17 @@ Go wrapper for [TDLib (Telegram Database Library)](https://github.com/tdlib/td)
### Ubuntu 18.04 / Debian 9
#### Precompiled
```bash
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
```
#### Manual compilation
```bash
apt-get update -y
apt-get install -y \
@ -27,7 +38,6 @@ make -j$(getconf _NPROCESSORS_ONLN) install
rm -rf ./../../tdlib-src
```
## Usage
### Client