I am trying to install a new printer, HP 1000, my operating system is Ubuntu, can't get the driver to install, went to terminal but can't find the proper command to install, help!!

Asked by Connie Moncrief

I am stying to install a new printer, HP 1000, my operating system is Ubuntu, installation CD is in but won't install. I tried to install via the terminal but can't find the correct command to install. When I type this command: apt-get install hplip, I get this message: "E: could not open lock file /var/lib/dpkg/lock - open (13: permission denied)" and "E: unable to lock the administration directory (var/lib/dpkg/), are you root?" I can't seem to find the right command sequence, help?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu cups Edit question
Assignee:
No assignee Edit question
Solved by:
Ubfan
Solved:
Last query:
Last reply:
Revision history for this message
Bilal Shahid (s9iper1) said :
#1

use printer gui utilities from software center.

Revision history for this message
Connie Moncrief (lady-infidel) said :
#2

I have been for the last hour, I went through the download steps to install "hplip" and it appears to have been saved to my desktop but when I try to run the installer using the command that they suggest (sh hplip-3.11.5.run) I get the message "can't open hplip-3.11.5.run".

What am I missing?

Thanks!!

Revision history for this message
Best Ubfan (ubfan1) said :
#3

You needed to use "sudo" before your apt-get command, and enter your password to perform actions as root.
The three hplip packages I have on my system are hplip, hplip-cups, and hplip-data.
Use the apt-get and avoid the direct downloads since you then will be sure to get the appropriate version for your operating system release.

Revision history for this message
Connie Moncrief (lady-infidel) said :
#4

Thanks Ubfan, that solved my question.

Revision history for this message
Connie Moncrief (lady-infidel) said :
#5

Well, that problem is fixed but I still can't get the printer to print . . . thank you very much for your help, appreciated the quick response!

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#6

New to Ubuntu some resources:

the Ubuntu Manual, it's very informative: http://ubuntu-manual.org/
Click on the "download Button" to download the latest PDF version.

http://ubuntuguide.org/wiki/Ubuntu:Natty

The Ubuntu 11.04 Unity interface
http://theravingrick.blogspot.com/2011/04/my-effort-at-writing-help-for-unity.html
The Unity interface: http://www.omgubuntu.co.uk/natty/#what

- https://help.ubuntu.com/community/SwitchingToUbuntu/FromWindows
- The Ubuntu pocket guide: http://www.ubuntupocketguide.com/
- The online help https://help.ubuntu.com/10.10/index.html

Ubuntu web sites:
http://yaserxp.wordpress.com/2008/05/29/discover-the-best-ubuntu-resources-on-the-web/

Ubuntu online magazine: Full Circle Magazine - Ubuntu's 'unofficial' magazine.
http://fullcirclemagazine.org

Revision history for this message
Connie Moncrief (lady-infidel) said :
#7

Marco, thank you much for the links, I'll start at the top and work down.