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:
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).
- enter cd /home/user/Downloads
- enter chmod +x some-app.run
- enter ./some-app.run
- 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.
Open run file 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 .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,593 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.
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.
- 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
Can Linux Run .exe Files? How to Run Windows Software on Linux
How to Open Linux Firewall Ports: Ubuntu, Debian, & More
How to Run an INSTALL.sh Script on Linux in 4 Easy Steps
Use Ping in Linux: Tutorial, Examples, & Interpreting Results
How to Delete Read-Only Files in Linux
How to Install Linux on Your Computer
How to Install Puppy Linux
How to execute a .run or .bin file in CentOS 8
There are some files that we are downloaded from the internet that have extensions of .bin or .run. To run such files, we have to set the permission to execute those files. A .bin or .run file is a self-extracting binary file in Linux and Unix Operating systems. For example, Java and Flash are two examples of such files. In this tutorial, we will learn how to run .bin and .run extension files. So let’s get started.
Execute .bin/.run file in CentOS 8
Firstly, set the permission of the file which you have downloaded. For this open up the terminal and type the following command:
I have downloaded a file from the internet (file.run), to execute that file. Firstly, we need to set the permission to execute, as shown in the figure.
You can also set the executable permission, by navigating to the properties of that file, as shown in the figures:
In the properties, click on the permissions tab appear at the top and click on the checkbox (Allow executing file as program) as shown below.
To run/execute this file open up the terminal and type the following command:
The same method described above is used to execute the .bin file.
Conclusion
In this tutorial, we learned how to set the permissions of .bin and .run files and how to execute these files in CentOS 8. I hope this tutorial will help you to set the permission of such executable files and how to execute them.
Search
About This Site
Vitux.com aims to become a Linux compendium with lots of unique and up to date tutorials.