epkg for gentoo :)

 epkg for gentoo implements some same features as dpkg for debian and equery for gentoo :)

Yes... there are epm for gentoo... and equery which can do the same... but much more slower.
The same with equery... This utility is really fast :)

debian like syntax # epkg --list
# epkg -l

gentoo like syntax # epkg all
To list package contents, just try

# epkg -L gtk+                        epkg --listfiles gtk+
# epkg -L =x11-libs/gtk+-1.2.3 :)

# epkg files gtk+
To find package which installed the given file type

# epkg -S /usr/bin/vim                 epkg --search /usr/bin/vim


# epkg -S file

# epkg belongs file
And one feature which doesn't present in dpkg but still needed for my other tools: ept-get and genorphan

# epkg depends gtk+

will show all packages which depend on gtk+

see the manual page for more

SourceForge download page

SourceForge.net Logo 

to install:
download the latest ebuild from sourceforge.
1. write the following line in your /etc/make.conf file


2. unpack epkg-ebuild-1.1.tar.bz2 to /usr/local/portage

3. run

# emerge epkg

Thanks :)

Hope it will be useful :)