Results 1 to 8 of 8

Thread: need help installing .rpm the EASY way

  1. #1
    Join Date
    Jul 2012
    Beans
    25

    Red face need help installing .rpm the EASY way

    hello. to start off i am new at linux.
    my goal is to install oracle sun java, the one from javas website. no i do not want to install the free jdk penguin java from the software center because that doesnt run the files i would like to run. i was sent to go install ''sun java''
    i went to the website and i downloaded a small file that was packaged as a ''tarball'' (tar.gz)
    i also downloaded the .rpm file aswell, why not try both.
    now i have both files and i can explore them as if they were zip files but i have no clue how to install them.
    i went to google and i must have gone to atleast a dozen web pages that all gave me different paragraphs to copy and paste into my terminal.
    i tried every one i came across and they all said "command not found"
    yes i did change <version> to my version #

    im just looking for an easy way for a new user to install the .rpm file without using terminal commands

  2. #2
    Join Date
    Jul 2012
    Beans
    25

    Re: need help installing .rpm the EASY way

    the file name is jre-7u5-linux-x64.rpm and this is the list of commands that didnt work:
    rpm -i jre-7u5-linux-x64.rpm
    man rpm
    rpm -ivh jre-7u5-linux-x64.rpm

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

    Re: need help installing .rpm the EASY way

    Don't install it that way, it's too complicated. RPM files are meant for Red Hat or Fedora, not for Ubuntu so they won't work.

    Instead just do the following:
    Code:
    sudo add-apt-repository ppa:webupd8team/java
    sudo apt-get update
    sudo apt-get install oracle-java7-installer
    I know it uses terminal commands but as far as I know there is no way of install Oracle Java without using the terminal.
    Cheesemill

  4. #4
    Join Date
    Jan 2009
    Location
    ::1
    Beans
    2,485

    Re: need help installing .rpm the EASY way

    Quote Originally Posted by motoclaw View Post
    the file name is jre-7u5-linux-x64.rpm and this is the list of commands that didnt work:
    rpm -i jre-7u5-linux-x64.rpm
    man rpm
    rpm -ivh jre-7u5-linux-x64.rpm
    What happened when you executed these commands ...? Maybe just a matter of installing rpm itself, and running it with sudo?

  5. #5
    Join Date
    Jul 2012
    Beans
    25

    Re: need help installing .rpm the EASY way

    phew thankyou, i was halfway through getting super confused over this thing called "alien" lol
    it says im about to add this ppa to my system

    currently at
    gpg: imported: 1 (RSA: 1)

  6. #6
    Join Date
    Jul 2012
    Beans
    25

    Re: need help installing .rpm the EASY way

    ohhh dude my minecraft works now thanks a million ily <3

  7. #7
    Join Date
    Nov 2005
    Location
    Uppsala, Sweden
    Beans
    2,180
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: need help installing .rpm the EASY way

    .rpm files are for Red Hat and related linux distros. They will not install natively in Ubuntu. It is possible to install some .rpm packages using a program called "alien", but chances are the program you install that way will either not work at all or just not work properly.

    It's probably better that you install from the .tar.gz file.
    The instructions on this page should do it. You will need to run some terminal commands. There just isn't any easier way to describe it. A single terminal command can do what it takes a whole page to describe how to do with mouse clicks...

    Edit: I'm typing too slowly, so someone beat me to it with a much better method...

  8. #8
    Join Date
    Nov 2005
    Location
    Uppsala, Sweden
    Beans
    2,180
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: need help installing .rpm the EASY way

    Quote Originally Posted by Cheesemill View Post
    I know it uses terminal commands but as far as I know there is no way of install Oracle Java without using the terminal.
    Actually you can easily add the ppa and install the package using synaptic, but it's just so much easier to just copy+paste a few commands into a terminal...

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
  •