Link to home
Start Free TrialLog in
Avatar of motioneye
motioneyeFlag for Singapore

asked on

How to perform installation in Linux from .run file

I'm trying to install postgresql db which I downloaded from the PostgreSQL website. It comes as a .run. but when I try to run, it keep saying error below


root@localhost SD2]# ls -l
total 873760
-rwxrw-rw-. 1 root root 854881745 May 18 15:05 ase157_linuxx86-64.tgz
-rwxrw-rw-. 1 root root   3286997 Sep 12  2012 aseperf.pdf
drwx------. 2 root root     16384 May 16 03:00 lost+found
-rwxrw-rw-. 1 root root  36531144 May 23 00:55 postgresql-9.2.4-1-linux-x64.run
drwxr-xr-x. 3 root root      4096 May 23 00:20 vmwaretool
[root@localhost SD2]#
[root@localhost SD2]#
[root@localhost SD2]# ./postgresql-9.2.4-1-linux-x64
bash: ./postgresql-9.2.4-1-linux-x64: No such file or directory
[root@localhost SD2]# postgresql-9.2.4-1-linux-x64.run
bash: postgresql-9.2.4-1-linux-x64.run: command not found
[root@localhost SD2]# postgresql-9.2.4-1-linux-x64.run
bash: postgresql-9.2.4-1-linux-x64.run: command not found
[root@localhost SD2]# chmod +x postgresql-9.2.4-1-linux-x64.run
[root@localhost SD2]# ./postgresql-9.2.4-1-linux-x64.run
bash: ./postgresql-9.2.4-1-linux-x64.run: cannot execute binary file
[root@localhost SD2]# sudo chmod +x postgresql-9.2.4-1-linux-x64.run
[root@localhost SD2]#
[root@localhost SD2]# ./postgresql-9.2.4-1-linux-x64.run
bash: ./postgresql-9.2.4-1-linux-x64.run: cannot execute binary file
[root@localhost SD2]#
Avatar of rafael_acc
rafael_acc
Flag of United States of America image

ASKER CERTIFIED SOLUTION
Avatar of motioneye
motioneye
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of motioneye

ASKER

I fix the issues my self as I realize the version which have been downloaded was at wrong bit. Should be 32 instead of 64 bits