LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 02-05-2012, 04:38 AM   #1
JoWest
LQ Newbie
 
Registered: Feb 2012
Posts: 1

Rep: Reputation: Disabled
How to install a printer driver in Ubuntu?


I have downloaded a driver that I think is the right one for my printer. It's called "m2300w-0.51.tar.gz".
I tried to follow the instructions for the pre-built RPM (according to Install - i don't know what RPM is) :
1. Make sure that all prerequisites are installed (Yes)
2. download m2300w-<version>.rpm from
http://sourceforge.net/project/showf...roup_id=108751 (yes, does it matter to where, which folder, I have downloaded it?)
3. install or upgrade the rpm package (as root)
$ su
Password: ********
$ rpm -U m2300w-<version>.rpm
it can't find the command. What to do?
 
Old 02-05-2012, 04:49 AM   #2
flanagan
LQ Newbie
 
Registered: Jun 2006
Location: Pennsylvania, USA
Distribution: Kubuntu, Linux Mint (Cinnamon)
Posts: 5

Rep: Reputation: 0
If you type man rpm at a command prompt you will see that RPM is a package manager along with all its options. You will see that -U is used to upgrade an existing package. I suspect this is the first time you are installing this driver and it is not an upgrade. RPM is likely complaining that it cannot find the package you are trying to upgrade. I would use the -i option instead to install.
 
Old 02-05-2012, 05:09 AM   #3
ifranklin
Member
 
Registered: May 2010
Location: Nairobi, Kenya
Distribution: Ubuntu
Posts: 66

Rep: Reputation: 4
PLEASE if you need to be helped better, tell us what distro you are using, what is the model of your printer, what options have you tried, the more you tell us the better in a position we shall be to help you
 
Old 02-05-2012, 06:08 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,656

Rep: Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281
Welcome to LQ.
Quote:
rpm -U m2300w-<version>.rpm
That command is not for Ubuntu, but for e.g. Fedora, CentOS.
( Besides that, 'rpm -Uvh' is the default install command for an rpm OS.)

Installing the Minolta m2300w printer driver from source :
1) cd m2300w-0.51/ && ./configure --prefix=/usr/
2) make
3) sudo make install

But why not install the Ubuntu package : sudo apt-get install m2300w

.

Last edited by knudfl; 02-05-2012 at 06:12 AM.
 
  


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
Printer driver problem after upgrade to Ubuntu 11.10 John Belton Ubuntu 7 10-21-2011 12:31 AM
lexmark 5200 printer driver for ubuntu Nicky Glegg Linux - Newbie 1 08-09-2010 11:11 PM
Ubuntu driver for Lexmark printer(Lx7350). eaivision Linux - Newbie 11 11-17-2009 10:06 AM
Ubuntu driver for Pixma iP1000 printer dtariman Ubuntu 1 12-15-2006 09:56 PM
Printer Driver (and printer) install errors. O4_SRT Linux - Hardware 5 03-07-2006 07:16 PM


All times are GMT -5. The time now is 12:51 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration