impossible to install printer driver script sh

Hello,

Kde Leap
Linux localhost.localdomain 5.3.18-lp152.60-default #1 SMP Tue Jan 12 23:10:31 UTC 2021 (9898712) x86_64 x86_64 x86_64 GNU/Linux

Terminal : Konsole
Version 20.04.2

and also xfce4-terminal.

i wish to install samsung printer driver through terminal. M2070W :

https://support.hp.com/us-en/drivers/selfservice/samsung-xpress-sl-m2070-laser-multifunction-printer-series/16450377/model/16450387

]
when i type :

./install.sh, (file executable after chmod u+x install.sh)

before driver installing, there is a information notice, must reading scrolling by space bar, but :

Problem : the script stops after the end of scrolling reading information product!

(lines 28-49/49 (END))

Nothing happen after enter or space touch. already installed well on fedora.

Any idea please ?

For me, I did

sudo ./install.sh

and I got

> sudo sh ./install.sh
**** Running install ...
**** Press 'Enter' to continue or 'q' and then 'Enter' to quit. : 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
END-USER LICENSE AGREEMENT FOR SAMSUNG ELECTRONICS SOFTWARE PRODUCT

I had to caerfully scroll down to the end where I was then presented with

9.      LIMITATION OF LIABILITY
You are solely and entirely liable for the performance or results you may obtain by using the SOFTWARE PRODUCT and SAMSUNG ELECTRONICS sha
ll not be liable for losses arising from your use of the SOFTWARE PRODUCT and for any losses arising from your inability to use the SOFTWA
RE PRODUCT. 
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL SAMSUNG OR ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIR
ECT, OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS
 OF BUSINESS INFORMATION, OR ANY OTHER PECUNIARY LOSS) ARISING OUT OF THE USE OF OR INABILITY TO USE THE SOFTWARE PRODUCT, EVEN IF SAMSUNG
 HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. IN ANY CASE, SAMSUNG'S ENTIRE LIABILITY UNDER ANY PROVISION OF THIS EULA SHALL BE LI
MITED TO THE GREATER OF THE AMOUNT ACTUALLY PAID BY YOU FOR THE SOFTWARE PRODUCT OR US$5.00. SOME JURISDICTIONS, COUNTRIES OR STATES DO NO
T ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THE ABOVE LIMITATION OR EXCLUSION MAY NOT APPLY TO YOU ONLY
 TO THE EXTENT SUCH APPLICATION IS CONTRARY TO THE LAWS OF RELEVANT JURISDICTIONS, COUNTRIES OR STATES. 
10.     Others
If you have any questions regarding this agreement and other products, please contact SAMSUNG ELECTRONICS.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

**** Do you agree ? [y/n] : 

I hit ‘y’ and because I have installed it previously (not because I have a such a printer, but because I’ve installed it to help others)…

**** The same version of Print driver is already installed.
**** The same version of Scan driver is already installed.
**** Install finished.

The crux of it is this…

Problem : the script stops after the end of scrolling reading information product!

Yes, you do need to be careful when getting to the end of that agreement not to accidentally terminate it by hitting ‘Enter’. When near the end as I posted, be looking out for the

**** Do you agree ? [y/n] :

:slight_smile:

USER@linux64:~/Downloads/uld> ./install.sh 
**** Root privileges are required
USER@linux64:~/Downloads/uld> su
Passwort: 
linux64:/home/USER/Downloads/uld # ./install.sh 
**** Running install ...
**** Press 'Enter' to continue or 'q' and then 'Enter' to quit. : 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

**** Do you agree ? [y/n] : n
**** Terminated by user
linux64:/home/USER/Downloads/uld # 

This is what I get on Leap 15.2

Edit: too lat, deano_ferrari was quicker…

…and I note this Samsung printer blog specifically mentions…

Now you see an aggravating license agreement, which you have to walk through line by line, by repeatedly pressing Enter. Note that you have to do it slowly and carefully, because if you press Enter one time too many, you shoot past the line where you have to press “y” in order to agree to the license agreement. If that happens, you have to run “sudo sh install.sh” all over again…

How annoying! :smiley:

Great thanks.

It works well with

sudo ./install.sh

!

Fantabulous! :slight_smile: