How to install Discord manually on Fedora 38 with good Linux practices


Discord

Discord is a popular communication platform that primarily focuses on enabling text, voice, and video communication.

It was initially created for gamers to communicate with each other while playing online games, but it has since grown to become a widely used communication tool for various communities and purposes.Check your OS

This step is optional. It's just to make sure you have Fedorainstalled.


Let's get down to business

shall we?

The-office GIFs - Get the best GIF on GIPHY


Solution


Check your OS (optional)

This step is just to ensure you have Fedora 38 Linux installed. You can pick up one command or you can use them all.

/etc/os-release

cat /etc/os-release


hostnamectl

hostnamectl

Output

When you run hostnamectl without any options, it provides detailed information about the system's hostname, operating system, kernel, and other system-related settings.


lsb_release

lsb_release -a

Output

lsb_release is a command-line utility commonly found in Linux distributions that adhere to the Linux Standard Base (LSB). The LSB is a standardization initiative that aims to increase compatibility between different Linux distributions by defining a common set of libraries and conventions.


uname

uname -a

Output

The uname -a command is used to display detailed system information about the Linux operating system. It provides information about the system's kernel and other system-related details.


Navigate to the official page

Go to the following link and click on Download

https://discord.com/download

Output


Download the tar.gz package


Extract the file

sudo tar -xzvf ~/Downloads/discord-0.0.33.tar.gz -C /opt/

Output


Check extracted files

ls /opt/Discord/

Output


The /opt/ folder

The /opt/telegram is the destination directory where we want to move the "Discord" directory. /opt is a common location for installing optional or third-party software on Linux systems.

This is a common method for organizing and installing software on Linux systems. After moving, the software installed in "/opt/Discord" can be run from there, and it may require administrative privileges due to the use of sudo.


sudo ln -s /opt/Discord/Discord /usr/bin/discord

You can create a symbolic link to make launching Discord easier without specifying the full path each time.


Open Desktop application entries

cd /usr/share/applications

Create Desktop entry

sudo nano discord.desktop

Add desktop entry

[Desktop Entry]
Name=Discord
Comment=All-in-one voice and text chat for gamers
GenericName=Voice Chat
Exec=discord
Terminal=false
Type=Application
Icon=/opt/Discord/discord.png
Categories=Network;
StartupWMClass=discord

Output


Make Discord executable

sudo chmod +x /opt/Discord/Discord

Update the Desktop Database

sudo update-desktop-database

Menu


Open Discord


Done


Celebrate

image.png


Let's become friends


Final thoughts

Thank you for reading this article.

If you have any questions, thoughts, suggestions, or corrections, please share them with us.

We appreciate your feedback and look forward to hearing from you.

Feel free to suggest topics for future blog articles. Until next time!