On Linux
As of the 22nd of April 2026 I'm incredibly new on all of this, but I decided to completely switch from Windows to Linux a week ago.
Right now I'm using Linux Mint 22.3 Cinnamon, which is based in Ubuntu, so my commands will differ from other distros like Arch or Fedora. Please keep that in mind!
Useful commands
Don't be scared of the terminal! It's just a nice box where you can write stuff and make things work with text instead of pushing buttons. It is incredibly useful to do EXACTLY whatever you want to do, and not depend on someone else pre-preparing it for you. So you can completely customize stuff like installations and executables!
But do be scared of sudo, don't use it for everything, as it will completely destroy anything :) I uninstalled a desktop environment with it on my first day!
To install binaries from a tar.gz or .zip
# 1. You go to your downloads directory
cd ~/Downloads
## CHOOSE 2 OR 2.b depending on your format! ##
# 2. This decompresses your files inside of the tar.gz
tar -xzf yourprogram.tar.gz
# 2.b. This decompresses your files inside of the .zip
unzip ourprogram.zip
# 3. This moves your program folder to the /opt folder
sudo mv yourprogram /opt/
# 4. Verify your folder opens correctly!
/opt/yourprogram/yourprogram
# 5. Creating your desktop executable
sudo nano /usr/share/applications/yourprogram.desktop
After this, you have created and opened a new file with the command 'nano', so you will want to write something in it! As you read before, you can do this the way you want it! You can call your Java IDE sugarboom if you want x) You just have to replace the text!
This is what you have to write in your file:
[Desktop Entry]
Type=Application
Name=Your program name
Comment=Your description
Icon=/opt/yourprogram/icon.xpm
Exec=/opt/yourprogram/yourprogram
Terminal=false
Categories=Category1;Category2;
StartupNotify=true
Then save pressing ctrl + o, press enter to confirm and ctrl + x to close.
Now you need to give permissions and update it.
sudo chmod +x /usr/share/applications/yourprogram.desktop
sudo update-desktop-database
And, there you go! You have successfully decompressed and installed your binaries!
NOTES: You can delete the compressed files after this if you want! It won't break anything.