Find the answer to your Linux question:
Results 1 to 3 of 3
After much research trying to mount a .bin file from Oracle (JDK). I found the installation instructions with luck. if you have a .bin file try treating it like a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2013
    Posts
    0

    cannot mount .bin as it is a self extracting file


    After much research trying to mount a .bin file from Oracle (JDK). I found the installation instructions with luck.

    if you have a .bin file try treating it like a self extracting binary file by this

    Copy to the directory of choice
    /usr/local/jdk
    cp jdk.rpm.bin /usr/local/jdk
    ./jdk.rpm.bin

    It will extract and install the rpm in one command.

  2. #2
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Thread moved here as it's not really a request for help.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  3. #3
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Quote Originally Posted by dhyatt View Post
    After much research trying to mount a .bin file from Oracle (JDK). I found the installation instructions with luck.

    if you have a .bin file try treating it like a self extracting binary file by this

    Copy to the directory of choice
    /usr/local/jdk
    cp jdk.rpm.bin /usr/local/jdk
    ./jdk.rpm.bin

    It will extract and install the rpm in one command.
    More on that file ("jdk.rpm.bin"), it is really a shell script + an "unzipsfx" self-extracting archive, concatenated together. you can separate the two with a quick tail command (just grep for "^exit 0" to find the end of the script portion). once you grab the unzipsfx stuff and put it into a file, that file just needs to be marked executable (chmod +x ./whatever), and then you can run it (./whatever) and it will extract the rpm to the current working directory.

    this is sometimes desirable if you want:

    a) to know what the shell script is doing to your system before/after you install the rpm
    b) just the RPM, w/o all the fuss
    c) learn how to make your own self-extracting archives

  4. $spacer_open
    $spacer_close

Posting Permissions

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