Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 18
Hey guys, Hey I have a few questions, it's been a while since I ran ubuntu but I just came back to it with 9.04. Anyway, I forgot almost everything ...
  1. #1
    Just Joined!
    Join Date
    Oct 2008
    Posts
    14

    Newbie here few questions please...

    Hey guys,

    Hey I have a few questions, it's been a while since I ran ubuntu but I just came back to it with 9.04.

    Anyway, I forgot almost everything LOL, but my first question was logging into root user. I remembered sudo passwd root and set my root password, but I couldn't find out how to login as a root user. For now I just want it because I can't seam to get Adobe Flash Player without root because I need to add the .so to disk>usr>lib>mozilla and I can't touch these files without being root usr.

    Second question was installing WoW. I had a backup copy of wow on my external (installed on windows) so everytime I reformated I wouldn't have to reinstall it, I could just drag the folder. I tried this here and the .exe gave me an error. I was just wondering if there is a way around this, or if I'll have to do a fresh install from the CD's. If so, I forget, can I just put the CD in and go from there, or will I need to use wine or something?

    Thanks guys,
    Andy

  2. #2
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    845
    Anyway, I forgot almost everything LOL, but my first question was logging into root user. I remembered sudo passwd root and set my root password, but I couldn't find out how to login as a root user. For now I just want it because I can't seam to get Adobe Flash Player without root because I need to add the .so to disk>usr>lib>mozilla and I can't touch these files without being root usr.
    To run a command as root simply put sudo (superuser do) before the command. So if you wanted to copy a file as root do:

    Code:
    sudo cp filname /new/location
    Second question was installing WoW. I had a backup copy of wow on my external (installed on windows) so everytime I reformated I wouldn't have to reinstall it, I could just drag the folder. I tried this here and the .exe gave me an error. I was just wondering if there is a way around this, or if I'll have to do a fresh install from the CD's. If so, I forget, can I just put the CD in and go from there, or will I need to use wine or something?
    Yes, .exe files are Window's executables so to run them on Ubuntu you will need to run it through Wine. You may be able to use your back up version but I'm no Wine expert so I won't be able to guide you through the process myself
    Linux User #453176

  3. #3
    Just Joined!
    Join Date
    Oct 2008
    Posts
    14
    hey, i downloaded the .tar.gz file from adobes website, and extracted libflashplayer.so to the desktop. Then I went to terminal and typed sudo cp libflashplayer.so usr/lib/mozilla/pluigins. THen it asks for password, then comes back saying: "cp cannot stat: 'libflashplayer.so': No Such File or Directory... Only problem is... that I'm looking at the file as I type on the desktop...?

    Also, sorry, but that kind of leads me to another question... When I try using the \cd command it will let me change to my home directory, but after that it just says no directory found. The only folder in my home folder is "andy". No matter whether I navigate to /home/andy, or goto /home and then try to go to /andy after that, it just says "bash: \cd: No such file or directory. Does anyone know why this might be?


    Thanks so much,
    Andy

  4. #4
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    845
    When installing software it is advised to use a package manager. A package manager will install software automatically as well as sorting out any dependencies. It will also keep your software up-to-date. For instructions on how to use the package manager in Ubuntu see https://help.ubuntu.com/community/SynapticHowto

    You can also use your package manager with the command line. To install Flash, as well as some other proprietary software you may find useful install ubuntu-restricted-extras with the command:

    Code:
    sudo apt-get install ubuntu-restricted-extras
    Edit: Once installed you will need to restart Firefox for the changes to take effect
    Linux User #453176

  5. #5
    Just Joined!
    Join Date
    Oct 2008
    Posts
    14
    Thanks Kieren I'll give that a try too

  6. #6
    Just Joined!
    Join Date
    Oct 2008
    Posts
    14
    Quote Originally Posted by Kieren View Post
    When installing software it is advised to use a package manager. A package manager will install software automatically as well as sorting out any dependencies. It will also keep your software up-to-date.

    You can also use your package manager with the command line. To install Flash, as well as some other proprietary software you may find useful install ubuntu-restricted-extras with the command:

    Code:
    sudo apt-get install ubuntu-restricted-extras
    Edit: Once installed you will need to restart Firefox for the changes to take effect


    The sudo apt-get install ubuntu-restricted extras gave me this response...

    "Package Ubuntu-Restricted-Extras is not available, but is referred to by another package.
    This may mean that the package is missing,has been obsoleted, or is only available from another source.
    E: Package Ubuntu-Restricted-Extras has no installation candidate."

    Thanks again man!

  7. #7
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    845
    I guess you don't have the correct repositories set up. No worries, near the top of this page is a link with the text "Click here to install the ubuntu-restricted-extras package". Click that and it should install the package you need

    To make sure you have enough repositories to install software in the future we also need to check your /etc/apt/sources.list file. Can you also post the output of:

    Code:
    cat /etc/apt/sources.list
    Linux User #453176

  8. #8
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Quote Originally Posted by Andyandhisboard View Post
    hey, i downloaded the .tar.gz file from adobes website, and extracted libflashplayer.so to the desktop. Then I went to terminal and typed sudo cp libflashplayer.so usr/lib/mozilla/pluigins. THen it asks for password, then comes back saying: "cp cannot stat: 'libflashplayer.so': No Such File or Directory... Only problem is... that I'm looking at the file as I type on the desktop...?

    Also, sorry, but that kind of leads me to another question... When I try using the \cd command it will let me change to my home directory, but after that it just says no directory found. The only folder in my home folder is "andy". No matter whether I navigate to /home/andy, or goto /home and then try to go to /andy after that, it just says "bash: \cd: No such file or directory. Does anyone know why this might be?


    Thanks so much,
    Andy
    \cd isn't correct. To change to your users folder it would be cd /home/andy.

    When copying, if you are not in the correct directory, you need the whole path to the file, so if the flash file is in $HOME/Desktop, then sudo cp /home/andy/libflashplayer.so /usr/lib/mozilla/plugins/, or use the shortcut for your home directory, sudo cp ~/Desktop/libflashplayer.so

  9. #9
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Here is a guide to ubuntu repositories.
    https://help.ubuntu.com/community/Repositories/Ubuntu

    Make sure you add universe and multiverse, although they should be enabled by default in Jaunty. If they are, have you updated your repo database?
    Code:
    sudo apt-get update
    You'll probably want to add the medibuntu repositories as well.
    https://help.ubuntu.com/community/Medibuntu

  10. #10
    Just Joined!
    Join Date
    Oct 2008
    Posts
    14
    Hey guys, thanks so much for your help. I'm workin on all the stuff atm, but I have a result for the cat /etc/apt/sources.list... only problem is I don't have 15 posts and half of the results for that are URLs and it wont let my post it, and suggestions ?

    Thanks so much guys for your time and help too!!!!!!

Page 1 of 2 1 2 LastLast

Posting Permissions

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