Pages

How to use Telegram messaging from GNU/Linux terminal



Telegram is a messaging program you can use in different devices and operating systems. In this tutorial we will use it from a Ubuntu and another distros terminal with Free Software.

You have to install the needed dependencies by typing on terminal:

For UBUNTU
sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev
For GENTOO
sudo emerge -av sys-libs/readline dev-libs/libconfig dev-libs/openssl dev-lang/lua
For FEDORA
sudo yum install lua-devel openssl-devel libconfig-devel readline-devel

Download or clone the repository:
git clone https://github.com/vysheng/tg.git
or download the ZIP file from Github.

Open a terminal in the created folder. Unzip it if necessary. Then type:
./configure
make

To launch the program type in the tg folder:
./telegram
You can create a script to launch the program (see Youtube videotutorial). Use the TAB key to display all the options. You can use it simultaneously with other devices.