linux. Как установить .run файлы
Установка файлов с расширением «.run».
Для установки данный файл необходимо сделать исполняемым.
Установить такие файлы можно следующими способами:
- Графический способ установки
Найти данный файл. Щелкнуть по нему второй кнопкой мыши и выбрать пункт «Свойства» — («Properties»).
После чего откроется меню, где можно управлять свойствами. Необходимо выбрать вкладку «Права» — («Permissions»).
И отметить галочкой пункт — «Разрешить исполнять как программу» — («Allow executing file as program»).
После проведения перечисленных манипуляций можно запускать «.run» файл и производить установку.
Запуск файла осуществляется двойным щелчком мыши. - Терминальный способ установки
Если по каким-то причинам у вас не получилось установить приложение с помощью графического способа установки или же вас этот способ вас не устраивает, то можно произвести установку из терминала (консоли).
Первоначально нужно запустить терминал (Горячие клавиши ctrl + alt + t).
Далее перейти в каталог с «.run» приложением.
В моем случае приложение лежит в следующей директории:
И делаем файл исполняемым (вместо my_program указывайте название вашего приложения):
И выполняем запуск данного приложения:
Запуск приложения может вызвать сообщение об ошибке «permission denied». Это означает, то что вам не хватает прав доступа для запуска. Для этого данную команду необходимо выполнить под sudo с правами супер пользователя. Будьте осторожны при использовании sudo и запускайте только те приложения, которым вы доверяете, так как sudo дает полные права данному приложению на исполнение.
Источник
Как мне установить .run файлы?
На моем компьютере установлены Ubuntu и Windows 7. Я установил все свои драйверы в Windows, такие как графика Nvidia, материнская плата и т. Д. Должен ли я установить их также в Ubuntu?
Я посмотрел в Интернете мои драйверы Nvidia, и я нашел .run файл. Как я могу установить его на свою Ubuntu?
Иногда некоторые приложения и игры (например, некоторые из Humble Indie Bundle) имеют установщики .run. Перед установкой, используя эти, проверьте, если:
- он доступен в Центре программного обеспечения
- он доступен в виде файла .deb, который откроется в Центре программного обеспечения
Вы можете установить .run файлы из графического интерфейса, но использование терминала с большей вероятностью даст вам полезную обратную связь. Чтобы установить файл .run, вам необходимо:
- сделать его исполняемым.
- выполнить это
Это связано с тем, что файлы .run являются просто исполняемыми программами, которые совершают какое-то неизвестное действие при установке программы. Это похоже на то, что делают установщики .exe в Windows, и отличается от обычных методов (в лучшем случае с использованием Центра программного обеспечения, в худшем случае с использованием файлов .deb), в которых приложения устанавливаются стандартным способом и могут быть легко удалены.
Графический метод
- Щелкните правой кнопкой мыши файл в диспетчере файлов и выберите «Свойства». Перейдите на вкладку «Разрешения» и установите флажок «Разрешить выполнение файла как программы».
- Дважды щелкните файл, чтобы выполнить его.
Если этот метод не работает, попробуйте использовать метод терминала.
Терминальный метод
Предположим, что файл называется some-app.run и находится в папке /home/user/Downloads . Вам нужно будет изменить эти инструкции в соответствии с вашей ситуацией.
Откройте терминал (Приложения-> Аксессуары-> Терминал).
Источник
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.
Graphical Method
- 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’.
- 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).
Источник
Ubuntu Documentation
Installing .run Packages
Warning
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:
Find the .run file in the File Browser.
Right-click the file and select Properties.
Under the Permissions tab, make sure that Allow executing file as program is ticked and press Close.
Double-click the .run file to open it. A dialog box should appear.
Press Run in Terminal to run the installer.
A Terminal window will open. Follow any instructions on-screen to install the program.
Command-Line
- Open a terminal and navigate to the directory where the file is located.
Execute chmod +x .run
Now that the execute permission has been set, simply run ./ .run
InstallingRunPackage (последним исправлял пользователь mmstick 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 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:
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 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
Источник