Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-05-2012, 05:38 AM   #1
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 (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, 05:49 AM   #2
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, 06:09 AM   #3
Registered: May 2010
Location: New Jersey, USA
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, 07:08 AM   #4
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2018 CentOS6.10 CentOS7.5 + 50+ other Linux OS, for test only.
Posts: 17,126

Rep: Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491Reputation: 3491
Welcome to LQ.
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 07:12 AM.


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

All times are GMT -5. The time now is 10:06 PM.

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