Results 1 to 7 of 7

Thread: how to install a .rpm file

  1. #1
    Join Date
    Mar 2013
    Beans
    8

    how to install a .rpm file

    i dont know how to install a file. I have downloaded jdk-6u43-linux-i586-rpm.bin from oracle.com.Please guide me how to install it using terminal.

  2. #2
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: how to install a .rpm file

    First of all delete that file. RPM files are for Red Hat or Fedora machines, not for Ubuntu.

    Then install Java by typing the following commands into a terminal...
    Code:
    sudo add-apt-repository ppa:webupd8team/java
    sudo apt-get update
    sudo apt-get install oracle-java7-installer
    Cheesemill

  3. #3
    Join Date
    Mar 2013
    Beans
    8

    Re: how to install a .rpm file

    but i want to install java6. Is there any way to install it.

  4. #4
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: how to install a .rpm file

    You can replace oracle-java7-installer with oracle-java6-installer in the above command.

    Is there any particular reason you need version 6, it reached end-of-life in February and won't be getting any more updates.
    From a security point of view it's much safer to be using 7.
    Cheesemill

  5. #5
    Join Date
    Mar 2013
    Beans
    8

    Re: how to install a .rpm file

    yes, i am following moziila wiki to build a platform for android development where it is recommended. https://wiki.mozilla.org/Mobile/Fenn...uilding_Fennec

  6. #6
    Join Date
    Mar 2013
    Beans
    8

    Re: how to install a .rpm file

    i have also installed oracle-java6-installer
    but why this command is not working
    sudo apt-get install sun-java6-jdk mercurial ccache

  7. #7
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: how to install a .rpm file

    Try this instead...
    Code:
    sudo apt-get install mercurial ccache
    The sun-java6-jdk package isn't in the repositories anymore due to licensing issues. But you don't need it anyway as you have already install Java with the commands I gave you earlier.
    Cheesemill

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
  •