How to open run file linux

How to Execute .bin and .run Files in Ubuntu

Before explaining how to execute .bin and .run files on your Ubuntu, let us first define what exactly these file extensions are:

Bin File: A Binary or BIN file in Ubuntu refers to installation packages that are mostly self-extracting executables for installing software on your system. You can install most software packages through the Ubuntu Software Manager, from .deb packages, and .tar.xz packages. However, there is software that is not available in these formats. These mostly include newer software and newer versions of software, mostly beta, that is not available otherwise. The bin packages are easily executed/run using the Ubuntu command line, the Terminal.

Run File: These are also executable files typically used for Linux program installers. Run Files contain program data and instructions for making the installation; often used for distributing device drivers and software applications. The run packages are easily executed/run using the Ubuntu command line, the Terminal.

In this article, we will explain how to execute/run the file with .run and .bin extensions on Ubuntu Linux.

We have run the commands and procedures mentioned in this article on a Ubuntu 18.04 LTS system. We will be using the Ubuntu command line, the Terminal, in explaining how to run bin and run files. You can open the Terminal application either through the system application launcher search or the Ctrl+Alt+T shortcut.

Note: Please make sure your .run and .bin files come from a reliable source, as executing an insecure 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:

For .bin file: Advertisement

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.

Читайте также:  Epub reader для linux

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

Karim Buzdar

About the Author: Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications. As an IT engineer and technical author, he writes for various web sites. You can reach Karim on LinkedIn

Источник

linux. Как установить .run файлы

Установка файлов с расширением «.run».

Для установки данный файл необходимо сделать исполняемым.
Установить такие файлы можно следующими способами:

  1. Графический способ установки
    Найти данный файл. Щелкнуть по нему второй кнопкой мыши и выбрать пункт «Свойства» — («Properties»).
    После чего откроется меню, где можно управлять свойствами. Необходимо выбрать вкладку «Права» — («Permissions»).
    И отметить галочкой пункт — «Разрешить исполнять как программу» — («Allow executing file as program»).
    После проведения перечисленных манипуляций можно запускать «.run» файл и производить установку.
    Запуск файла осуществляется двойным щелчком мыши.
  2. Терминальный способ установки
    Если по каким-то причинам у вас не получилось установить приложение с помощью графического способа установки или же вас этот способ вас не устраивает, то можно произвести установку из терминала (консоли).

Первоначально нужно запустить терминал (Горячие клавиши ctrl + alt + t).
Далее перейти в каталог с «.run» приложением.
В моем случае приложение лежит в следующей директории:

И делаем файл исполняемым (вместо my_program указывайте название вашего приложения):

И выполняем запуск данного приложения:

Запуск приложения может вызвать сообщение об ошибке «permission denied». Это означает, то что вам не хватает прав доступа для запуска. Для этого данную команду необходимо выполнить под sudo с правами супер пользователя. Будьте осторожны при использовании sudo и запускайте только те приложения, которым вы доверяете, так как sudo дает полные права данному приложению на исполнение.

Источник

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:

  1. it is available from the Software Centre
  2. 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:

  1. make it executable.
  2. 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.

Graphical Method

  1. Right click on the file in the file manager and click ‘Properties’. Click the ‘Permissions’ tab and tick the box that says ‘Allow executing file as program’.
  2. Double click the file to execute it.

If this method doesn’t work, try using the terminal method.

Terminal Method

Assume the file is called some-app.run and is in the folder /home/user/Downloads . You will need to modify these instructions to fit your situation.

Open a terminal (Applications->Accessories->Terminal).

Источник

How to Ubuntu

How to Execute a .Run or .Bin file

.Run or .Bin files are probably the only file types you will ever need to mark as executable in normal use of Ubuntu. There are two ways to execute them (which usually installs something), either in the terminal, or graphically (which usually relies on the terminal somewhat as well). Whichever you choose, read the red warnings below.

Warnings

.Run and .Bin files are fairly easy to execute or install, but can be notoriously difficult to remove. This depends on the developer. They also can be downloaded from anywhere, and made by anyone, so make sure you or other people have experience and therefore trust of the source. You should check any uninstall procedures before proceeding with these instructions.

Some .Run and .Bin files require root permissions to run, using the sudo command. Remember that root access means the file has full access to your system and could potentially damage its stability and security.

Terminal

First, open the Terminal, then mark the file as executable with the chmod command.

chmod +x file-name.run

Now you can execute the file in the terminal.

If an error message including a problem such as ‘permission denied’ appears, use sudo to run it as root (admin). Be careful, sudo allows you to make critical changes to your system. Many software installs will require sudo .

Beginner (easy)

Before Executing

First, move the .Run or .Bin file to your Home folder. This is just precautionary. Second, Right-click on the file and select Properties . Under the Permissions tab, tick the checkbox near the bottom labeled Allow executing file as program . Click Apply Permissions . Then Close the Properties Window.

Executing

Double-click the .Run or .Bin file. If not action appears to be happening, right-click and select Run in Terminal . A purple window with white text will open. This is the terminal. Do not worry if it takes a few seconds to appear, this is normal. Answer any questions using the Tab , Arrow , Space , and Enter keys.

Источник

Как мне установить .run файлы?

На моем компьютере установлены Ubuntu и Windows 7. Я установил все свои драйверы в Windows, такие как графика Nvidia, материнская плата и т. Д. Должен ли я установить их также в Ubuntu?

Я посмотрел в Интернете мои драйверы Nvidia, и я нашел .run файл. Как я могу установить его на свою Ubuntu?

Иногда некоторые приложения и игры (например, некоторые из Humble Indie Bundle) имеют установщики .run. Перед установкой, используя эти, проверьте, если:

  1. он доступен в Центре программного обеспечения
  2. он доступен в виде файла .deb, который откроется в Центре программного обеспечения

Вы можете установить .run файлы из графического интерфейса, но использование терминала с большей вероятностью даст вам полезную обратную связь. Чтобы установить файл .run, вам необходимо:

  1. сделать его исполняемым.
  2. выполнить это

Это связано с тем, что файлы .run являются просто исполняемыми программами, которые совершают какое-то неизвестное действие при установке программы. Это похоже на то, что делают установщики .exe в Windows, и отличается от обычных методов (в лучшем случае с использованием Центра программного обеспечения, в худшем случае с использованием файлов .deb), в которых приложения устанавливаются стандартным способом и могут быть легко удалены.

Графический метод

  1. Щелкните правой кнопкой мыши файл в диспетчере файлов и выберите «Свойства». Перейдите на вкладку «Разрешения» и установите флажок «Разрешить выполнение файла как программы».
  2. Дважды щелкните файл, чтобы выполнить его.

Если этот метод не работает, попробуйте использовать метод терминала.

Терминальный метод

Предположим, что файл называется some-app.run и находится в папке /home/user/Downloads . Вам нужно будет изменить эти инструкции в соответствии с вашей ситуацией.

Откройте терминал (Приложения-> Аксессуары-> Терминал).

Источник

Читайте также:  Iscsi linux что это
Оцените статью