Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-28-2005, 08:25 AM
|
#1
|
Member
Registered: Jul 2005
Location: France / Ireland
Distribution: Debian mainly, and Ubuntu
Posts: 542
Rep:
|
who to display the list of installed pakages
Where "or how" can we see the list of all installed pakage?
and how can we see there dependancy?
Last edited by angel115; 09-28-2005 at 08:30 AM.
|
|
|
09-28-2005, 08:38 AM
|
#2
|
Senior Member
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897
Rep:
|
List the packages:
(use the arrows, pg up/down, 'q' to quit)
What packages does package P require?
Code:
rpm -q --requires P
What packages do require package P?
Code:
rpm -q --what-requires P
Yves.
(or is it 'require' without the 's'... I don't remember)
|
|
|
09-28-2005, 11:38 AM
|
#3
|
Senior Member
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020
Rep:
|
and to see if a particular package is installed on the system
rpm -qa | grep < package name > ( without <> )
regards
|
|
|
09-28-2005, 12:53 PM
|
#4
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Quote:
Originally posted by ruudra
and to see if a particular package is installed on the system
rpm -qa | grep < package name > ( without <> )
regards
|
Using the "-i" flag with grep seems to be best if you don't know the exact package name e.g.
Code:
$rpm -qa | grep -i nameOfPackage
|
|
|
09-28-2005, 12:59 PM
|
#5
|
Member
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669
Rep:
|
What id do is install apt4rpm than install synaptic which is a good graphacal package manager.
|
|
|
09-28-2005, 01:04 PM
|
#6
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Quote:
Originally posted by Boow
What id do is install apt4rpm than install synaptic which is a good graphacal package manager.
|
APT is not well supported in FC4 and from FC5 onwards APT support maybe totally discontinued.
|
|
|
09-29-2005, 02:46 AM
|
#7
|
Senior Member
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897
Rep:
|
Which is logical.
On Mandriva, I would suggest urpm (text) or rpmdrake (GUI) if you wanted more powerfull tools. I suppose "yum" is the equivalent on Fedora.
Yves.
|
|
|
All times are GMT -5. The time now is 05:29 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|