Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: run "./install.sh" (from folder) as root????

  1. #1
    Join Date
    Feb 2011
    Beans
    5

    run "./install.sh" (from folder) as root????

    I am trying to install the divx codec, and this is what the readme says: run "./install.sh" as root.

    I am an absolute beginner. please help.

  2. #2
    Join Date
    Sep 2010
    Location
    Montreal
    Beans
    340
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: run "./install.sh" (from folder) as root????

    run
    Code:
    sudo ./install.sh
    it will then ask you for a password. if your the only user on your computer then it will probably be your password. The sudo command is put in front of any command to run it as root.
    GOOGLE IS YOUR FRIEND
    restoring grub

  3. #3
    Join Date
    Feb 2011
    Beans
    5

    Re: run "./install.sh" (from folder) as root????

    when i do that it says :
    Code:
    sudo: ./install.sh: command not found

  4. #4
    Join Date
    Nov 2010
    Beans
    Hidden!

    Re: run "./install.sh" (from folder) as root????

    try
    Code:
    sudo sh install.sh

  5. #5
    Join Date
    Sep 2010
    Location
    Montreal
    Beans
    340
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: run "./install.sh" (from folder) as root????

    not sudo: just sudo ./install.sh
    GOOGLE IS YOUR FRIEND
    restoring grub

  6. #6
    Join Date
    Feb 2011
    Beans
    5

    Re: run "./install.sh" (from folder) as root????

    for sudo sh install it says : sh: Can't open install.sh

    and this doesn't make sense, how do i direct it to the folder?

  7. #7
    Join Date
    Sep 2010
    Location
    Montreal
    Beans
    340
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: run "./install.sh" (from folder) as root????

    cd to the directory of install.sh
    Code:
    cd path/to/directory
    GOOGLE IS YOUR FRIEND
    restoring grub

  8. #8
    Join Date
    Feb 2011
    Beans
    5

    Re: run "./install.sh" (from folder) as root????

    hmm, i'm sorry, i'm still not getting anything.

  9. #9
    Join Date
    Sep 2010
    Location
    Montreal
    Beans
    340
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: run "./install.sh" (from folder) as root????

    let's say the file install.sh is in the downloads folder of your home directory then first run
    Code:
    cd ~/Downloads
    then run
    Code:
    sudo sh ./install(.sh)
    GOOGLE IS YOUR FRIEND
    restoring grub

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

    Re: run "./install.sh" (from folder) as root????

    Quote Originally Posted by wanitto View Post
    I am trying to install the divx codec, and this is what the readme says: run "./install.sh" as root.

    I am an absolute beginner. please help.
    As you are an absolute beginner, I guess that you are trying to do things a lot more complicated than they really are.
    To get the divx codec (and a lot of other codecs that are not installed by default), just install the package "libavcodec-extra-52".

    Open up synaptic (System-->Administration-->synaptic package manager) and search for it. Or install it from the terminal with this simple command:
    Code:
    sudo apt-get install libavcodec-extra-52
    There are a bunch of packages (codecs, adobe flash, support for .rar archives, java plugin for firefox etc.) that most people want but that are not installed by default due to their licences, which can be installed by installing the package "ubuntu-restricted-extras".

Page 1 of 2 12 LastLast

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
  •