Results 1 to 10 of 13

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

Hybrid View

  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
    Nov 2005
    Location
    Uppsala, Sweden
    Beans
    2,180
    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".

  9. #9
    Join Date
    Feb 2012
    Beans
    19

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

    After that I got options to install. But when I select by typing 1 in the terminal I got "Compiler is not available to compile modules, aborting..."

  10. #10
    Join Date
    Aug 2011
    Beans
    1

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

    Also make sure that install.sh script is stored in your disk. If it is not, you may be getting error "command not found"

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
  •