Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Problem with installing a .bin

  1. #1
    Join Date
    May 2011
    Location
    Thunder Bay, ON
    Beans
    8

    Problem with installing a .bin

    I'll start by saying I'm an absolute newbie to Linux and have to start managing my own server in the next few months at work so I'm hoping that the legendary support of the Linux community will help me get there.

    I'm trying to install a copy of Postgres using the .bin(I want pg Admin III as well which is why I'm not using apt-get).

    It's sitting in downloads so I did the following:

    $ cd /home/ryan/Downloads
    $ sudo chmod +x postgresql-9.0.4-1-linux.bin
    $ ./postgresql-9.0.4-1-linux.bin

    but I keep getting:
    -bash: ./postgresql-9.0.4-1-linux.bin: No such file or directory

    I did -ls and the file is there and I can't figure out how to get this installed. Thanks for the help in advance.

  2. #2
    Join Date
    Oct 2009
    Location
    Upminster, Essex, UK
    Beans
    544

    Thumbs down Re: Problem with installing a .bin

    **

    I really should learn to read post removed as talking $%&%

    **
    Last edited by satanselbow; May 26th, 2011 at 04:40 PM. Reason: i'm tired... bin a busy day ;)
    Code:
    cd /fridge/beer | drink && fallover

  3. #3
    Join Date
    Aug 2006
    Location
    Michigan
    Beans
    392
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Problem with installing a .bin

    Wanted to know more about the file that you downloaded. If you did the commands:
    Code:
    ls -l ./postgresql-9.0.4-1-linux.bin
    file ./postgresql-9.0.4-1-linux.bin
    What is the output from the above commands?
    ThisIsBryan: The Site | About Me
    HowTo: Setup Ubuntu Desktop with LVM Partitions WIKI
    Hardware Profile: Dell XPS 14z; 4GB DDR3 RAM; 700GB HD; Intel Corporation Centrino Advanced-N 6230; Intel i7 CPU @ 2.80 GHz

  4. #4
    Join Date
    May 2011
    Location
    Thunder Bay, ON
    Beans
    8

    Re: Problem with installing a .bin

    Yes, I'm trying to install the newest stable version and pgAdmin III and then eventually PostGIS.

    running those commands I get:
    -rwxr-xr-x 1 ryan ryan 45148406 2011-05-26 10:56 ./postgresql-9.0.4-1-linux.bin
    and
    ./postgresql-9.0.4-1-linux.bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, stripped

  5. #5
    Join Date
    Oct 2007
    Location
    Europe
    Beans
    3,564
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Problem with installing a .bin

    Quote Originally Posted by Angelus Yukito View Post
    I'll start by saying I'm an absolute newbie to Linux and have to start managing my own server in the next few months at work so I'm hoping that the legendary support of the Linux community will help me get there.

    I'm trying to install a copy of Postgres using the .bin(I want pg Admin III as well which is why I'm not using apt-get).

    It's sitting in downloads so I did the following:

    $ cd /home/ryan/Downloads
    $ sudo chmod +x postgresql-9.0.4-1-linux.bin
    $ ./postgresql-9.0.4-1-linux.bin

    but I keep getting:
    -bash: ./postgresql-9.0.4-1-linux.bin: No such file or directory

    I did -ls and the file is there and I can't figure out how to get this installed. Thanks for the help in advance.
    this is an annoying error you usually get even if cd is correct, to get around it cd to the downloads folder then drag the .bin file to terminal with mouse after typing ./, it wont fail!
    if you use sh instead ./ you don't need to chmod the file and use sudo sh or sudo ./ to install the .bin file
    if you don't have a gui on the server then just type the full bin file path even having cd the terminal, it should work with full path.
    Last edited by gandaran; May 26th, 2011 at 04:37 PM.
    Intel Atom Dual Core D525 @ 1.80GHz, 1,0GB RAM, Intel Graphics Media Accelator 3150
    Linux User # 478860 Ubuntu User # 24004

  6. #6
    Join Date
    May 2011
    Location
    Thunder Bay, ON
    Beans
    8

    Re: Problem with installing a .bin

    Tried sudo sh and dragged the flie to console.

    ~/Downloads$ sudo sh '/home/ryan/Downloads/postgresql-9.0.4-1-linux.bin'
    /home/ryan/Downloads/postgresql-9.0.4-1-linux.bin: 1: Syntax error: "(" unexpected

    tried ./ and dragged
    -bash: .//home/ryan/Downloads/postgresql-9.0.4-1-linux.bin: No such file or directory

    tried sudo ./ and dragged
    sudo: .//home/ryan/Downloads/postgresql-9.0.4-1-linux.bin: command not found
    ryan@GeoServer:~/Downloads$

  7. #7
    Join Date
    Oct 2007
    Location
    Europe
    Beans
    3,564
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Problem with installing a .bin

    ~/Downloads$ sudo sh '/home/ryan/Downloads/postgresql-9.0.4-1-linux.bin'
    /home/ryan/Downloads/postgresql-9.0.4-1-linux.bin: 1: Syntax error: "(" unexpected
    only this one you have done it correctly, the others have some typing errors, was this only the error output?
    look if you have the nautilus file gui on the server install this nautilus script app runner then run the bin file as CLI root, if you still get any error then something is wrong with the bin file.
    Last edited by gandaran; May 26th, 2011 at 06:25 PM.
    Intel Atom Dual Core D525 @ 1.80GHz, 1,0GB RAM, Intel Graphics Media Accelator 3150
    Linux User # 478860 Ubuntu User # 24004

  8. #8
    Join Date
    Apr 2010
    Location
    England
    Beans
    3,286

    Re: Problem with installing a .bin

    What does
    Code:
    arch
    say?
    http://xkcd.com/293/
    There are 10 kinds of people in this world: Those who understand ternary, those who don't, and those who confuse it with binary.

  9. #9
    Join Date
    May 2011
    Location
    Thunder Bay, ON
    Beans
    8

    Re: Problem with installing a .bin

    I'm sorry I'm so new at this. I fixed the typing errors with ./ and sudo ./ and got some same output. I don't think I have Nautilus but to be honest I don't really understand what your talking about.

  10. #10
    Join Date
    May 2011
    Location
    Thunder Bay, ON
    Beans
    8

    Re: Problem with installing a .bin

    arch give me:

    x86_64

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •