Installing .run Packages
Careful consideration must be put into place whenever installing anything outside of the official repositories. Run files install software into the system via a script rather than a package manager. Verify that the run file you obtained came from a source that you trust before executing it.
Installation
Follow the procedures below to install software packaged in a .run file:
Command-Line
-
Open a terminal and navigate to the directory where the file is located.
InstallingRunPackage (последним исправлял пользователь 162-192-67-10 2014-04-18 13:53:28)
The material on this wiki is available under a free license, see Copyright / License for details
You can contribute to this wiki, see Wiki Guide for details
How to Execute .bin and .run Files in Ubuntu

Before we explain how to run .bin and .run files on your Ubuntu system, let’s first define what exactly these file extensions are:
Bin file: A binary or BIN file in Ubuntu refers to installation packages, which are mostly self-extracting executable files used to install software on your system. You can install most software packages through the Ubuntu Software Manager, such as .deb packages and .tar.xz packages. However, there is software that is not available in these formats. This mainly includes newer software and newer versions of software, usually beta versions, that are not otherwise available. The bin packages are simply run from the Ubuntu command line, the terminal.
Run File: These are also executable files typically used to install Linux programs. Run Files contain program data and instructions for installation; they are often used for distributing device drivers and software applications. Run packages are easily executed from the Ubuntu command line, the terminal.
In this article, we will explain how to run/execute the files with .run and .bin extensions on Ubuntu Linux.
We have run the commands and procedures mentioned in this article on an Ubuntu 22.04 LTS system. We will use the Ubuntu command line, the terminal, to explain how to run bin and run files. You can open the terminal application either by searching in the system application launcher or by pressing Ctrl+Alt+T.
Note: Make sure that your .run and .bin files are from a reliable source, because running an unsafe file can damage your system and even compromise your system security.
Executing .bin and .run files
The process of running both the run and BIN files is pretty simple and straightforward in Ubuntu.
We are assuming that you have already downloaded your bin/run file in a known location on your Ubuntu.
Open the Terminal application and move to the location where you have saved the executable file.
For example, I would use the following command to move to my Downloads folder:

Now use the following command to make your .bin/.run file executable:
In this example, I will be making a sample .run file named samplefile.run executable.
If your .run/.bin file does not exist in the current location, you can specify the exact file path/location in the above commands.

My file is now marked as executable. The system indicates it by a change in color of the filename when listed through the ls command:
![]()
Once your .bin/.run file has become executable, you can use the following command to execute/run it:
You can specify the path of the executable file in the above command if it does not exist in the current folder you are in.

My sample file is pretty much an empty file. In the case of a proper installation package, the installation process will begin after you execute the file.
This is the power of the Ubuntu command line. You can install rare software packages available in the .run and .bin formats easily on your system.
Как установить run файл на системе Ubuntu Linux?
Первое что от вас потребуется это запустить консоль и запустить команду для обновления пакетного списка:
Sud apt-get update
Второе, что вам следует сделать это установить пакеты которые являются необходимыми для набора модуля ядер из предыдущего текста и создание deb пакетов:
Sudo apt-get install build-essential fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$ (uname –r)
После второго шага от вас требуется установка прав на файл, который разрешает его запуск, как пример:
Sudo chmod 755 название_файла.run
Дальше в консольном меню прописываем:
Sudo sh ati-driver-installer-8-5-x86.x86_64.run –buildpkg Ubuntu/12.04
How do I install .run files?
My PC has both Ubuntu and Windows 7 installed. I have installed all my drivers in Windows like Nvidia graphics, motherboard etc. Shall I install them in Ubuntu too?
I looked on the web for my Nvidia drivers and I have found a .run file. How could I install it on my Ubuntu?
7 Answers 7
Occasionally, some applications and games (eg. some from the Humble Indie Bundle) have .run installers. Before installing using these, check to see if:
- it is available from the Software Centre
- it is available as a .deb file, which will open in the Software Center
You can install .run files from the graphical interface, but using a terminal is more likely to give you useful feedback. To install a .run file you need to:
- make it executable.
- execute it
This is because .run files are just executable programs that do some unknown magic to install the program. This is similar to what .exe installers do on Windows and is different to the normal methods (at best, using the Software Centre, at worst using .deb files) in which applications are installed in a standard way and can be easily removed.