We help IT Professionals succeed at work.

search for a debian package

bryanlloydharris
on
Medium Priority
233 Views
Last Modified: 2010-04-20
Hi,

I tried this command to install xfree86, but it didn't work.  Does anybody know how to search for a package by name?  Or is there a directory of packages I can browse so I can find the ones I want without having to know the exact name?

# apt-get install xfree86
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package xfree86

Thanks,
Bryan
Comment
Watch Question

Commented:
Hi bryanlloydharris,

to search in the name and the package descriptions
apt-cache search xfree86

to search only in the name
apt-cache search xfree86 --names-only

Hope this helps!

Cesc

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Lee W, MVPTechnology and Business Process Advisor
CERTIFIED EXPERT
Most Valuable Expert 2013

Commented:
I've forgotten the exact steps required, but it's just a tad tricky.

Look through the packages by bbrowsing them with apt-cache search - for example:

apt-cache search x
And don't forget, some things can be case sensitive, so review
apt-cache search X
as well.

Author

Commented:
Thank you!

I was having to compile it from source, but in much less time it was able to do it this way.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.