-
linux telegram-cli 설치 및 사용법카테고리 없음 2015. 8. 25. 17:13반응형
작업 환경python2.7 and 3.3 이 설치 되어있어야 한다.telegram 다운 받기 및 압축 해제#wget https://github.com/vysheng/tg/archive/master.zip -O tg-master.zip #unzip tg-master.zip && cd tg-master
참고 : https://github.com/vysheng/tghttp://www.hardcopyworld.com/gnuboard5/bbs/board.php?bo_table=lecture_rpi&wr_id=7http://www.hardcopyworld.com/gnuboard5/bbs/board.php?bo_table=lecture_rpi&wr_id=13
빌드에 필요한 패키지 설치
yum install lua-devel openssl-devel libconfig-devel readline-devel libevent-devel
pip install future
git clone https://github.com/luckydonald/pytg.git && cd pytg
cd pytg2
python setup.py install
git clone https://github.com/vysheng/tg.git
cd tg
./configure --disable-json && make
bin/telegram-cli -k server.pub
tg 버전으로 설치 :
git clone --recursive https://github.com/vysheng/tg.git && cd tg
./configure --disable-json && make
bin/telegram-cli -k server.pub
phone number : 번호 입력
code ('CALL' for phone code):문자로 받은 코드 입력
반응형