Learn how to a build a cloud-first strategyRegister Now


search for a debian package

Posted on 2006-04-04
Medium Priority
Last Modified: 2010-04-20

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

Question by:bryanlloydharris

Accepted Solution

csk_73 earned 400 total points
ID: 16378650
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!

LVL 97

Expert Comment

by:Lee W, MVP
ID: 16378667
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 Comment

ID: 16378687
Thank you!

I was having to compile it from source, but in much less time it was able to do it this way.

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month21 days, 3 hours left to enroll

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question