Re: [gentoo-user] Querying the Portage database

2003-11-10 Thread kko
Maybe this could help
http://www.karkomaonline.com/article.php?story=20030908215509618
specially if come from rpm world.

On Sun, 2003-11-09 at 23:23, Thomas Smith wrote:
 I'm new to Gentoo (switching from RH9) and have become used to RPMs and 
 their query tools.
 
 I've been looking for a way to query the Portage database to determine 
 what's installed and get general info regarding the packages--I'm 
 looking for something similar to rpm -qa.
 
 At the end of this 
 section--http://www.gentoo.org/doc/en/portage-manual.xml#doc_chap3--in
 the Portage user manual it indicates that there's an 
 app-admin/gentoolkit to assist with Portage queries. I have yet to find 
 this package or a way to query the Portage database.
 
 Can anyone direct me to the package or tools that I need in order to do 
 this?
 
 
 --
 [EMAIL PROTECTED] mailing list
-- 
kko [EMAIL PROTECTED]
karkomaonline


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Querying the Portage database

2003-11-10 Thread Leonid Podolny


Thomas Smith wrote:

I've been looking for a way to query the Portage database to determine 
what's installed and get general info regarding the packages--I'm 
looking for something similar to rpm -qa.


rpm -qa is  qpkg -I -v in our world.Mind the capital I. Welcome 
aboard. :)

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Querying the Portage database

2003-11-10 Thread Anders Dahlqvist
..or emerge epm  epm -qa 
Not that different
 ;=})

2003-11-10 16.07 skrev Leonid Podolny:
::Thomas Smith wrote:
::
::
::
:: I've been looking for a way to query the Portage database to determine 
:: what's installed and get general info regarding the packages--I'm 
:: looking for something similar to rpm -qa.
::
::
::
::rpm -qa is  qpkg -I -v in our world.Mind the capital I. Welcome 
::aboard. :)
::
::
::--
::[EMAIL PROTECTED] mailing list
::

-- 
Microsoft is to Software as McDonalds is to Cuisine.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Querying the Portage database

2003-11-10 Thread Chris
how do you find out about the packages you compiled yourself, (conexant modem 
drivers) and the like?

On Monday 10 November 2003 09:07 am, Leonid Podolny wrote:
 Thomas Smith wrote:
  I've been looking for a way to query the Portage database to determine
  what's installed and get general info regarding the packages--I'm
  looking for something similar to rpm -qa.

 rpm -qa is  qpkg -I -v in our world.Mind the capital I. Welcome
 aboard. :)


 --
 [EMAIL PROTECTED] mailing list

-- 
Chris
[EMAIL PROTECTED]

Science is an atempt to investegate the mirical of life. 

  The Martian Chronicles


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Querying the Portage database

2003-11-10 Thread Spider
begin  quote
On Mon, 10 Nov 2003 23:01:27 -0600
Chris [EMAIL PROTECTED] wrote:

 how do you find out about the packages you compiled yourself,
 (conexant modem drivers) and the like?


for packages you download, untar, '(./configure | make )' make install :


You don't. You have to use your memory. if you are lucky, something is
in /usr/local that you can trace.

This is the reason people invented package managers.

//Spider





-- 
begin  .signature
This is a .signature virus! Please copy me into your .signature!
See Microsoft KB Article Q265230 for more information.
end


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] Querying the Portage database

2003-11-10 Thread Chris
cool thanks

On Tuesday 11 November 2003 12:19 am, Spider wrote:
 begin  quote
 On Mon, 10 Nov 2003 23:01:27 -0600

 Chris [EMAIL PROTECTED] wrote:
  how do you find out about the packages you compiled yourself,
  (conexant modem drivers) and the like?

 for packages you download, untar, '(./configure | make )' make install :


 You don't. You have to use your memory. if you are lucky, something is
 in /usr/local that you can trace.

 This is the reason people invented package managers.

 //Spider

-- 
Chris
[EMAIL PROTECTED]

Science is an atempt to investegate the mirical of life. 

  The Martian Chronicles


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Querying the Portage database

2003-11-09 Thread Tom Wesley
On Sun, 2003-11-09 at 23:23, Thomas Smith wrote:
 I'm new to Gentoo (switching from RH9) and have become used to RPMs and 
 their query tools.
 
 I've been looking for a way to query the Portage database to determine 
 what's installed and get general info regarding the packages--I'm 
 looking for something similar to rpm -qa.
 
 At the end of this 
 section--http://www.gentoo.org/doc/en/portage-manual.xml#doc_chap3--in
 the Portage user manual it indicates that there's an 
 app-admin/gentoolkit to assist with Portage queries. I have yet to find 
 this package or a way to query the Portage database.
 
 Can anyone direct me to the package or tools that I need in order to do 
 this?

The emerge command is what you're after.  emerge -s term will search
for term in the package database.  When you are familiar you might
like to:

emerge gentoolkit
emerge esearch

for some extra tools.

-- 
Tom Wesley


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] Querying the Portage database

2003-11-09 Thread Hall Stevenson
On Sun, 2003-11-09 at 18:23, Thomas Smith wrote:
 I'm new to Gentoo (switching from RH9) and have become used to RPMs and 
 their query tools.
 
 I've been looking for a way to query the Portage database to determine 
 what's installed and get general info regarding the packages--I'm 
 looking for something similar to rpm -qa.
 
 At the end of this 
 section--http://www.gentoo.org/doc/en/portage-manual.xml#doc_chap3--in
 the Portage user manual it indicates that there's an 
 app-admin/gentoolkit to assist with Portage queries. I have yet to find 
 this package or a way to query the Portage database.
 
 Can anyone direct me to the package or tools that I need in order to do 
 this?

The best you'll get is the 'qpkg' program. Running qpkg by itself is
supposed to return installed packages, but it appears to list
everything in the portage database. Packages you have installed are
marked with an *. Problem is, my limited knowledge of 'grep' doesn't
allow me to filter those items marked that way...

Hall


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Querying the Portage database

2003-11-09 Thread Henti Smith
Thomas Smith wrote:

I'm new to Gentoo (switching from RH9) and have become used to RPMs 
and their query tools.

I've been looking for a way to query the Portage database to determine 
what's installed and get general info regarding the packages--I'm 
looking for something similar to rpm -qa.


qpkg -nc -I | sed 's/-[0-9].*//g' | sort | uniq

At the end of this 
section--http://www.gentoo.org/doc/en/portage-manual.xml#doc_chap3--in 
the Portage user manual it indicates that there's an 
app-admin/gentoolkit to assist with Portage queries. I have yet to 
find this package or a way to query the Portage database.


emerge gentookit

qpkg --help

Can anyone direct me to the package or tools that I need in order to 
do this?


have fun

henti

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Querying the Portage database

2003-11-09 Thread Jiim
Hall Stevenson wrote:

The best you'll get is the 'qpkg' program. Running qpkg by itself is
supposed to return installed packages, but it appears to list
everything in the portage database. Packages you have installed are
marked with an *. Problem is, my limited knowledge of 'grep' doesn't
allow me to filter those items marked that way...
Maybe you should try -I option ?

#qpkg --help

(...)
In section Package Selection:
-I,  --installed  Include only installed packages
(...)
--
Jiim
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Querying the Portage database

2003-11-09 Thread Daniel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, 10 Nov 2003 08:53 am, Thomas Smith wrote:
 I'm new to Gentoo (switching from RH9) and have become used to RPMs and
 their query tools.

Welcome to the Gentoo community.


 I've been looking for a way to query the Portage database to determine
 what's installed and get general info regarding the packages--I'm
 looking for something similar to rpm -qa.


Another tool you can use is epm (obtained through emerge app-portage/epm). 
It appearly has the same syntax as rpm which you may find useful. Definately 
look at the other suggestions as they may have more functionality though.
- -- 

Daniel Black
- --
Proudly a Gentoo Linux User.
GnuPG/PGP signed and encrypted email preferred
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x32A64DC8
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/ryWqTDSbtjKmTcgRAijKAJ9W+u+mE9i6lZKpk8r+EIITMl7CTACdFxjs
Ovuqkxh7lOR5RlPcGe3SgoE=
=Cjtz
-END PGP SIGNATURE-


--
[EMAIL PROTECTED] mailing list