Created
May 8, 2017 03:18
-
-
Save ianklatzco/b182132b47e055f97f4063bb579e979d to your computer and use it in GitHub Desktop.
install tg/telegram-cli on linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
git clone --recursive https://github.com/vysheng/tg.git && \ | |
cd tg && \ | |
sudo apt-get update -y && sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev libjansson-dev libpython-dev make && \ | |
./configure && \ | |
make && \ | |
cd ./bin && \ | |
./telegram-cli |
greg-benner-klick-sensei
commented
Jul 23, 2018
Not sure what the errors mean, something about Crypto keys. This is on Ubuntu 18.04
decided to problemm?
@vlaktion @greg-benner-klick-sensei
Problem can be fixed by adding --disable-openssl when configure.
./configure --disable-openssl
but first of all u must install libgcrypt11-dev, also zlib1g-dev is needed for successful process
So all must be like dat one (@ianklatzco):
#!/bin/bash
git clone --recursive https://github.com/vysheng/tg.git && \
cd tg && \
sudo apt-get update -y && sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev libjansson-dev libpython-dev zlib1g-dev libgcrypt11-dev make && \
./configure --disable-openssl && \
make && \
cd ./bin && \
./telegram-cli
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment