Find the answer to your Linux question:
Results 1 to 4 of 4
Hi all, I am trying to install jdk on linux and there are many files with different extensions... Now if its an rpm file i use rpm -ivf <filename.rpm> to ...
  1. #1
    Just Joined!
    Join Date
    May 2008
    Posts
    20

    Needed jdk install help, kinda urgent pls assist!!!!!

    Hi all,
    I am trying to install jdk on linux and there are many files with different extensions...
    Now if its an rpm file i use
    rpm -ivf <filename.rpm>
    to install the pkg.
    However there is also a .bin file, what does it do?

    What is the major difference between these 2 files?

    jdk-6u3-linux-amd64.bin
    jdk-6u3-linux-amd64-rpm.bin

    Also would like to know which to install....
    and when it comes to installation just a ./filename.bin would be sufficient for .bin files?
    or are there anything else to be taken care of?

    Thanks

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    You need to let us know what Linux distribution you are using. The rpm.bin file is for distributions that use the RPM packaging tools e.g. Fedora, Mandriva, openSUSE, PCLinuxOS etc. The other file works on any Linux distro.

  3. #3
    Just Joined!
    Join Date
    May 2008
    Posts
    20
    I am using fedora, ver-3
    i would also like to know,since the version is very old,
    Is it possible to install rpm pkgs?
    Also do i need to download any extra pkgs to make this installation?

    thanks

  4. #4
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    Wel, Fedora is an rpm based distro, so yes you should be able to install rpms. To install the rpm.bin file, you need to do
    Code:
    $chmod +x jdk-6u3-linux-amd64-rpm.bin
    $./jdk-6u3-linux-amd64-rpm.bin
    That will extract an rpm file which you can install using the rpm command e.g. "rpm -Uvh somefile.rpm".

    Make sure you download the right package for your architecture i.e. don't download the amd64 package if you are running the 32 bit version of Fedora.

Posting Permissions

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