I tried to install hp laser jet printer p1005 on my ubuntu 9.10 and I follow one web site instructing me to do: $ sudo apt-get install build-essential.
After executing this command it started to download many files.

Apparently, I don't need to execute that file because once I plug the usb cable into my pc, the printer was detected and it prompt me to download the plugin, I followed every thing and after I restarted every thing works fine.

Do I have to remove all files which were downloaded before and what command do I need to use??

Thanks & regards,