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

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

Step 2. Log into the console

Step 3. Log in to the root user:
su - (hyphenation is required) and enter the password.

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.

Step 5. Follow the bin file like this:
cd / highest-directory / folder, for example cd / usr / share.

Step 6. Give the bin file execute permissions:
chmod + x file.bin

Step 7. Run it:
./file.bin (include period and forward slash).

Step 8. If the bin file is the program itself, you'll need to unzip it first, like Firefox does

Step 9. Copy the archive and unzip it to the output folder to get a folder

Step 10. Open the folder, find the program and give it execute permissions if necessary (see step 6)

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.