• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 214
  • Last Modified:

search for a debian package

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
0
bryanlloydharris
Asked:
bryanlloydharris
1 Solution
 
csk_73Commented:
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
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
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.
0
 
bryanlloydharrisAuthor Commented:
Thank you!

I was having to compile it from source, but in much less time it was able to do it this way.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now