How to Install Discord on Ubuntu and Other Linux Distributions?
Discord is a VoIP instant messaging and digital distribution platform designed for connecting communities. Over time discord gained a lot of popularity, it was first created for gamers worldwide but then discord gained popularity in other communities also and is considered much better than other platforms that are used for team communication. Discord servers are organized into topic-based channels where you can collaborate, share, and talk in personal or in group chat. Where hanging out is easy.
Along with all these features discord has additional features of modifying the servers according to needs and security policies considered by the owner. For example, if the owner of the server does not want that a particular voice channel’s activity is seen by all users then he can modify it to hidden for users he considers authentic to see that activity.
To download Discord you can visit their official website. You can find 2 methods of installing discord there i.e deb file and tar.gz file, lets first look into the Gdeb installer file.
Method 1: Installing discord using deb file:
Go to the download page and get the deb file.
A file with the DEB file extension is a Debian Software Package file. They are mostly used in UNIX-based systems like Ubuntu and other Debian distributions like parrot os and Kali Linux. For installing discord from a deb(Gdeb installer/package installer) you simply need to open the file and the installer will do its work.
The problem with this kind of package installation is that you do not get auto-updates for the version upgrade. If you want to remove discord after this type of installation you can use terminal to remove it :
sudo apt remove discord
Method 2: Installing discord using tar.gz file
The other way to install discord is by using tar.gz file which is applicable for all other Linux distributions like mint, cent, puppy, and so on.
Step 1: Download and Extract the Discord tar.gz file from the official website.
To extract the downloaded file use Command :
sudo tar -xvzf discord-0.0.13.tar.gz -C /opt
The version of discord may vary so make sure you check your file version for avoiding any errors. However, you can simply type discord and hit the tab in the terminal.
In the above command, we have used /opt directory for keeping additional files for discord.
Step 2: After creating the /opt directory now we need to create a symbolic link in a bin directory, to do so use the command :
sudo ln -sf -v /opt/Discord/Discord /usr/bin/Discord
Step 3: Now we need to create a desktop icon and menu entry, we have created a discord command available for all users, but we cannot launch it graphically since we have not located any file from the discord package to launch discord. To do, so we will use discord.desktop file located in an extracted folder in /opt directory.
All you need to do is move the discord.desktop file to applications directory so it can be run.
sudo cp -r -v /opt/Discord/discord.desktop /usr/share/applications
Restart now your done and you need to restart your system once to see all changes.
If you ever want to remove discord after doing this installation you have to follow the following commands:
rm -r ~/.config/discord
Remove the Discord directory from the /opt directory:
sudo rm -rf /usr/bin/Discord
Delete the symbolic link that we had created:
sudo rm /usr/bin/Discord
Remove the desktop file:
sudo rm /usr/share/applications/discord.desktop