-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTelegram
25 lines (17 loc) · 834 Bytes
/
Telegram
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
### Manual installation ###
# Execute with root:
# wget -c "https://updates.tdesktop.com/tlinux/tsetup.1.5.4.tar.xz" -O /usr/src/telegram.tar.xz
# tar Jxvf /usr/src/telegram.tar.xz -C /opt/
# ln -s /opt/Telegram/Telegram /usr/bin/telegram-client
# ln -s /opt/Telegram/Updater /usr/bin/telegram-updater
# Execute with your user:
$ telegram-client
$ sed -i 's|/opt/Telegram/Telegram|/usr/bin/telegram-client|g' .local/share/applications/telegramdesktop.desktop
$ update-desktop-database $HOME/.local/share/applications/
### Package Installation ###
#Add repository
sudo zypper ar -f https://download.opensuse.org/repositories/server:/messaging/openSUSE_Factory/ server:messaging
# Refresh and get GPG Keys
sudo zypper -n --gpg-auto-import-keys ref server\:messaging
#Install package
sudo zypper in --no-confirm telegram-desktop