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

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

Step 2. Log into the console

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

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

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

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

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

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

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

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

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

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.

Recommended: