CentOS7 安装 Telegram
- 以root用户登陆 ->返回根目录
cd ..
安装编译器
yum install gcc
安装编译环境
yum -y install lua-devel openssl-devel libconfig-devel readline-devel libevent-devel git uuid-devel libuuid libuuid-devel
Clone项目
git clone --recursive https://github.com/vysheng/tg.git
cd tg
./configure
make
返回上级目录创建文件夹
mkdir tgconfig