xerostar33
Jun 18th 2006, 06:27 PM
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?
fatbloke
Jun 18th 2006, 09:17 PM
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
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
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
su enter the root password when asked, then you need to change directories
cd /home/user or wherever you have the file located.
Once cd'd to the directory you should be able to either
./ setup.sh or
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
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.