There are two types of bin files: self-extracting archives and the programs you run as they are. Both are covered in this article.
Steps
![Install Bin Files in Linux Step 1 Install Bin Files in Linux Step 1](https://i.sundulerparents.com/images/003/image-6866-1-j.webp)
Step 1. If the bin file is an installation / self-extracting archive, first download it and save it in a safe location to avoid having to download it again later
![Install Bin Files in Linux Step 2 Install Bin Files in Linux Step 2](https://i.sundulerparents.com/images/003/image-6866-2-j.webp)
Step 2. Log into the console
![Install Bin Files in Linux Step 3 Install Bin Files in Linux Step 3](https://i.sundulerparents.com/images/003/image-6866-3-j.webp)
Step 3. Log in to the root user:
su - (hyphenation is required) and enter the password.
![Install Bin Files in Linux Step 4 Install Bin Files in Linux Step 4](https://i.sundulerparents.com/images/003/image-6866-4-j.webp)
Step 4. If necessary, copy the bin file to final destination as some packages like Java Runtime Environment need it
Read the online instructions first.
![Install Bin Files in Linux Step 5 Install Bin Files in Linux Step 5](https://i.sundulerparents.com/images/003/image-6866-5-j.webp)
Step 5. Follow the bin file like this:
cd / highest-directory / folder, for example cd / usr / share.
![Install Bin Files in Linux Step 6 Install Bin Files in Linux Step 6](https://i.sundulerparents.com/images/003/image-6866-6-j.webp)
Step 6. Give the bin file execute permissions:
chmod + x file.bin
![Install Bin Files in Linux Step 7 Install Bin Files in Linux Step 7](https://i.sundulerparents.com/images/003/image-6866-7-j.webp)
Step 7. Run it:
./file.bin (include period and forward slash).
![Install Bin Files in Linux Step 8 Install Bin Files in Linux Step 8](https://i.sundulerparents.com/images/003/image-6866-8-j.webp)
Step 8. If the bin file is the program itself, you'll need to unzip it first, like Firefox does
![Install Bin Files in Linux Step 9 Install Bin Files in Linux Step 9](https://i.sundulerparents.com/images/003/image-6866-9-j.webp)
Step 9. Copy the archive and unzip it to the output folder to get a folder
![Install Bin Files in Linux Step 10 Install Bin Files in Linux Step 10](https://i.sundulerparents.com/images/003/image-6866-10-j.webp)
Step 10. Open the folder, find the program and give it execute permissions if necessary (see step 6)
![Install Bin Files in Linux Step 11 Install Bin Files in Linux Step 11](https://i.sundulerparents.com/images/003/image-6866-11-j.webp)
Step 11. Create a shortcut for convenience, right click on the desktop and select the necessary option following the example, an icon should appear
Warnings
- Be careful where you save the file, unzipping may overwrite files.
- If the program needs to run at the system level, save it somewhere central, such as / usr / share.
- If you are a system administrator please prevent other users from doing this to avoid damage.
- Use this procedure as a last resort, always use your distribution's repositories if possible.