Executing Install Script

Asked by Robert

How do you execute an install script?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu file-roller Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Philip Lowman (philip-yhbt) said :
#1

Ensure the install script is made executable before running it.

= From the GNOME desktop =
1. Right click on the file. Choose Properties.
2. Select the Permissions tab.
3. Check the "Allow executing file as program box"
4. Click Close
5. Double click on the file and click the "Run in Terminal"

= From the Linux command line =
Where "install_script.sh" is the install script filename (although it need not necessarily end with .sh)...

chmod +x install_script.sh
./install_script.sh

Can you help with this problem?

Provide an answer of your own, or ask Robert for more information if necessary.

To post a message you must log in.