motioneye
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-x 64.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-x 64.run
bash: postgresql-9.2.4-1-linux-x 64.run: command not found
[root@localhost SD2]# postgresql-9.2.4-1-linux-x 64.run
bash: postgresql-9.2.4-1-linux-x 64.run: command not found
[root@localhost SD2]# chmod +x postgresql-9.2.4-1-linux-x 64.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-x 64.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]#
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-x
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
bash: ./postgresql-9.2.4-1-linux
[root@localhost SD2]# postgresql-9.2.4-1-linux-x
bash: postgresql-9.2.4-1-linux-x
[root@localhost SD2]# postgresql-9.2.4-1-linux-x
bash: postgresql-9.2.4-1-linux-x
[root@localhost SD2]# chmod +x postgresql-9.2.4-1-linux-x
[root@localhost SD2]# ./postgresql-9.2.4-1-linux
bash: ./postgresql-9.2.4-1-linux
[root@localhost SD2]# sudo chmod +x postgresql-9.2.4-1-linux-x
[root@localhost SD2]#
[root@localhost SD2]# ./postgresql-9.2.4-1-linux
bash: ./postgresql-9.2.4-1-linux
[root@localhost SD2]#
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
http://www.linuxquestions.org/questions/linux-software-2/running-run-files-823687/