LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 09-28-2005, 08:25 AM   #1
angel115
Member
 
Registered: Jul 2005
Location: France / Ireland
Distribution: Debian mainly, and Ubuntu
Posts: 542

Rep: Reputation: 79
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.
 
Old 09-28-2005, 08:38 AM   #2
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 66
List the packages:
Code:
rpm -qa | less
(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)
 
Old 09-28-2005, 11:38 AM   #3
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
and to see if a particular package is installed on the system
rpm -qa | grep < package name > ( without <> )

regards
 
Old 09-28-2005, 12:53 PM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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
 
Old 09-28-2005, 12:59 PM   #5
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
What id do is install apt4rpm than install synaptic which is a good graphacal package manager.
 
Old 09-28-2005, 01:04 PM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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.
 
Old 09-29-2005, 02:46 AM   #7
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 66
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installed HW List swordman Linux - Hardware 3 08-30-2005 02:31 PM
How to list installed apps boyzie Linux - Software 8 04-28-2004 10:03 AM
How do you list what software is installed? Tiyogi Linux - Software 5 04-22-2004 08:52 PM
list of installed packages jeff1500 Slackware 3 03-22-2004 04:52 PM
list installed pkgs? clothocan Mandriva 4 10-06-2003 08:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration