Opening run files in linux

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:

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.

  1. Open a terminal (Applications->Accessories->Terminal).
  2. enter cd /home/user/Downloads
  3. enter chmod +x some-app.run
  4. enter ./some-app.run
  5. if step 4 fails with a message including ‘permission denied’, try entering sudo ./some-app.run (you will need to enter your password for this).

Notes

  • Sometimes you will come across .bin files. These are similar to .run files from the user’s point of view.
  • The method to install .run files can be used to execute any file (as long as it has some sort of executable code in it.
  • Be careful using sudo and only use it when absolutely required. Translated into English, it means ‘Run this command but allow it to do anything it wants to my computer’. This is why you are prompted for your password.
Читайте также:  Переменные окружения linux display

Источник

Opening run files in linux

What is a RUN file?

The .run file format is commonly used for distributing software or application installers in the Linux environment. To install the software, you will need to make the file executable, which can be done using the following command:

Then, you can run the file using the following command:

The installation process may vary depending on the specific file and program you are trying to install.

The .run file format is a type of shell script used to distribute software or application installers in the Linux environment. It is a self-contained package that includes everything needed to install the software, including binary files, libraries, and configuration files.

It’s important to note that .run files can also contain malicious code, so it’s always a good idea to verify the source of the file and scan it for viruses before running it.

Additionally, some .run files may require root privileges to run and install, so you may need to use the “sudo” command to run the file with elevated permissions:

How to open RUN file?

To open a .run file, you need to make it executable, which can be done with the “chmod” command:

Once the file is made executable, you can run it by typing:

Running a .run file is not the same as opening it in a text editor. Running a .run file will execute its instructions, which could be anything from installing a program to running a script. To view the contents of a .run file, you need to open it in a text editor, such as nano or vim:

References

See Also

Источник

How to Execute .bin and .run Files in Ubuntu

How to start bin and run files on Ubuntu

How to start bin and run files on 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.

Читайте также:  2 mysql servers linux

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:

Go to the 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.

Make .run file executable

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:

Check file permissions

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.

Execute .run file

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.

About This Site

Vitux.com aims to become a Linux compendium with lots of unique and up to date tutorials.

Latest Tutorials

Источник

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

Данный материал предоставлен сайтом PacificSky.Ru исключительно в ознакомительных целях. Администрация не несет ответственности за его содержимое.

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

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

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

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

cd /home/мой_пользователь/Загрузки
sudo chmod +x my_program.run

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

Источник

How to Execute .RUN Files in Linux

wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, volunteer authors worked to edit and improve it over time.

This article has been viewed 54,662 times.

.RUN files usually contain program data and installation instructions for Linux programs. This wikiHow teaches you how to execute .RUN files in Linux using the Ubuntu terminal. Since RUN files install software, make sure it’s legitimate and won’t harm your computer before executing it. RUN files from suspicious links can contain malware and damage your computer.

Image titled Execute .RUN Files in Linux Step 1

Press Ctrl + Alt + T to open a Terminal window and navigate to the folder where your .RUN file is. You can also search for Terminal in the «dash» bar on the left side of your screen by clicking the «All Applications» icon.

Image titled Execute .RUN Files in Linux Step 2

Image titled Execute .RUN Files in Linux Step 3

  • If you get a «Permission denied» error during this process, add » sudo » to the beginning of the code so it will run with the appropriate permissions. [1] X Research source

Expert Q&A

Tips

You Might Also Like

Install Google Chrome Using Terminal on Linux

Can Linux Run Exe

Can Linux Run .exe Files? How to Run Windows Software on Linux

Add or Change the Default Gateway in Linux

Open Ports in Linux Server Firewall

How to Open Linux Firewall Ports: Ubuntu, Debian, & More

Become Root in Linux

Take a Screenshot in Linux

Execute INSTALL.sh Files in Linux Using Terminal

How to Run an INSTALL.sh Script on Linux in 4 Easy Steps

Ping in Linux

Use Ping in Linux: Tutorial, Examples, & Interpreting Results

Boot Linux from a USB on Windows 10

Delete Read Only Files in Linux

How to Delete Read-Only Files in Linux

Use Wine on Linux

Run Files in Linux

Install Linux

How to Install Linux on Your Computer

Install Puppy Linux

How to Install Puppy Linux

Источник

Оцените статью
Adblock
detector