LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 12-26-2002, 10:20 AM   #1
Frank Valentin
LQ Newbie
 
Registered: Dec 2002
Distribution: Red Hat
Posts: 3

Rep: Reputation: 0
Angry 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?
 
Old 12-26-2002, 10:36 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
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 ?
 
Old 12-26-2002, 02:13 PM   #3
Frank Valentin
LQ Newbie
 
Registered: Dec 2002
Distribution: Red Hat
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
Old 12-26-2002, 02:16 PM   #4
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
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.
 
Old 12-26-2002, 02:20 PM   #5
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
have you tried ./lz11.install as root, in the directory that you extracted the files?
 
Old 12-26-2002, 03:09 PM   #6
Frank Valentin
LQ Newbie
 
Registered: Dec 2002
Distribution: Red Hat
Posts: 3

Original Poster
Rep: Reputation: 0
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!!!
 
Old 12-26-2002, 03:16 PM   #7
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
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...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
learning how to install and execute. bkz81 Linux - Newbie 4 08-04-2005 03:35 PM
"cannot execute binary file" when install j2sdk jin007 Linux - Software 3 06-27-2005 03:05 PM
How to install Creative soundcard driver and how to execute bin- and rpm-files znuggle Linux - Newbie 3 06-19-2005 08:21 AM
minimal install only /a dir. "cannot execute rc.S" egag Slackware 27 03-23-2005 12:38 PM
walkthrough wine install and then execute homerjpbody Linux - Newbie 1 11-14-2003 02:16 PM


All times are GMT -5. The time now is 05:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration