Thursday, March 5, 2009

Installing Binary Files and Scripts (.BIN/.SH)

For BIN files:

1. Make sure the file is set to "executable" by running this command:
Code:
chmod +x filename.bin

2. Run the file like this:
Code:
./filename.bin

NOTE: If the installer requires access to directories outside of your /home/ directory, you may need to log in as root before you can execute these commands successfully. That can be accomplished with the su command, followed by your root (Administrator) password. Ubuntu users will use sudo and their regular user password instead.

For .SH files:

1. Make sure the file is executable by following Step 1 above.
2. Run the file either with the same command as the previous Step 2, or like this:
Code:
sh filename.sh

No comments:

Post a Comment