Posted by: isaraffee | August 10, 2009

Exploring Emerge in Sabayon Linux

Exploring Emerge

To search if a package is installed, type:

To query a file belongs to which package, use the equery command, type:

sabayonx86 net-ftp # emerge –search minicom

Searching… \

[ Results for search key : minicom ]

[ Applications found : 1 ]

* net-dialup/minicom

Latest version available: 2.3-r1

Latest version installed: 2.3-r1

Size of files: 770 kB

Homepage: http://alioth.debian.org/projects/minicom

Description: Serial Communication Program

License: GPL-2

The above results shows that the package name is net-dialup/minicom.

sabayonx86 net-ftp # equery belongs /usr/bin/minicom

!!! SELinux module not found. Please verify that it was installed.

[ Searching for file(s) /usr/bin/minicom in *… ]

net-dialup/minicom-2.3-r1 (/usr/bin/minicom)

This shows that the file belongs to the package, net-dialup/minicom-2.3-r1 or simply, net-dialup/minicom.

To list what files are owned by the package, type:

sabayonx86 usr # equery files net-dialup/minicom

!!! SELinux module not found. Please verify that it was installed.

[ Searching for packages matching net-dialup/minicom… ]

* Contents of net-dialup/minicom-2.3-r1:

/etc

/etc/minicom

/etc/minicom/minirc.dfl

/usr

/usr/bin

/usr/bin/ascii-xfr

/usr/bin/minicom

/usr/bin/runscript

/usr/bin/xminicom

/usr/share

/usr/share/doc

/usr/share/doc/minicom-2.3-r1

/usr/share/doc/minicom-2.3-r1/AUTHORS.gz

<output omitted for brevity>

To check for the package dependency, type :

sabayonx86 ~ # emerge –tree net-dialup/minicom

Calculating dependencies… done!

>>> Emerging (1 of 1) net-dialup/minicom-2.3-r1 to /

* minicom-2.3.tar.gz RMD160 😉 … [ ok ]

* minicom-2.3.tar.gz SHA1 😉 … [ ok ]

* minicom-2.3.tar.gz SHA256 😉 … [ ok ]

* minicom-2.3.tar.gz size 😉 … [ ok ]

* checking ebuild checksums 😉 … [ ok ]

* checking auxfile checksums 😉 … [ ok ]

* checking miscfile checksums 😉 … [ ok ]

* checking minicom-2.3.tar.gz 😉 … [ ok ]

!!! SELinux module not found. Please verify that it was installed.

>>> Unpacking source…

>>> Unpacking minicom-2.3.tar.gz to /var/tmp/portage/net-dialup/minicom-2.3-r1/work

* Applying minicom-2.3-gentoo-runscript.patch … [ ok ]

>>> Source unpacked.

>>> Compiling source in /var/tmp/portage/net-dialup/minicom-2.3-r1/work/minicom-2.3 …

<output truncated for brevity>

>>> Regenerating /etc/ld.so.cache…

>>> Original instance of package unmerged safely.

>>> net-dialup/minicom-2.3-r1 merged.

>>> No packages selected for removal by clean.

>>> Auto-cleaning packages…

>>> No outdated packages were found on your system.

* GNU info directory index is up-to-date.

The output will take a long time to comlete.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: