.RUN

RUN File

Linux Self-Extracting Installer Script
Ask a question
QUICK ANSWER

A .run file is a self-extracting installer for Linux - a shell script with a compressed software archive attached. To use it, open a terminal, run "chmod +x file.run" to make it executable, then "./file.run" to install. Only run .run files from official vendors, since they execute arbitrary code with your privileges.

Developer: N/A (convention); Makeself by Stéphane Peter is the dominant generator Category: Executable Files Open standard MIME: application/x-makeself
OPENS ON Windows macOS Linux
Related: .APK · .EXE · .VBS · .JAR

On this page

19k+ extensions indexed
Last reviewed Jun 14, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the RUN file format?

A .run file is an executable file that contains code and instructions for installing software applications on the Linux platform. Most .run files are generated with Makeself (by Stéphane Peter) and follow a two-part structure: a plain-text shell-script header beginning with a #!/bin/sh shebang, with a compressed TAR archive payload appended directly after it. The script header verifies an embedded CRC (and optionally MD5 or SHA-256) checksum, decompresses the payload into a temporary directory, and then runs an embedded setup command automatically.

The .run format is widely used to distribute device drivers, SDKs, and large application installers - most notably NVIDIA GPU drivers and CUDA toolkits. To launch an installer, the executable permission must first be set if it is not already present (chmod +x file.run), then execute it with ./file.run or sh file.run.

You can also inspect or extract a Makeself .run archive safely without running the installer:

  • List contents: ./file.run --list
  • Extract only: ./file.run --noexec --target /some/dir

For package-managed Linux systems, formats like .deb or .rpm are generally preferred, but .run remains common for cross-distro and proprietary software delivery.

Security & safety

RISK: HIGH

A .run is executable code: running it executes arbitrary shell commands with your privileges, and many installers ask for sudo, giving them root. That makes a malicious or tampered .run as dangerous as any installer. Safety rules: (1) download .run files only from the official vendor over HTTPS (e.g. NVIDIA, the SDK's own site); (2) since it's a shell script, read its header in an editor and use './file.run --list' / '--check' to inspect and verify the checksum before running; (3) never pipe-run or sudo a .run you don't trust. The Makeself wrapper self-verifies integrity (CRC/MD5/SHA256) against corruption, but that does not vouch for the source.

Format details

in a nutshell
FULL NAMELinux Self-Extracting Installer Scriptaka Makeself archive, .run installer
DEVELOPERN/A (convention); Makeself by Stéphane Peter is the dominant generatorsince Makeself first released ~1998; the .run convention popularized by NVIDIA/3rd-party Linux installers (2000s)
MIME TYPEapplication/x-makeself
TYPEExecutable shell script with an appended compressed payload (text header + binary tail)
STANDARDOpen · royalty-free
MAGIC BYTES · FILE SIGNATURE
OFFSET
000102030405060708
HEX
23212F62696E2F7368
ASCII
#!/bin/sh
A .run file starts as plain-text shell script (shebang "#!"), so its first bytes are a text shebang, not a binary signature. Makeself-generated archives contain a recognizable header block with a line such as 'This archive contains an installer/makeself' and label lines (e.g. CRC, MD5, offset), followed by a compressed binary payload (gzip/xz) appended after the script. There is no fixed offset for the payload - the script computes it.

Programs that open RUN files

Windows2 apps
WSL (Windows Subsystem for Linux) Built-in A .run is a Linux installer; run it inside WSL with 'chmod +x file.run && ./file.run'. It won't run natively on Windows.
7-Zip (inspect only) Open-source May open some .run files as archives to view/extract the inner payload - but it cannot install Linux software.
macOS1 app
Terminal (with caveat) Built-in The script may run, but most .run installers target Linux and won't install correctly on macOS. Inspect with --list; prefer a Linux VM.
Linux4 apps
Shell (Bash) - the system itself Built-in chmod +x file.run, then ./file.run (or 'sh file.run'). Add sudo if it installs system-wide. This is the normal way to run a .run.
Makeself (to inspect/extract) Open-source Inspect without installing: ./file.run --list, verify with --check, or extract files with './file.run --target DIR --noexec'.
Any text editor (Vim, gedit, nano) Open-source Open the .run to READ its script header and see what the installer does before running it.
Archive manager (Ark / File Roller) or tar Open-source Some .run files can be opened as archives to extract the payload (or use the Makeself --noexec extraction).

Technical details

deep spec
Format typeExecutable shell script with a compressed binary payload appended after the script body (plain-text header + binary tail)
MIME typeapplication/x-makeself; also application/x-shellscript, text/x-sh, or application/octet-stream
File signatureStarts with #!/bin/sh shebang (hex 23 21 2F 62 69 6E 2F 73 68) at byte offset 0; no fixed binary magic number
EncodingPlain-text UTF-8 shell-script header followed by a binary compressed archive appended without a fixed separator
Compressiongzip by default; Makeself also supports bzip2, xz, zstd, lzo, or uncompressed payloads
Container structureShell stub that decompresses an embedded TAR archive into a temp directory, then runs an embedded setup command
Integrity verificationCRC checksum always embedded in the Makeself header; optional MD5 or SHA-256; self-verified before extraction begins
Executionchmod +x file.run && ./file.run, or sh file.run - no package manager or installer tool required
Inspect / extract without running./file.run --list to list contents; ./file.run --noexec --target DIR to extract the payload without executing setup
Dominant generatorMakeself by Stéphane Peter (makeself.io); Makeself version number is embedded in the archive header
Associated platformsLinux (primary target); BSD, Solaris, and other Unix-like systems also supported
Typical file sizeA few hundred KB to several GB; large driver or SDK installers (NVIDIA, CUDA, GOG games) can exceed 10 GB
Encryption supportNone by default; Makeself optionally supports GPG-encrypted payloads for secure distribution
Payload offsetThe inner TAR payload has no fixed offset - the shell script computes it dynamically at runtime from embedded header metadata
ReleasedMakeself first released ~1998; the .run convention popularized by NVIDIA/3rd-party Linux installers (2000s)
Latest versionMakeself 2.7.1 (2025)
Open standardYes · royalty-free
Specificationmakeself.io

RUN conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with RUN files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about RUN files.

Frequently asked questions

How do I run a .run file on Linux?
Open a terminal in the file's folder, make it executable with 'chmod +x file.run', then run './file.run'. If it installs system-wide, prefix with sudo: 'sudo ./file.run'. You can also run it without the execute bit using 'sh file.run'.
Why do I get 'Permission denied' when running a .run file?
The execute bit isn't set. Run 'chmod +x file.run' first, then './file.run'. Alternatively run it via the interpreter: 'sh file.run'.
How can I see what's inside a .run file before installing?
It's a shell script, so open it in a text editor to read the header. For Makeself archives, './file.run --list' lists the contents, '--check' verifies the checksum, and './file.run --target DIR --noexec' extracts the files without installing.
Can I run a .run file on Windows?
Not natively - a .run is a Linux installer. Use WSL (Windows Subsystem for Linux) and run it there, or a Linux virtual machine. 7-Zip can sometimes extract the inner payload but cannot install Linux software.
What program makes .run files?
Most are created with Makeself, a shell-based self-extracting archive tool (current version 2.7.1). It bundles a TAR payload behind a small extraction script.
Is it safe to run a .run file?
Only if you trust the source. A .run executes arbitrary commands as you (often with sudo/root), so download them only from official vendors, and inspect the script and its --list contents before running unfamiliar ones.

References

1Makeself - official sitemakeself.io
2Makeself - GitHub (megastep/makeself)github.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.BINCD/DVD Disc Image (BIN/CUE)
3.CRDOWNLOADChrome Partial Download File
4.PARTPartial Download File
5.MDMarkdown Document
6.RPMSGRestricted Permission Message
7.NOMEDIAAndroid No-Media Marker File
8.PRO6XProPresenter 6 Bundle File
9.PRDXSoftMaker Presentations Document
10.EXEWindows Executable (Portable Executable)

Related extensions

.APKAndroid Package
.EXEWindows Executable (Portable Executable)
.VBSVBScript file (Visual Basic Script)
.JARJava Archive
.EX4MetaTrader 4 Compiled Program (Expert Advisor / Indicator / Script)
.APPXMicrosoft Windows App Package (AppX)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z