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]#
motioneyeAsked:
Who is Participating?
 
motioneyeConnect With a Mentor Author Commented:
Hi,
I'm finally fix the issues, it was because the version that I downloaded was 64bit. but systems indeed were running on 32bits...
0
 
motioneyeAuthor Commented:
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
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.