installing hplip 2.8.7

Asked by sue bickley

I am using ubuntu with AMD64 athlone x 2 processor trying to get the scanner to work on HP Deskjet F2280. I down loaded hplip 2.8.7. tar. gz from sourceforge.net and followed instructions but when i type sh hplip 2.8.7.run in terminal it tells me can't open hplip 2.8.7.run. The file is on the desktop and seems to have installer with it, know i'm missing something simple here, please could somebody tell me what it is?

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Aaron Albright
Solved:
Last query:
Last reply:
Revision history for this message
Hemanth (hemanth-hm) said :
#1

Try this

sudo chmod 777 *.run (in the directory where your hplip 2.8.7.run file is present)

then run the file as per the instructions ...normally sudo ./<name>

Revision history for this message
dwelch91 (dwelch91) said :
#2

Do not use "sudo" or "su" when running the .run file.

On Sat, Aug 30, 2008 at 9:50 AM, Hemanth <
<email address hidden>> wrote:

> Question #43643 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/43643
>
> Status: Open => Answered
>
> Hemanth proposed the following answer:
> Try this
>
> sudo chmod 777 *.run (in the directory where your hplip 2.8.7.run file
> is present)
>
> then run the file as per the instructions ...normally sudo ./<name>
>
> --
> You received this question notification because you are a member of HP
> Linux Imaging and Printing, which is an answer contact for HPLIP.
>

Revision history for this message
dwelch91 (dwelch91) said :
#3

Sorry, to be more clear:

$ sudo chmod 777 *.run
$ sh ./hplip-2.8.7.run

On Sat, Aug 30, 2008 at 12:36 PM, dwelch91 <
<email address hidden>> wrote:

> Question #43643 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/43643
>
> dwelch91 proposed the following answer:
> Do not use "sudo" or "su" when running the .run file.
>
>
> On Sat, Aug 30, 2008 at 9:50 AM, Hemanth <
> <email address hidden>> wrote:
>
> > Question #43643 on HPLIP changed:
> > https://answers.launchpad.net/hplip/+question/43643
> >
> > Status: Open => Answered
> >
> > Hemanth proposed the following answer:
> > Try this
> >
> > sudo chmod 777 *.run (in the directory where your hplip 2.8.7.run file
> > is present)
> >
> > then run the file as per the instructions ...normally sudo ./<name>
> >
> > --
> > You received this question notification because you are a member of HP
> > Linux Imaging and Printing, which is an answer contact for HPLIP.
> >
>
> --
> You received this question notification because you are a member of HP
> Linux Imaging and Printing, which is an answer contact for HPLIP.
>

Revision history for this message
sue bickley (suebickley2) said :
#4

Thanks for the replies:
here's what happened

sue@sue-desktop:~$ sh hplip-2.8.7.run
sh: Can't open hplip-2.8.7.run
sue@sue-desktop:~$ sudo chmod 777 *.run
Password:
chmod: cannot access `*.run': No such file or directory
sue@sue-desktop:~$ "cd /sue/home/Desktop
> sudo chmod 777 *.run
>
and nothing more.
hplip-2.8.7.run is definately on the desk top, i even downloaded it again. Guess I can understand why folks would choose the easy way and use windows :-)
 a new user. lots to learn

Revision history for this message
dwelch91 (dwelch91) said :
#5

You have to do:

sh ./hplip-2.8.7.run

The "./" tells the shell to run it from the current (or ".") directory. That
is why it is not working.

On Sun, Aug 31, 2008 at 4:18 PM, sue bickley <
<email address hidden>> wrote:

> Question #43643 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/43643
>
> Status: Answered => Open
>
> sue bickley is still having a problem:
>
> Thanks for the replies:
> here's what happened
>
> sue@sue-desktop:~$ sh hplip-2.8.7.run
> sh: Can't open hplip-2.8.7.run
> sue@sue-desktop:~$ sudo chmod 777 *.run
> Password:
> chmod: cannot access `*.run': No such file or directory
> sue@sue-desktop:~$ "cd /sue/home/Desktop
> > sudo chmod 777 *.run
> >
> and nothing more.
> hplip-2.8.7.run is definately on the desk top, i even downloaded it again.
> Guess I can understand why folks would choose the easy way and use windows
> :-)
> a new user. lots to learn
>
> --
> You received this question notification because you are a member of HP
> Linux Imaging and Printing, which is an answer contact for HPLIP.
>

Revision history for this message
Hemanth (hemanth-hm) said :
#6

You can also try this

Right click on the file (ur .run file)
Properties >> Permissions >>Select allow execution
Double click and say run in terminal

P.S : windows is the easiest way to get into more trouble , u are free to
fly not to die

The whole problem with the world is that fools and fanatics are always so
certain of themselves, but wiser people so full of doubts.
Bertrand Russell

I ask you only two questions :

1. Did u find joy in ur life?
2.How many found joy from ur life ??

-Hemanth HM

On Mon, Sep 1, 2008 at 6:03 AM, dwelch91 <
<email address hidden>> wrote:

> Question #43643 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/43643
>
> Status: Open => Answered
>
> dwelch91 proposed the following answer:
> You have to do:
>
> sh ./hplip-2.8.7.run
>
> The "./" tells the shell to run it from the current (or ".") directory.
> That
> is why it is not working.
>
>
> On Sun, Aug 31, 2008 at 4:18 PM, sue bickley <
> <email address hidden>> wrote:
>
> > Question #43643 on HPLIP changed:
> > https://answers.launchpad.net/hplip/+question/43643
> >
> > Status: Answered => Open
> >
> > sue bickley is still having a problem:
> >
> > Thanks for the replies:
> > here's what happened
> >
> > sue@sue-desktop:~$ sh hplip-2.8.7.run
> > sh: Can't open hplip-2.8.7.run
> > sue@sue-desktop:~$ sudo chmod 777 *.run
> > Password:
> > chmod: cannot access `*.run': No such file or directory
> > sue@sue-desktop:~$ "cd /sue/home/Desktop
> > > sudo chmod 777 *.run
> > >
> > and nothing more.
> > hplip-2.8.7.run is definately on the desk top, i even downloaded it
> again.
> > Guess I can understand why folks would choose the easy way and use
> windows
> > :-)
> > a new user. lots to learn
> >
> > --
> > You received this question notification because you are a member of HP
> > Linux Imaging and Printing, which is an answer contact for HPLIP.
> >
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
sue bickley (suebickley2) said :
#7

Thanks again for your replies

sh ./hplip-2.8.7.run says cannot open hplip 2.8.7.run even when I do the change access permissions

Hemanths solution worked until i got :

INSTALLATION NOTES
------------------
Enable the universe/multiverse repositories. Also be sure you are using the Ubuntu "Main" Repositories. See: https://help.ubuntu.com/community/Repositories/Ubuntu for more information.  Disable the CD-ROM/DVD source if you do not have the Ubunbtu installation media inserted in the drive.

I looked up Repositories/command line users doc and entered the first line

/etc/apt/sources.list and got access denied and with sudo it said unknown command

just when I thought I was getting somewhere !!

It seems like a lot of command line entries wont work for me, could it be anything to do with my other question to launchpad "MP-BIOS bug: 8254 timer not connected to IO-APIC" I asked this question 4 or 5 days ago and as yet have had no answer on it?

I'm also wondering once I get the repositories enabled how do I disable the CD-ROM/DVD source? It took me many days and downloads to get the DVD player working so will it be easy enough to enable it again afterward?

I really appreciate your help and superior knowledge of Linux, doubt if I'll ever go back to windows. I just know that for those of us who have little knowledge about unix it is a very steep, frustrating and time consuming learning curve (especially when, here in the irish countryside, we still only have dial up).

I have found joy in my life and hope very much that at least a few others have found joy in my life too.

"A mind committed to compassion is like an overflowing reservoir - a constant source of energy, determination and kindness" the Dalai Lama

.......................... so very full of doubts

--- On Mon, 1/9/08, Hemanth <email address hidden> wrote:
From: Hemanth <email address hidden>
Subject: Re: [Question #43643]: installing hplip 2.8.7
To: <email address hidden>
Date: Monday, 1 September, 2008, 2:42 AM

Your question #43643 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/43643

Hemanth proposed the following answer:
You can also try this

Right click on the file (ur .run file)
Properties >> Permissions >>Select allow execution
Double click and say run in terminal

P.S : windows is the easiest way to get into more trouble , u are free to
fly not to die

The whole problem with the world is that fools and fanatics are always so
certain of themselves, but wiser people so full of doubts.
Bertrand Russell

I ask you only two questions :

1. Did u find joy in ur life?
2.How many found joy from ur life ??

-Hemanth HM

On Mon, Sep 1, 2008 at 6:03 AM, dwelch91 <
<email address hidden>> wrote:

> Question #43643 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/43643
>
> Status: Open => Answered
>
> dwelch91 proposed the following answer:
> You have to do:
>
> sh ./hplip-2.8.7.run
>
> The "./" tells the shell to run it from the current (or
".") directory.
> That
> is why it is not working.
>
>
> On Sun, Aug 31, 2008 at 4:18 PM, sue bickley <
> <email address hidden>> wrote:
>
> > Question #43643 on HPLIP changed:
> > https://answers.launchpad.net/hplip/+question/43643
> >
> > Status: Answered => Open
> >
> > sue bickley is still having a problem:
> >
> > Thanks for the replies:
> > here's what happened
> >
> > sue@sue-desktop:~$ sh hplip-2.8.7.run
> > sh: Can't open hplip-2.8.7.run
> > sue@sue-desktop:~$ sudo chmod 777 *.run
> > Password:
> > chmod: cannot access `*.run': No such file or directory
> > sue@sue-desktop:~$ "cd /sue/home/Desktop
> > > sudo chmod 777 *.run
> > >
> > and nothing more.
> > hplip-2.8.7.run is definately on the desk top, i even downloaded it
> again.
> > Guess I can understand why folks would choose the easy way and use
> windows
> > :-)
> > a new user. lots to learn
> >
> > --
> > You received this question notification because you are a member of
HP
> > Linux Imaging and Printing, which is an answer contact for HPLIP.
> >
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/hplip/+question/43643/+confirm?answer_id=5

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/hplip/+question/43643

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#8

This link:

https://help.ubuntu.com/community/Repositories/Ubuntu

Walks you through configuring the repositories. Click System > Admin > Software Sources, Uncheck the cd-rom option, click reload, close try installing hplip again.

A

Revision history for this message
Hemanth (hemanth-hm) said :
#9

Sue bickley as you looked up Repositories/command line users doc and entered the first line

/etc/apt/sources.list and got access denied and with sudo it said unknown command

did u type this : sudo gedit /etc/apt/sources.list ??

___________________________________________________________________________________________________________________

Do not crack your head follow this :

To enable the universe and multiverse repositories using the command line, you can execute the following steps:

Open a terminal and open your sources.list file using the following command

sudo gedit /etc/apt/sources.list

Assuming you are using the default sources.list, you should be able to replace everything currently in that file with the following

## MAIN REPOSITORIES
deb http://gb.archive.ubuntu.com/ubuntu/ hardy main restricted universe multiverse

## MAJOR BUG FIX UPDATES produced after the final release
deb http://gb.archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse

## UBUNTU SECURITY UPDATES
deb http://security.ubuntu.com/ubuntu hardy-security main restricted universe multiverse

If you wish to enable the backports and proposed repositories as well (recommended), then add these lines as well

## BACKPORTS REPOSITORY
deb http://gb.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse

## PROPOSED REPOSITORY
deb http://archive.ubuntu.com/ubuntu hardy-proposed main restricted universe multiverse

Now save and close the file, and then reload new source list using the following command

sudo apt-get update

If that command runs with no errors, then you have successfully enabled the universe and multiverse repositories.

Revision history for this message
sue bickley (suebickley2) said :
#10

Thanks Aaron but the page you directed me to was for managing repositories in Ubuntu 6.10 and 6.06 i'm running  Feisty Fawn 7.04 and tried to do some of the things  but didn't get anywhere.

--- On Wed, 3/9/08, Aaron Albright <email address hidden> wrote:
From: Aaron Albright <email address hidden>
Subject: Re: [Question #43643]: installing hplip 2.8.7
To: <email address hidden>
Date: Wednesday, 3 September, 2008, 7:46 PM

Your question #43643 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/43643

    Status: Open => Answered

Aaron Albright proposed the following answer:
This link:

https://help.ubuntu.com/community/Repositories/Ubuntu

Walks you through configuring the repositories. Click System > Admin >
Software Sources, Uncheck the cd-rom option, click reload, close try
installing hplip again.

A

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/hplip/+question/43643/+confirm?answer_id=7

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/hplip/+question/43643

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#11

The process is the same and/or very similar in all ubuntu versions.

"Click System > Admin > Software Sources, Uncheck the cd-rom option, click reload, close try installing hplip again."

You don't have software sources when you click System > Admin ?

A

Revision history for this message
sue bickley (suebickley2) said :
#12

Yes I have software sources but it just says whats downloadable from the internet and installable from cd rom with to install from cd rom or dvd insert the media into the drive and no option to uncheck it. I went the root hemanth suggested and got a little further along but still not there sigh! Thanks anyway

--- On Thu, 4/9/08, Aaron Albright <email address hidden> wrote:
From: Aaron Albright <email address hidden>
Subject: Re: [Question #43643]: installing hplip 2.8.7
To: <email address hidden>
Date: Thursday, 4 September, 2008, 7:05 PM

Your question #43643 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/43643

    Status: Open => Needs information

Aaron Albright requested for more information:
The process is the same and/or very similar in all ubuntu versions.

"Click System > Admin > Software Sources, Uncheck the cd-rom option,
click reload, close try installing hplip again."

You don't have software sources when you click System > Admin ?

A

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/hplip/+question/43643

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
sue bickley (suebickley2) said :
#13

Thanks again for reply It happened a bit different to your instructions but enabled repositories and ran hplip again this is as far as I got after a couple of hours:

RUNNING PRE-INSTALL COMMANDS
----------------------------

INSTALL MISSING REQUIRED DEPENDENCIES
-------------------------------------
warning: There are 7 missing REQUIRED dependencies.
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: gcc (gcc - GNU Project C and C++ Compiler)
warning: Missing REQUIRED dependency: libpthread (libpthread - POSIX threads library)
warning: Missing REQUIRED dependency: python-devel (python-devel - Python development files)
warning: Missing REQUIRED dependency: cups-devel (cups-devel- Common Unix Printing System development files)
warning: Missing REQUIRED dependency: libusb (libusb - USB library)
warning: Missing REQUIRED dependency: libtool (libtool - Library building support services)
warning: Missing REQUIRED dependency: libjpeg (libjpeg - JPEG library)

INSTALL MISSING OPTIONAL DEPENDENCIES
-------------------------------------
warning: There are 9 missing OPTIONAL dependencies.
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency for option 'network': libcrypto (libcrypto - OpenSSL cryptographic library)
warning: Missing REQUIRED dependency for option 'network': libnetsnmp-devel (libnetsnmp-devel - SNMP networking library development files)
warning: Missing REQUIRED dependency for option 'gui': pyqt (PyQt - Qt interface for Python)
warning: Missing OPTIONAL dependency for option 'fax': reportlab (Reportlab - PDF library for Python)
warning: Missing REQUIRED dependency for option 'fax': dbus (dbus - Message bus system)
warning: Missing REQUIRED dependency for option 'scan': sane-devel (SANE - Scanning library development files)
warning: Missing OPTIONAL dependency for option 'scan': pil (PIL - Python Imaging Library (required for commandline scanning with hp-scan))
warning: Missing OPTIONAL dependency for option 'scan': scanimage (scanimage - Shell scanning program)
warning: Missing OPTIONAL dependency for option 'base': cups-ddk (cups-ddk - CUPS driver development kit)
warning: This installer cannot install 'cups-ddk' for your distro/OS and/or version.

CHECKING FOR NETWORK CONNECTION
-------------------------------
Network connection present.

RUNNING PRE-PACKAGE COMMANDS
----------------------------
sudo dpkg --configure -a (Pre-depend step 1)
sudo apt-get install --yes --force-yes -f (Pre-depend step 2)
warning: An error occurred running 'sudo apt-get update'
sudo apt-get update (Pre-depend step 3)

DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
Running 'sudo apt-get install --yes --force-yes build-essential'
Please wait, this may take several minutes...
error: Command failed. Re-try #1...
Running 'sudo apt-get install --yes --force-yes build-essential'
Please wait, this may take several minutes...
error: Command failed. Re-try #2...
Running 'sudo apt-get install --yes --force-yes build-essential'
Please wait, this may take several minutes...

I will take my computer in to the internet cafe and use the broadband connection to see if it makes a difference
Thanks for your help but am really tired of all the time it takes to get a scanner to work and after reading on the forums about malicious commands
sh ./some_file being one of them
Id like to know what chmod  777 *run actually does? change access permissions 777 *run? seems like I have a few problems with my computer and I dont know what I'm doing so have to trust that those who have 'ubuntu' will work for the good of all.

A person with ubuntu is open and available to others, affirming of others, does not feel threatened that others are able and good, for he or she has a proper self-assurance that comes from knowing that he or she belongs in a greater whole and is diminished when others are humiliated or diminished, when others are tortured or oppressed. ~ Archbishop Desmond Tutu, 1999

--- On Thu, 4/9/08, Hemanth <email address hidden> wrote:
From: Hemanth <email address hidden>
Subject: Re: [Question #43643]: installing hplip 2.8.7
To: <email address hidden>
Date: Thursday, 4 September, 2008, 5:34 AM

Your question #43643 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/43643

Hemanth proposed the following answer:
Sue bickley as you looked up Repositories/command line users doc and
entered the first line

/etc/apt/sources.list and got access denied and with sudo it said
unknown command

did u type this : sudo gedit /etc/apt/sources.list ??

___________________________________________________________________________________________________________________

Do not crack your head follow this :

To enable the universe and multiverse repositories using the command
line, you can execute the following steps:

Open a terminal and open your sources.list file using the following
command

sudo gedit /etc/apt/sources.list

Assuming you are using the default sources.list, you should be able to
replace everything currently in that file with the following

## MAIN REPOSITORIES
deb http://gb.archive.ubuntu.com/ubuntu/ hardy main restricted universe
multiverse

## MAJOR BUG FIX UPDATES produced after the final release
deb http://gb.archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe
multiverse

## UBUNTU SECURITY UPDATES
deb http://security.ubuntu.com/ubuntu hardy-security main restricted universe
multiverse

If you wish to enable the backports and proposed repositories as well
(recommended), then add these lines as well

## BACKPORTS REPOSITORY
deb http://gb.archive.ubuntu.com/ubuntu/ hardy-backports main restricted
universe multiverse

## PROPOSED REPOSITORY
deb http://archive.ubuntu.com/ubuntu hardy-proposed main restricted universe
multiverse

Now save and close the file, and then reload new source list using the
following command

sudo apt-get update

If that command runs with no errors, then you have successfully enabled
the universe and multiverse repositories.

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/hplip/+question/43643/+confirm?answer_id=8

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/hplip/+question/43643

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
Best Aaron Albright (albrigha-deactivatedaccount) said :
#14

chmod 777 simply changes the file permission so that you can write/edit/run the file. It's nothing malicious. This is an HP developed and supported package. I can assure you that we (the HPLIP team) will not do anything malicious to your system. Although Hemanth has been helping (and it's appreciated) he's not part of the HPLIP team (proper). Although nothing he asked you to do was malicious. If you'd like more reassurance you can email me at my hp.com email address.

Did you get HPLIP installed? On ubuntu normally it's not this complicated. If you still are having problems try instead running:

sudo apt-get install python-qt3

and then to configure the printer:

sudo hp-setup

Aaron

Revision history for this message
sue bickley (suebickley2) said :
#15

Thanks for all your help, hplip did install correctly once I brought my computer in to the internet cafe and hooked up to broadband. Every thing is working now. Sorry for the paranoia, hard to know who you can trust out there!! Hemanth's soloution worked so thanks again,

Sue

Revision history for this message
Hemanth (hemanth-hm) said :
#16

*Sue
Its my pleasure :) *

The whole problem with the world is that fools and fanatics are always so
certain of themselves, but wiser people so full of doubts.
Bertrand Russell

I ask you only two questions :

1. Did u find joy in ur life?
2.How many found joy from ur life ??

-Hemanth HM

On Thu, Sep 18, 2008 at 3:51 PM, sue bickley <
<email address hidden>> wrote:

> Question #43643 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/43643
>
> Status: Answered => Solved
>
> sue bickley confirmed that the question is solved:
> Thanks for all your help, hplip did install correctly once I brought my
> computer in to the internet cafe and hooked up to broadband. Every thing
> is working now. Sorry for the paranoia, hard to know who you can trust
> out there!! Hemanth's soloution worked so thanks again,
>
> Sue
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#17

Hemanth,

If you don't mind let's keep the discussion to technical aspects.

All the best,

Aaron