how to install

Discussion in 'Linux, BSD and Other OS's' started by donkey42, Jun 28, 2006.

  1. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    ok, downloaded opera-9.0-20060616.5-shared-qt.i386-en.tar.gz to /home/download/ but i just realized, i don't know how to install stuff in Mandriva, tried dbl clck (cos thats how Win installs) been to
    Code:
    tar:/home/dave/Download/opera-9.0-20060616.5-shared-qt.i386-en.tar.gz/opera-9.0-20060616.5-shared-qt.i386-en-344
    and dbl clcked install.sh but it comes up with what i assume is the install script, but how do i install software (opera) ?
     
  2. megamaced

    megamaced Geek Geek Geek!

    Likes Received:
    0
    Trophy Points:
    36
    I *think* you have downloaded the wrong version of Opera. You should download the Mandriva (or RPM specific) version from Opera's website.

    Or you could try opening up a terminal and launching the install.sh file *as root* with

    Code:
    ./install.sh
    Opera may be available in the Mandriva's repositories, but you'll have to ask a Mandriva user about that
     
  3. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    hi mega, i downloaded the .tar.gz file, which i presume dosn't need extracting as i can gain access to

    Code:
     /install.sh
    but when i'm logged in as root, i don't seem to be able to access the files, i can access when logged in as myself, tried looking through the mag you were kind enough to send me, but so far nothing
     
  4. megamaced

    megamaced Geek Geek Geek!

    Likes Received:
    0
    Trophy Points:
    36
    You *do* need to extract the tar file

    Open up a terminal and navagate to the tar file. Then:

    Code:
    tar xvzf <Insert_opera_filename_here.tar.gz>
    Then navagate into the new Opera directory that has been extracted and run the install.sh script as shown in my last post
     
  5. Addis

    Addis The King

    Likes Received:
    91
    Trophy Points:
    48
    Donkey42, please use the RPM package manager when you can. It simplifies a lot of things.

    I take it that you have not yet set up your online software repositories.

    Go to [google]easy urpmi[/google] and follow the instructions there to set up your repos. Choose 2006 official, i586 and urpmi for the options. then, in the next step add a tickbox to each of the sources. Choose a mirror location close to you. As you're in the UK, choose the ftp or http servers from anorien.csc.warwick.ac.uk ones as they're usually high speed and reliable.

    For the plf ones choose the free.fr mirrors, but its up to you. Once you've chosen them go to the next step. you'll be given the commands you'll need to enter.

    Copy and paste these commands into the shell (konsole). Use shift-insert to paste. Don't forget that the last command may not have a newline character appended to it, so on one of the commands you'll need to press enter to start the command. Just keep a watch on it and it'll be fine.

    Once all your repositories are done, type "urpmi opera" and have opera installed for you in one command. Sometimes it takes a while for the menu entries to appear. In this case, just go to kmenu>run>opera and it should run fine.

    Of course, once your software repositories are configured, you can just use the graphical tool to search and install things. go to kmenu>system>configuration>packaging>install software.
     
  6. megamaced

    megamaced Geek Geek Geek!

    Likes Received:
    0
    Trophy Points:
    36
    Yeah, it's ashame because Opera is not part of the (X/K)ubuntu repositories either.

    Opera does have it's own repositories for Linux though, and for Debian based distributions its:
    Code:
    deb http://deb.opera.com/opera/ stable non-free
    Or if you want bleeding-edge Opera, go for:

    Code:
    deb http://deb.opera.com/opera/ unstable non-free
     
  7. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    done that, but the only options under kmenu>system are:

    home folder
    storage media
    remote places
    settings
    wastebin

    i don't know what to do now ?
     
  8. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    i'm now doing something i've never done before, i'm actually reading the manual for mandriva thanks to AT, but it isn't easy, i'm having to go against everything i believe in
     
  9. Addis

    Addis The King

    Likes Received:
    91
    Trophy Points:
    48
    Thats very odd that you don't see the menu options there.

    Please remember to follow the advise that me & AT give about setting up urpmi repositories. It will make things a lot easier.

    Have you changed any of the menu settings from the default install of Mandriva 2006?
     
  10. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    no, not that i know off, just taken a few icons off the panel.
     
  11. Anti-Trend

    Anti-Trend Nonconformist Geek

    Likes Received:
    118
    Trophy Points:
    63
    1. Download the Opera RPM for Mandriva
    2. In KDE, simply click on the RPM package and choose 'Install'. In any other Window manager, just start a shell and type uprmi name_of_the_opera_package.rpm.
    3. There is no step 3.
     
  12. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    tried and received error

    Code:
    Password:
    [root@hayes ~]# cd /home/dave/Download/
    [root@hayes Download]# uprmi opera-9.0-20060616.5-shared-qt.i386-en.rpm
    -bash: uprmi: command not found
    [root@hayes Download]#
    file name copied from actual file (start rename then right click + copy, then pasted directly into ROOT Konsole)
     
  13. Anti-Trend

    Anti-Trend Nonconformist Geek

    Likes Received:
    118
    Trophy Points:
    63
    That's because it's urpmi, not uprmi. Sorry for the typo... :O
     
  14. Addis

    Addis The King

    Likes Received:
    91
    Trophy Points:
    48
    donkey42, just a tip when using the command line. Pressing tab will complete file/program names for you as much as it can. If multiple possibilties exist, press tab twice to see the list of possible choices.
     
  15. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    no probs
    Code:
    [dave@hayes ~]$ su
    Password:
    [root@hayes dave]# cd /home/dave/Download/
    [root@hayes Download]# urpmi opera-9.0-20060616.5-shared-qt.i386-en.rpm
    The package(s) are already installed
    The following package names were assumed: opera
    [root@hayes Download]# urpmi opera
    no package named opera
    [root@hayes Download]#
    confused: first it says "there is a package called opera" the it say there no package called opera
     
  16. megamaced

    megamaced Geek Geek Geek!

    Likes Received:
    0
    Trophy Points:
    36
    Looks as though you have already installed Opera?

    Open up a terminal and just type 'opera'. It should load up
     
  17. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    opera installed and working,

    slightly concerned about error that appreares in terminal after typing opera
    Code:
    [dave@hayes ~]$ opera
    ERROR: ld.so: object 'libjvm.so' from LD_PRELOAD cannot be preloaded: ignored.
    ERROR: ld.so: object 'libawt.so' from LD_PRELOAD cannot be preloaded: ignored.
    QMultiInputContext::changeInputMethod(): index=0, slave=xim
    QMultiInputContext::changeInputMethod(): index=0, slave=xim
    and what command do i put into kmenu to put opera in it ?

    what does this mean ?
     
  18. Anti-Trend

    Anti-Trend Nonconformist Geek

    Likes Received:
    118
    Trophy Points:
    63
    The message is a minor QT error, it's not a big deal. As for the KDE menu, you can do this in Mandriva by either right-clicking the menu and choosing "Menu Editor" or else you can run menudrake from the shell as root and edit the menu system-wide.
     
  19. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    i always have done things the hard way, easy is too easy, like it would have been too easy the stick with XP, the way i came to linux was by way of a challenge from MS (that doesn't exist)

    good init

    thanks
     
  20. megamaced

    megamaced Geek Geek Geek!

    Likes Received:
    0
    Trophy Points:
    36
    libjvm.so sounds like Java to me. Have you installed Java yet?

    If so, you need to tell Opera where to find it:

    Go to Tools > Preferences > Advanced Tab > Content > Java Options > Type in your Java directory (in Kubuntu it's /usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/lib/i386 - your's might be different) > Click Validate Path

    Which Opera version did you download - Shared QT or Static QT?
     

Share This Page