-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInstaller
More file actions
30 lines (30 loc) · 1.09 KB
/
Installer
File metadata and controls
30 lines (30 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/env bash
RED='\033[0;31m'
NC='\033[0m'
CYAN='\033[0;36m'
echo -e " "
echo -e "${CYAN}Installin ....${NC}"
echo -e " "
wget "https://valtman.name/files/telegram-cli-1222"
sudo apt-get -y install libreadline6 libreadline-dev libreadline-dev libreadline6-dev libconfig-dev libssl-dev tmux lua5.2 liblua5.2-dev lua-socket lua-sec lua-expat libevent-dev make unzip redis-server autoconf git g++ libjansson-dev libpython-dev expat libexpat1-dev ppa-purge python3-pip python3-dev software-properties-common python-software-properties gcc-6
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get dist-upgrade -y
sudo ppa-purge -y
git clone http://github.com/keplerproject/luarocks
cd luarocks
./configure --lua-version=5.2
make build
sudo make install
cd ..
sudo luarocks install redis
sudo service redis-server restart -y
mv telegram-cli-1222 TGL
chmod 777 TGL
chmod 777 Runner.sh
echo -e "${CYAN}Installation Completed! Create a bot with [lua MakeFile.lua]${NC}"
echo -e " "
echo -e " "
echo -e "${RED} @SPRCPU_Company ${NC}"
exit