How to Install a .run downloaded file

Asked by Matthew Rees

I want to install a program/package that i've downloaded to my browsers downloads folder.

It is : xTuple-3.8.0-linux-installer.run

The file is at: /home/matthew/downloads/

I'm brand new to this but understand the Terminal and can do some simple stuff on there.

i've added 'Libaudit'

Can't be difficult but there's no clear instructions anywhere......

Thank You.....here's hoping...

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

mark the file as executable then run it with sudo. The file is a binary (a program) so will run once marked as executable.

Revision history for this message
Matthew Rees (reespost) said :
#2

That's as far as i got, so i start with ' sudo ' then what?

I've got to this point previously but i don't understand how the program gets found.

What do i instruct the computer to look for and where and what should it do?

Sorry! Its that's new to me, i'm a Windows worm whose crawled out from under a rock.

So Sudo........

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

chmod +x /home/matthew/downloads/xTuple-3.8.0-linux-installer.run
sudo /home/matthew/downloads/xTuple-3.8.0-linux-installer.run

And it wil run

Revision history for this message
Matthew Rees (reespost) said :
#4

Thank you for your interest and help. I have tried these commands but i may have got some of the spaces wrong.
These are NOT working. The file has been made executionable and it can be shown in the terminal by looking in the directory where its stored. It appears as coloured script but hasn't accepted my commands to install or run...

Thank you again.....

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Can you copy the terminal text, including the commands I gave

Thanks

Revision history for this message
Andre Mangan (kyphi) said :
#6

The folder in your home directory is called Downloads (capital D) not downloads. Copy and paste each line into the terminal followed by a click on "Enter".

chmod +x /home/matthew/Downloads/xTuple-3.8.0-linux-installer.run

sudo /home/matthew/Downloads/xTuple-3.8.0-linux-installer.run

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#7

D'oh

or is it:

d'oh

HAHAH

my bad

Revision history for this message
Matthew Rees (reespost) said :
#8

Its all worked with capital 'D' for downloads...

Here's the script for the successful outcome all except the last three lines, as they came up the install started to run.....

Thank you so much, so will that process be similar to install the Tarball's gz and gz2 which is also causing me difficulties.

Thanks Again!!!!