installing Samsung ML-2160 printer

I’m not sure if this is a hardware or software problem. I downloaded Samsung’s Universal Printer Driver. It installed perfectly well on my laptop. But I’m, having a heck of a job trying to install it on my desktop.

Getting straight down to the nuts and bolts of the problem…

From the ULD folder Using Konsole I’m typing


sudo: install-printer.sh: command not found
stu@ZyXEL2:~/Downloads/uld>
or
sudo ./install-printer.sh
sudo: ./install-printer.sh: command not found
stu@ZyXEL2:~/Downloads/uld> 

From the ULD folder Terminal Super User


install-printer.sh                                                                                                                                                                                                                            
If 'install-printer.sh' is not a typo you can use command-not-found to lookup the package that contains it, like this:                                                                                                                                                         
    cnf install-printer.sh           

This looks to me like a pathing problem, which I don’t know how to fix?

I’ve checked that CUPS and SANE are both installed.

Any help appreciated.

Please post:

pwd
ls -al ~/Downloads/uld

The full path is /home/stu/Downloads/uld

ls -al ./Downloads/uld =

total 2356
drwxr-xr-x 5 stu users 237 Apr 5 15:10 .
drwxr-xr-x 17 stu users 8192 Apr 5 15:50 …
-rw-r–r-- 1 root root 2369773 Apr 5 15:06 Samsung_ULD_UsersGuide1.1_English.pdf
drwxr-xr-x 2 stu users 149 Dec 15 19:22 i386
-rw-r–r-- 1 stu users 446 Dec 13 2014 install-printer.sh
-rw-r–r-- 1 stu users 446 Dec 13 2014 install-scanner.sh
-rw-r–r-- 1 stu users 848 Dec 13 2014 install.sh
drwxr-xr-x 5 stu users 4096 Dec 15 19:22 noarch
-rw-r–r-- 1 stu users 328 Dec 13 2014 uninstall-printer.sh
-rw-r–r-- 1 stu users 328 Dec 13 2014 uninstall-scanner.sh
-rw-r–r-- 1 stu users 383 Dec 13 2014 uninstall.sh
drwxr-xr-x 2 stu users 149 Dec 15 19:22 x86_64

Supposing .sh are bash scripts, they should be made executable, but the execute bit is not set. For example, install.sh should list as:

-rw-r--r-**x**  1 stu  users     848 Dec 13  2014 install.sh

Don’t remember how to do it from the cmdline, I usually use KDE permissions dialogue.

Sorry, this only gives execute permission to others, I don’t know if it works (it probably does). All shell scripts I have here have all three execute permission bits set, as below:

-rw**x**r-**x**r-**x**  1 stu  users     848 Dec 13  2014 install.sh
chmod +x install.sh