There are two types of.bin files, self-extracting archives and launchable software …
Steps

Step 1. If the
bin is a self-extracting installer / archive, download the file first and keep it in a safe place just to avoid having to download it again.

Step 2. Enter the terminal

Step 3. Switch to Root mode, as follows:
su - (dash is required) and write the root (or "root") password.

Step 4. If necessary, copy the file
bin in its final output folder - software packages such as the Java Runtime Environment require this. Start by reading the online instructions …

Step 5. Change the current directory (folder) to the one that contains the file, as follows:
CD / user / folder, for example CD / usr / share.

Step 6. Give execute permission to the file
bin: chmod + x lefile.bin.

Step 7. Launch it:
./lefile.bin - the slash point must be put here.

Step 8. If the
bin is the program itself, chances are the file is compressed, unzip it to the destination file, so is Firefox.

Step 9. Copy the archive and unzip it to the destination folder, this should create a folder

Step 10. Go to the folder, locate the program
This is a.bin file, give it execute permission if needed (see step 6).

Step 11. For convenience, make a shortcut
Right click on the desktop, select the option you need and follow the instructions. An icon should appear.
Warnings
- Be careful where you put things. Unzipping might overwrite some data you need.
- If the software needs to be run from anywhere in the system, put it in a central location, / usr / share is a good place.
- If you are a system administrator, make sure that users avoid doing this… it will mess up the system.
- Do this as a last resort, try to stick to your Linux distribution directory if possible.