Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a script for installing a program.

When I try to run it I get:

64-bit installer only
install/uninstall parameter required

I tried chmod it. I tried sudo ./

Am I missing something?

share|improve this question
up vote 3 down vote accepted

You are in fact successfully running the script. What you're seeing is the script's output.

64 bit installer only


mach=`uname -m`
if [[ "$mach" != "x86_64" ]]; then
    echo "64-bit installer only"

This is telling you that the installer script is only meant to be run on x86_64 (64-bit PC) hardware, and your computer is using a different processor architecture (your operating system is probably 32 bit)

At this point, the script should logically quit, but the scripter forgot to put that in, and the script just runs on.


This is the output of

locale | grep "LANG" | grep -i "UTF.*8"

The script uses this to check that your system uses unicode. In my opinion, the scripter is being sloppy here again and should have suppressed the output of that line.


install/uninstall parameter required

is from the last part of the script:

if [[ "$1" == "install" ]]; then
elif [[ "$1" == "uninstall" ]]; then
    echo "install/uninstall parameter required"

The script is trying to tell you that you're supposed to run it like so:

./ install

or, to uninstall,

./ uninstall

However, that probably won't actually work as expected since the script will try to install 64-bit packages on your 32-bit system.

share|improve this answer
/ install -bash: ./ Permission denied – Trance84 Aug 12 '12 at 21:36
the thing is it is a unix software that is supported on 32 bit...but no guide was written for centos so a user created this file..this is the original page -> – Trance84 Aug 12 '12 at 21:37
-bash: ./ Permission denied is your shell, bash, telling you that it does not have the rights to execute the file. You have to set the execute bit using chmod +x. – tjollans Aug 12 '12 at 21:40
its working after chmod +x and install after ./ :) and it seems its defaulting to i686 well see...thank you all for your kind help! – Trance84 Aug 12 '12 at 21:44

Try enter in to root
then type

 bash   file_path/  


share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .