execute run file ubuntu code example

Example 1: what if there is no run option for a .run file in ubuntu

$ sudo chmod +x ./FILENAME.run
$ ./FILENAME.run

Example 2: how to run .run file in linux

sudo chmod +x /path/to/file.run
sudo /path/to/file.run

Example 3: .run files in ubuntu

#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:
cd /home/user/Downloads

#2:
chmod +x some-app.run

#3:
./some-app.run

#if step 3 fails with a message including 'permission denied', try entering sudo ./some-app.run (you will need to enter your password for this).