There are two types of binaries (.bin) files - self-extracting archives and programs that you run.
Steps

Step 1. If the binary is an installer / self-extracting archive, download it to a safe folder (so it won't get lost)

Step 2. Open a terminal

Step 3. Get superuser rights
To do this, enter su - (a hyphen is required) and then enter the password.

Step 4. If necessary, copy the binary file to the folder with the program for which you downloaded it
(For example, in the case of the Java Runtime Environment, this is required.)

Step 5. Change to the directory with the BIN file
cd / topmost / folder or cd / usr / share

Step 6. Give the BIN file execute permission
chmod + x thefile.bin

Step 7. Execute it
./thefile.bin (forward slash and period are required).

Step 8. If the BIN file is a program, then most likely it is archived; unzip it
(For example, Firefox is distributed as a binary file.)

Step 9. Copy the archive and unpack it in a separate folder

Step 10. Open the folder, find the program (BIN file) and, if necessary, give the BIN file permission to execute (see
step 6).

Step 11. Create a shortcut to launch the program
right-click on the desktop, select the desired option and specify the path to the BIN file.
Warnings
- Be careful when unpacking a binary file, as files that you need may be overwritten.
- If the program will be managed by the entire system, place such a program in / usr / share.
- If you are a system administrator, do not allow users to work with BIN files - this can lead to a system crash.
- Use the described process as a last resort; try to install programs from the repository for your distribution (if possible).