How to install BIN files in Linux: 11 steps

Table of contents:

How to install BIN files in Linux: 11 steps
How to install BIN files in Linux: 11 steps
Anonim

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

Steps

Install Bin Files in Linux Step 1
Install Bin Files in Linux Step 1

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

Install Bin Files in Linux Step 2
Install Bin Files in Linux Step 2

Step 2. Open a terminal

Install Bin Files in Linux Step 3
Install Bin Files in Linux Step 3

Step 3. Get superuser rights

To do this, enter su - (a hyphen is required) and then enter the password.

Install Bin Files in Linux Step 4
Install Bin Files in Linux Step 4

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.)

Install Bin Files in Linux Step 5
Install Bin Files in Linux Step 5

Step 5. Change to the directory with the BIN file

cd / topmost / folder or cd / usr / share

Install Bin Files in Linux Step 6
Install Bin Files in Linux Step 6

Step 6. Give the BIN file execute permission

chmod + x thefile.bin

Install Bin Files in Linux Step 7
Install Bin Files in Linux Step 7

Step 7. Execute it

./thefile.bin (forward slash and period are required).

Install Bin Files in Linux Step 8
Install Bin Files in Linux Step 8

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.)

Install Bin Files in Linux Step 9
Install Bin Files in Linux Step 9

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

Install Bin Files in Linux Step 10
Install Bin Files in Linux Step 10

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

step 6).

Install Bin Files in Linux Step 11
Install Bin Files in Linux Step 11

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).

Popular by topic