Announcement

Collapse
No announcement yet.

.sh? How do I install?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    .sh? How do I install?

    This should be another simple question:

    I need to install a driver for my Samsung ML-2010 printer; I found the appropriate files, but the readme tells me to install setup.sh as the root user. How would I go about doing this?

    #2
    Re: .sh? How do I install?

    Well I can only explain how I'd try - I'm used to doing stuff like that the traditional way, this "sudo lark" is a new thing.

    So you can either google for info about adding the root password (I think it is "sudo passwd" it then asks for your password and then asks you to input the password you want too use for root - it should ask you to put it in a second time as confirmation, which, if correct tells you that it's been updated. I think thats right, but don't quote me).

    Anyway, you can try to install the file by opening a terminal window and then just doing
    Code:
    sudo sh setup.sh
    just change the "setup.sh" for whatever the file is called.

    If it complains or just does nothing, you could then try
    Code:
    sudo chmod +x
    and then try the step above again (that scenario would be if the .sh file isn't executable and the chmod thing should make it so - you might have to try chmod a+x)

    If that still doesn't work then you'll probably have to sort the root password, as above, then do
    Code:
    su
    enter the root password when asked, then you need to change directories
    Code:
    cd /home/user
    or wherever you have the file located.

    Once cd'd to the directory you should be able to either
    Code:
    ./ setup.sh
    or
    Code:
    sh setup.sh
    I should have thought that one of those steps will get it installed - I only found out the other day, that this is basically the same for .bin files as well.

    regards

    fatbloke
    What the large print giveth, the small print taketh away! Tom Waits.

    Comment

    Working...
    X