Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
01-15-2020, 12:05 AM
|
#1
|
Member
Registered: Oct 2003
Location: Sydney OZ
Distribution: Ubuntu 20.04LTS, Zorin 16.2 Pro
Posts: 143
Rep:
|
Need help trying to install printer driver Linux ubuntu 18.04
I found this driver on the Xerox site which says it is Linux for my Fuji Xerox 8570 ColorCube.
Downloaded XeroxLinuxi686xpxx_4.50.11 and installed to XeroxLinuxi686xpxxInstall folder.
These are the files in that folder..
My normal reaction ala Windows is to click SetUp however that dies not work here.
This is what the 'Read Me' file says..
Quote:
Release 4.50.11
To uninstall a previous installation:
1) Use xpadmin to remove all Xerox print queues.
2) For Solaris installation, use pkgrm to remove the CTRWxpxx package.
For all other installations, remove the "Xerox" installation directory.
3) Remove /var/spool/Xerox directory.
run setup within the install directory as root to install the driver.
NOTE: setup will expand and install the compressed tar file in the install
directory, generate script files and other files that are needed
at run time. The following syntaxes are supported:
1) setup <== menu driven install
2) setup tmp_path <== menu driven install
3) setup install install_path <== no menu, just install
4) setup install install_path tmp_path <== no menu, just install
install_path is the installation directory which will contain all
the Xerox software.
tmp_path is a temporary work area. /tmp is the default work area.
In any of the above syntaxes the no_space_check is also supported
and will disable the check to ensure free space exists in the install and
tmp paths.
|
What do I do now to get this driver installed please?
Thanks in anticipation
|
|
|
01-15-2020, 01:55 AM
|
#2
|
Senior Member
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,849
|
Quote:
Originally Posted by ozstar
I found this driver on the Xerox site which says it is Linux for my Fuji Xerox 8570 ColorCube.
Downloaded XeroxLinuxi686xpxx_4.50.11 and installed to XeroxLinuxi686xpxxInstall folder.
...
My normal reaction ala Windows is to click SetUp however that dies not work here.
|
Yep, you were doing this as yourself. The readme states:
Quote:
run setup within the install directory as root to install the driver.
|
Clicking on it might have tried to run 'setup' but if it needs root privileges to complete the installation, it'd eventually fail.
The 'readme' file is giving you hints for four different ways to run the 'setup' program/script. You may just need to come up with directories you want to use for the installation destination ("install_path") and what looks like temporary workspace ("tmp_path") for the installation process.
The install process may be as simple as issuing (in a terminal window):
Code:
$ cd $HOME/Downloads/ColorCube<tab>/XeroxLinux<tab>/XeroxLinuxi686xpxxInstall
$ sudo ./setup
and responding to the questions it asks. BTW: I assume that tab completion works on your desktop; if not, you'll need to type in the full name of those download directories.
Since you need to run the installer as 'root', the 'sudo' is required and probably you'll have to enter the root password when prompted. My guess is that, using this form of the setup, you're going to be prompted for values for "install_path" and "tmp_path". Without knowing anything about what the installer is going to be placing in your filesystem, I would say that using "install_path" == "/usr/local/share/Xerox" and "tmp_path" == "/tmp" would be fairly safe. If the installer balks, it'll likely be that "/usr/local/share/Xerox" doesn't exist. Use "sudo mkdir /usr/local/share/Xerox" to create it and rerun "setup".
NOTE: Given that line in the 'readme':
Code:
To uninstall a previous installation:
...
For all other installations, remove the "Xerox" installation directory. <==<< THIS ONE!
I would NOT specify "/usr/local/bin" as the "install_path"---if you don't already have locally-written programs and scripts residing in that directory, you eventually will and it'd be a shame to clobber them when a new Xerox driver needs to be installed.
If the above 'setup' command doesn't run ("Permission denied" or "command not found"), it's probably not marked as executable (that could also be why your double-clicking on it didn't work). Either issue "chmod +x setup" in the "XeroxLinuxi686xpxxInstall" directory and rerun the 'sudo' command line or change that 'sudo' command to be:
Reply back if anything looks "odd" or doesn't make sense.
Good luck...
|
|
1 members found this post helpful.
|
01-15-2020, 03:52 AM
|
#3
|
Member
Registered: Oct 2003
Location: Sydney OZ
Distribution: Ubuntu 20.04LTS, Zorin 16.2 Pro
Posts: 143
Original Poster
Rep:
|
Thank you so much for the explanation altho' this poor old brain will need a coffee or two to absorb it.
I am loving the challenge of Linux however wonder why 'install' or batch scripts aren't written to do all the manual work like in Windows.
Obviously there is a variety of reasons, but still a shame, as it would be so much more productive. I guess that is what RPM's are. Maybe we need more of them for everything :-)
I find I spend so much time researching and trying out things just to get a new program, driver.
Anyway. Many thanks and I will give it a go..
|
|
|
01-15-2020, 04:20 AM
|
#4
|
Member
Registered: Oct 2003
Location: Sydney OZ
Distribution: Ubuntu 20.04LTS, Zorin 16.2 Pro
Posts: 143
Original Poster
Rep:
|
WEll I gave it a quick shot following exactly (except for the tabs) your lead and bingo, it spat out many lines of text about privacy etc with a Yes or No question. I did a Y and this is what I got..
Not sure but I guess it is about directories..
Quote:
Agree (y) / Disagree (n)? y
/usr/bin/lpq: Error - unknown destination "/tmp".
.................................................................................................... ............................................................................/usr/Xerox/xpxx/xpqadmin: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
/usr/Xerox/xpxx/xpqadmin: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
|
|
|
|
01-15-2020, 05:47 AM
|
#5
|
Senior Member
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,792
|
Just a guess as my only Ubuntu is 19.10, which uses libncurses6, but you may need to install libncurses5 before installing the printer driver. From a terminal
Code:
sudo apt-get install libncurses5
|
|
|
01-15-2020, 08:30 AM
|
#6
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,253
|
I would not blindly install a new library, especially an important one like libncurses. Some essential programs depend on that one.
As one oldie to another, I suggest we do this more slowly. First it would be sensible to find out what version of libncurses you have at the moment. The command "locate libncurses" should tell you that. We also need to find out why the install script doesn't recognise /tmp, which is the all-purpose location for temporary files and has been for donkey's years.
It would help too if you tell us exactly what distro this is. If it's Zorin, as your personal info suggests, that's a paid-for distro and there should be a help desk.
Your gripe is a reasonable one. Install scripts are supposed to work automatically. But this is a commercial driver download, not part of the Linux operating system, so it might well need a bit of patience to make it work.
Last edited by hazel; 01-15-2020 at 08:34 AM.
|
|
1 members found this post helpful.
|
01-15-2020, 05:56 PM
|
#7
|
Member
Registered: Oct 2003
Location: Sydney OZ
Distribution: Ubuntu 20.04LTS, Zorin 16.2 Pro
Posts: 143
Original Poster
Rep:
|
Thank you for the replies and help.
Yes just like the song says, 'Nice 'n' easy does it, everytime' :-)
There is a really helpful forum however they are limited in their knowledge of the things I am into. No doubt experts for most things normal.
It is Zorin 15.1 (I believe based on ubuntu 18.04.2 LTS)
My search for tmp found a few of them mainly on my Virtual sites, libre, Gimp, but none I can see for the OS.
I have asked their support about it too.
This is the search I did for libncurses.
Quote:
/lib/x86_64-linux-gnu/libncurses.so.5
/lib/x86_64-linux-gnu/libncurses.so.5.9
/lib/x86_64-linux-gnu/libncursesw.so.5
/lib/x86_64-linux-gnu/libncursesw.so.5.9
/snap/core18/1288/lib/x86_64-linux-gnu/libncurses.so.5
/snap/core18/1288/lib/x86_64-linux-gnu/libncurses.so.5.9
/snap/core18/1288/lib/x86_64-linux-gnu/libncursesw.so.5
/snap/core18/1288/lib/x86_64-linux-gnu/libncursesw.so.5.9
|
Thank you so much for the time and help.
oz
Got a new granddaughter they have named Hazel !
BTW.. Bought your book..
Last edited by ozstar; 01-15-2020 at 09:41 PM.
|
|
|
01-15-2020, 09:19 PM
|
#8
|
Member
Registered: Oct 2003
Location: Sydney OZ
Distribution: Ubuntu 20.04LTS, Zorin 16.2 Pro
Posts: 143
Original Poster
Rep:
|
Well we finally found it.. No idea why the script didn't see it tho'.
I will post the problem on the Xerox forum as well to see if they can offer any help.
Thank you
|
|
|
01-16-2020, 04:05 AM
|
#9
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,253
|
It's interesting that your distro puts libncurses in /lib/x86_64-linux-gnu. I've noticed that quite a few modern distros use that path for various things. The traditional location is /lib. I wonder if that's why the install script isn't finding it.
Could you attach the script to a post? I'd like to have a look at it. The forum rules say that text attachments must have a .txt suffix so you'll have to make a copy of the script with that suffix. To attach it, click on Go Advanced and then scroll down to the Attachments manager.
|
|
|
01-16-2020, 04:01 PM
|
#10
|
Member
Registered: Oct 2003
Location: Sydney OZ
Distribution: Ubuntu 20.04LTS, Zorin 16.2 Pro
Posts: 143
Original Poster
Rep:
|
Thank you.
Yes I think you may have something there..
This script is quite old too I think.
It is attached now.
|
|
|
01-17-2020, 05:53 AM
|
#11
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,253
|
That's not an install script. It's just an information file. Apparently the actual script is called "setup".
|
|
|
01-27-2020, 05:53 PM
|
#12
|
Member
Registered: Oct 2003
Location: Sydney OZ
Distribution: Ubuntu 20.04LTS, Zorin 16.2 Pro
Posts: 143
Original Poster
Rep:
|
Hi,
Have been away and now back for a while anyway.
Sorry about that file, I thought it was it, however I was so busy at the time, obviously got it wrong.
Here is the link to where I got the file.
https://www.support.xerox.com/suppor...ileLanguage=en
Hazel, I pick up your book today from the PO. Looking forward to it too.
oz
|
|
|
01-28-2020, 06:51 AM
|
#13
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,253
|
So I followed your link and downloaded both packages. The printer package has a setup script but that doesn't seem to do the things that are causing you aggro. The driver package unfortunately has a setup program (not a script) so I can't easily look inside it.
I could of course just run it, but I'm not partial to running an unknown installation program as root when I know damn well I don't want to install whatever-it-is.
Maybe I can peek in with the octal editor od. I'm certainly curious.
|
|
|
01-28-2020, 03:20 PM
|
#14
|
Senior Member
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,849
|
Quote:
Originally Posted by hazel
Your gripe is a reasonable one. Install scripts are supposed to work automatically. But this is a commercial driver download, not part of the Linux operating system, so it might well need a bit of patience to make it work.
|
Some commercial software that says "this is the package for your version of big-iron UNIX" sometimes fails. I was responsible tor installing an expensive middleware product on the company's UNIX servers and had to routinely unpack it on Linux -- which wasn't an officially supported operating system at the company (at the time) -- because the tar the vendor was using to build the package file they were shipping was creating archives that were incompatible with the tar shipped with the target operating system. After reporting the problem to them and getting the runaround I just made that 'unpack on Linux' step part of the SOP.
But back to the topic... There used to be multiple versions of shared libraries on Linux system in the past. Symlinks might be a way to make this library where the Xerox installer can find it.
|
|
|
01-28-2020, 03:23 PM
|
#15
|
Senior Member
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,849
|
Quote:
Originally Posted by hazel
... The driver package unfortunately has a setup program (not a script) so I can't easily look inside it.
I could of course just run it, but I'm not partial to running an unknown installation program as root when I know damn well I don't want to install whatever-it-is.
Maybe I can peek in with the octal editor od. I'm certainly curious.
|
Sometimes 'strings' helps. There maybe a 'usage' type message or the text of the prompts a user would see buried in the binary.
|
|
|
All times are GMT -5. The time now is 08:10 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|