LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to execute lz11.install? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-execute-lz11-install-39404/)

Frank Valentin 12-26-2002 09:20 AM

How to execute lz11.install?
 
I had downloaded the new Z11 driver, and it contains a file called "lz11.install". My question is: how does one go about executing this file to perform the install? I have tried entering lz11, lz11.install, install lz11, etc. If I enter "install --help" I get instructions on how to copy directories from source to destination, etc. I must be missing something. Can anyone help?:Pengy:

trickykid 12-26-2002 09:36 AM

Most likely that is just a text file for instructions on how to install the driver. If this is the Z11 driver for the Lexmark printer, I would presume you could try this after unpacking the driver and then running a make, then a make install.

Have you looked on Lexmarks site for any documentation on installing this driver ?

Frank Valentin 12-26-2002 01:13 PM

No, it's not a text file. Its some sort of bash program. It starts out:

#!/bin/bash

who=`whoami`;
if [ $who != "root" ]; then
echo "You need to be root to be able to install lz11. Please log in as root and try again"
exit 1
fi
echo "The following program will set up the Lexmark Z11 printer driver."
while true
do


INSTALL=0
CONFIGURE=0
TESTPAGE=0

cat<<END
Pick one of the following options:

1) Install (old printing environment)
2) Install (Foomatic/linuxprinting.org)
3) Configure
4) Print test page
5) Uninstall
0) Quit

END

Maybe I should have included this in the first place. Sorry.
Any ideas?
I did go to linux printing site (that's where I got the driver from), but all they say is to download, extract the files, and then install. I've done the first two, and am now stuck on the third.

trickykid 12-26-2002 01:16 PM

Try maybe this as root:

cd into the directory you extracted it to then do a:

./lz11.install

After making sure the actual file is executable.

rshaw 12-26-2002 01:20 PM

have you tried ./lz11.install as root, in the directory that you extracted the files?

Frank Valentin 12-26-2002 02:09 PM

That was the solution. I went to the location of the lz11.install file, and ran ./lz11.install. Thanks! Now to see if the printer will print!!!

trickykid 12-26-2002 02:16 PM

Basically you needed the ./ in front of the command as most likely where you extracted it to wasn't in your path to search for the command itself..

Hopefully it installed just fine from that point... :)


All times are GMT -5. The time now is 04:21 AM.