10

How do I start Telegram messenger from the command line?

I have tried "telegram", but it's not that.

I have installed Telegram via ppa: ppa:atareao/telegram.

3 Answers3

14

Since you installed telegram from the PPA, it is likely installed in /opt. Probably under /opt/telegram. You should be able to launch it from the command-line by running:

/opt/telegram/Telegram

but if you wanted to make this easier you can create a symbolic link to /usr/local/bin like so:

sudo ln -s /opt/telegram/Telegram /usr/local/bin/telegram

you can then launch telegram with the command:

telegram
Seth
  • 59,332
3

On Ubuntu 17.10, 18.04 and above, If you have installed using Ubuntu Software Manager, you can launch it using the following command in terminal:

telegram-desktop

if you want to start it minimized in tray use the following command (e.g you want to create an start up entry):

telegram-desktop -startintray 
Amir
  • 131
0

If you know where you installed your Telegram, you can easily launch the script, see the example below (I installed it in directory named soft).

(base) user@user:~/soft/Telegram$ ls
Telegram  Updater
(base) user@user:~/soft/Telegram$ ./Telegram

Voila, you have it running.

circassia_ai
  • 101
  • 1