If you use a different package manager than the ones above, the following is a list of required packages: libreadline-dev (readline)īot installation cd $HOME (Note : Dont use if you are using c9)
#Libjansson mac mac os x
OpenBSD pkg_add libconfig libexecinfo luaĬheck out vysheng/tg/README.md: Mac OS X Required packages Gentoo sudo emerge -av sys-libs/readline dev-libs/libconfig dev-libs/openssl dev-lang/lua dev-libs/libevent dev-libs/janssonįedora sudo yum install lua-devel openssl-devel libconfig-devel readline-devel libevent-devel libjansson-devel git redis gcc make unzip gcc-c++ expat-develĪrch Linux sudo pacman -S autoconf patch readline libconfig lua libevent jansson python make unzip redis gcc gitįreeBSD pkg install libconfig libexecinfo lua52 Sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev libjansson-dev libpython-dev make unzip git redis-server g++ (from vysheng/tg/README.md: Linux and BSDs) Debian sudo apt-get update Now close the SSH session and log in to the new user that you set up (or logout and back in). The first adduser command should set up user info eg. tg (telegram-cli) doesn't run if you try to run it as root, so we need to set up a new user: adduser telegram-bot
If you are connecting via SSH to a VPS, chances are you are logged in as root.