from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites: www.linuxhowtos.org
toolsntoys.linuxhowtos.org



Last additions:
How to make X listen on port 6000

How to make X listen on port 6000

words:

34

views:

86038

userrating:

average rating: 1.2 (52 votes) (1=very good 6=terrible)


May, 25th 2007:
April, 26th 2007:
Apr, 10th. 2007:
Druckversion . pdf icon
You are here: Tips&Tricks

Querying Portage with etcat

This tip shows you how to use the etcat command to retrieve information on Portage, USE flags, package versions, and much more.

While there are other package query utilities such as qpkg or epm, etcat has some unique features. Some of these features include the ability to display the amount of disk space a particular package is using, the USE flags the package was compiled with, and the versions available for a package.

The first step is installing the app-admin/gentoolkit package from Portage. This installs etcat (among other utilities) to /usr/bin/.

Code Listing 1: Getting etcat>

# emerge app-admin/gentoolkit

To view the size of the package, use etcat size [package].

Code Listing 2: Displaying the size of a package

# etcat size mozilla
[ Results for search key : mozilla ]
[ Applications found : 4 ]  
  
 Only printing found installed programs.  
  
* mozilla-firebird-bin-0.5  
           Total Files : 338  
            Total Size : 20925.18 KB  
* mozilla-1.3-r1  
           Total Files : 3155  
            Total Size : 52073.05 KB  
  
# etcat size evolution  
[ Results for search key : evolution ]  
[ Applications found : 1 ]  
  
 Only printing found installed programs.  
  
* evolution-1.2.4  
           Total Files : 1421  
            Total Size : 33456.65 KB  
  
# etcat size fluxbox  
[ Results for search key : fluxbox ]  
[ Applications found : 1 ]  
  
 Only printing found installed programs.  
  
* fluxbox-0.1.14-r1  
           Total Files : 26  
            Total Size : 806.92 KB

To look at the USE flags a package was compiled with, use etcat uses [package]. For example, the following command shows which USE flags Postfix was compiled with.

Code Listing 3: Displaying USE flags

# etcat uses net-mail/postfix  
[ Colour Code : set unset ]  
[ Legend      : (U) Col 1 - Current USE flags        ]  
[             : (I) Col 2 - Installed With USE flags ]  
  
 U I [ Found these USE variables in : net-mail/postfix-2.0.9 ]  
 + + ssl     : Adds support for Secure Socket Layer connections  
 + + mysql   : Adds mySQL support  
 + + sasl    : Adds support for the Simple Authentication and Security Layer  
 + + ldap    : Adds LDAP support (Lightweight Directory Access Protocol)  
 - - ipv6    : Adds support for IP version 6  
 - - maildir : Adds support for maildir (~/.maildir) style mail spools  
 - - mbox    : Adds support for mbox (/var/spool/mail) style mail spools  
  
# etcat uses fluxbox  
[ Colour Code : set unset ]  
[ Legend      : (U) Col 1 - Current USE flags        ]  
[             : (I) Col 2 - Installed With USE flags ]  
  
 U I [ Found these USE variables in : x11-wm/fluxbox-0.1.14-r1 ]  
 - - kde      : Adds support for kde-base/kde (K Desktop Enviroment)  
 + + gnome    : Adds GNOME support  
 + + nls      : unknown  
 + - xinerama : Add support for XFree86's xinerama extension,
                which allows you to stretch  your display across
                multiple monitors  
 + + truetype : Adds support for FreeType and/or FreeType2 fonts

To see which versions of a specific package are available, use etcat versions [package]

Code Listing 4: Displaying available package versions

# etcat versions kde-base/kde  
[ Results for search key : kde-base/kde ]  
[ Applications found : 1 ]  
  
*  kde-base/kde :  
        [   ] kde-base/kde-2.2.2-r1 (2)  
        [   ] kde-base/kde-3.0.4 (3.0)  
        [   ] kde-base/kde-3.0.5a (3.0)  
        [   ] kde-base/kde-3.0.5b (3.0)  
        [   ] kde-base/kde-3.1.1a (3.1)  
        [   ] kde-base/kde-3.1.1 (3.1)  
        [   ] kde-base/kde-3.1.2 (3.1)  
        [   ] kde-base/kde-3.1 (3.1)  
  
# etcat versions net-mail/evolution  
[ Results for search key : net-mail/evolution ]  
[ Applications found : 1 ]  
  
*  net-mail/evolution :  
        [   ] net-mail/evolution-1.2.3 (0)  
        [  I] net-mail/evolution-1.2.4 (0)  
        [M~ ] net-mail/evolution-1.3.92 (2)  
        [M~ ] net-mail/evolution-1.4.0 (0)  
  
# etcat versions net-www/apache  
[ Results for search key : net-www/apache ]  
[ Applications found : 1 ]  
  
*  net-www/apache :  
        [   ] net-www/apache-1.3.27 (1)  
        [   ] net-www/apache-1.3.27-r1 (1)  
        [M~ ] net-www/apache-1.3.27-r2 (1)  
        [   ] net-www/apache-1.3.27-r3 (1)  
        [M~ ] net-www/apache-1.3.27-r4 (1)  
        [M~ ] net-www/apache-2.0.43-r1 (2)  
        [M~ ] net-www/apache-2.0.44 (2)  
        [M~ ] net-www/apache-2.0.45 (2)  
        [M~I] net-www/apache-2.0.46 (2)

Note: If you don't specify the category, etcat will try to find all possible matches in Portage. If the package name is common or occurs in many other package names, you may get a lot more output that you wanted.

For more detailed information, type man etcat. For a quick overview of available options, just type etcat.

From http://www.gentoo.org/news/en/gwn/20030623-newsletter.xml

back



Support us on Content Nation

New Packages

- as rdf newsfeed
- as rss newsfeed
- as Atom newsfeed
2026-06-19
aml - 1.0.0
Ebuild name:

dev-libs/aml-1.0.0

Description

Event timer executor loop

Added to portage

2026-06-19

drupal - 10.5.12
Ebuild name:

www-apps/drupal-10.5.12

Description

PHP-based open-source platform and content management system

Added to portage

2026-06-19

drupal - 10.6.11
Ebuild name:

www-apps/drupal-10.6.11

Description

PHP-based open-source platform and content management system

Added to portage

2026-06-19

drupal - 11.2.14
Ebuild name:

www-apps/drupal-11.2.14

Description

PHP-based open-source platform and content management system

Added to portage

2026-06-19

drupal - 11.3.12
Ebuild name:

www-apps/drupal-11.3.12

Description

PHP-based open-source platform and content management system

Added to portage

2026-06-19

kwin - 6.7.0-r1
Ebuild name:

kde-plasma/kwin-6.7.0-r1

Description

Flexible, composited Window Manager for windowing systems on Linux

Added to portage

2026-06-19

mattermost-desktop-bin - 5.13.7
Ebuild name:

net-im/mattermost-desktop-bin-5.13.7

Description

Mattermost Desktop application

Added to portage

2026-06-19

mattermost-desktop-bin - 6.2.1
Ebuild name:

net-im/mattermost-desktop-bin-6.2.1

Description

Mattermost Desktop application

Added to portage

2026-06-19

minisign - 0.12
Ebuild name:

app-crypt/minisign-0.12

Description

Dead simple tool to sign files and verify signatures

Added to portage

2026-06-19

neatvnc - 1.0.0
Ebuild name:

gui-libs/neatvnc-1.0.0

Description

Liberally licensed VNC server library with a clean interface

Added to portage

2026-06-19

nzbget - 26.2
Ebuild name:

net-nntp/nzbget-26.2

Description

A command-line based binary newsgrabber supporting .nzb files

Added to portage

2026-06-19

virtualbox - 7.2.10
Ebuild name:

app-emulation/virtualbox-7.2.10

Description

Family of powerful x86 virtualization products for enterprise and h

Added to portage

2026-06-19

virtualbox-additions - 7.2.10
Ebuild name:

app-emulation/virtualbox-additions-7.2.10

Description

CD image containing guest additions for VirtualBox

Added to portage

2026-06-19

virtualbox-extpack-oracle - 7.2.10
Ebuild name:

app-emulation/virtualbox-extpack-oracle-7.2.10

Description

PUEL extensions for VirtualBox

Added to portage

2026-06-19

virtualbox-guest-additions - 7.2.10
Ebuild name:

app-emulation/virtualbox-guest-additions-7.2.10

Description

VirtualBox kernel modules and user-space tools for

Added to portage

2026-06-19

virtualbox-guest-modules - 7.2.10
Ebuild name:

app-emulation/virtualbox-guest-modules-7.2.10

Description

Kernel Modules for Virtualbox Guest Additions

Added to portage

2026-06-19

virtualbox-kvm - 7.2.10_pre20260201
Ebuild name:

app-emulation/virtualbox-kvm-7.2.10_pre20260201

Description

Family of powerful x86 virtualization products for

Added to portage

2026-06-19

virtualbox-modules - 7.2.10
Ebuild name:

app-emulation/virtualbox-modules-7.2.10

Description

Kernel Modules for Virtualbox

Added to portage

2026-06-19

wayvnc - 0.10.0
Ebuild name:

gui-apps/wayvnc-0.10.0

Description

VNC server for wlroots based Wayland compositors

Added to portage

2026-06-19

weston - 15.0.91
Ebuild name:

dev-libs/weston-15.0.91

Description

Wayland reference compositor

Added to portage

2026-06-19

2026-06-18
acl - 9999
Ebuild name:

sys-apps/acl-9999

Description

Access control list utilities, libraries, and headers

Added to portage

2026-06-18

amarok - 3.3.3
Ebuild name:

media-sound/amarok-3.3.3

Description

Advanced audio player based on KDE Frameworks

Added to portage

2026-06-18

android-studio - 2026.1.1.10
Ebuild name:

dev-util/android-studio-2026.1.1.10

Description

Android development environment based on IntelliJ IDEA

Added to portage

2026-06-18

asymptote - 3.12-r1
Ebuild name:

media-gfx/asymptote-3.12-r1

Description

A vector graphics language that provides a framework for technical draw

Added to portage

2026-06-18

awscli - 1.45.32
Ebuild name:

app-admin/awscli-1.45.32

Description

Universal Command Line Environment for AWS

Added to portage

2026-06-18

bitarray - 3.8.2
Ebuild name:

dev-python/bitarray-3.8.2

Description

Efficient arrays of booleans -- C extension

Added to portage

2026-06-18

boto3 - 1.43.32
Ebuild name:

dev-python/boto3-1.43.32

Description

The AWS SDK for Python

Added to portage

2026-06-18

botocore - 1.43.32
Ebuild name:

dev-python/botocore-1.43.32

Description

Low-level, data-driven core of boto 3

Added to portage

2026-06-18

bpf-linker - 0.10.4
Ebuild name:

dev-util/bpf-linker-0.10.4

Description

Simple BPF static linker

Added to portage

2026-06-18

c-blosc2 - 3.1.4
Ebuild name:

dev-libs/c-blosc2-3.1.4

Description

Blocking, shuffling and lossless compression library

Added to portage

2026-06-18

chrome-binary-plugins - 149.0.7827.155
Ebuild name:

www-plugins/chrome-binary-plugins-149.0.7827.155

Description

Binary plugins from Google Chrome for use in Chrom

Added to portage

2026-06-18

chrome-binary-plugins - 150.0.7871.24_beta
Ebuild name:

www-plugins/chrome-binary-plugins-150.0.7871.24_beta

Description

Binary plugins from Google Chrome for use in C

Added to portage

2026-06-18

chrome-binary-plugins - 151.0.7886.2_alpha
Ebuild name:

www-plugins/chrome-binary-plugins-151.0.7886.2_alpha

Description

Binary plugins from Google Chrome for use in C

Added to portage

2026-06-18

chromedriver-bin - 149.0.7827.155
Ebuild name:

www-apps/chromedriver-bin-149.0.7827.155

Description

WebDriver for Chrome

Added to portage

2026-06-18

chromium - 149.0.7827.155
Ebuild name:

www-client/chromium-149.0.7827.155

Description

Open-source version of Google Chrome web browser

Added to portage

2026-06-18

cmake - 4.3.4
Ebuild name:

dev-build/cmake-4.3.4

Description

Cross platform Make

Added to portage

2026-06-18

dbeaver-bin - 26.1.0
Ebuild name:

dev-db/dbeaver-bin-26.1.0

Description

Free universal database tool (community edition)

Added to portage

2026-06-18

dovecot - 2.4.3-r2
Ebuild name:

net-mail/dovecot-2.4.3-r2

Description

An IMAP and POP3 server written with security primarily in mind

Added to portage

2026-06-18

dovecot - 2.4.4-r1
Ebuild name:

net-mail/dovecot-2.4.4-r1

Description

An IMAP and POP3 server written with security primarily in mind

Added to portage

2026-06-18

fakeredis - 2.36.2
Ebuild name:

dev-python/fakeredis-2.36.2

Description

Fake implementation of redis API for testing purposes

Added to portage

2026-06-18

freecell-solver - 6.16.0
Ebuild name:

dev-games/freecell-solver-6.16.0

Description

C library for automatically solving Freecell and some other solita

Added to portage

2026-06-18

gentoo-sources - 7.1.0
Ebuild name:

sys-kernel/gentoo-sources-7.1.0

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2026-06-18

geoclue - 2.8.1
Ebuild name:

app-misc/geoclue-2.8.1

Description

Location information D-Bus service

Added to portage

2026-06-18

gerbera - 3.2.1
Ebuild name:

net-misc/gerbera-3.2.1

Description

UPnP Media Server

Added to portage

2026-06-18

gfan - 0.8_beta1
Ebuild name:

sci-mathematics/gfan-0.8_beta1

Description

Compute Groebner fans and tropical varieties

Added to portage

2026-06-18

github-cli - 2.94.0
Ebuild name:

dev-util/github-cli-2.94.0

Description

GitHub CLI

Added to portage

2026-06-18

gnuradio - 3.11_pre20260615
Ebuild name:

net-wireless/gnuradio-3.11_pre20260615

Description

Toolkit that provides signal processing blocks to implement

Added to portage

2026-06-18

google-chrome - 149.0.7827.155
Ebuild name:

www-client/google-chrome-149.0.7827.155

Description

The web browser from Google

Added to portage

2026-06-18

google-chrome-beta - 150.0.7871.24
Ebuild name:

www-client/google-chrome-beta-150.0.7871.24

Description

The web browser from Google

Added to portage

2026-06-18

google-chrome-unstable - 151.0.7886.2
Ebuild name:

www-client/google-chrome-unstable-151.0.7886.2

Description

The web browser from Google

Added to portage

2026-06-18

gpxsee - 16.9
Ebuild name:

sci-geosciences/gpxsee-16.9

Description

Viewer and analyzer that supports gpx, tcx, kml, fit, igc and nmea file

Added to portage

2026-06-18

greenlet - 3.5.2
Ebuild name:

dev-python/greenlet-3.5.2

Description

Lightweight in-process concurrent programming

Added to portage

2026-06-18

jupyter-server - 2.20.0
Ebuild name:

dev-python/jupyter-server-2.20.0

Description

Core services, APIs, and REST endpoints to Jupyter web application

Added to portage

2026-06-18

jupyterlab - 4.5.9
Ebuild name:

dev-python/jupyterlab-4.5.9

Description

JupyterLab computational environment

Added to portage

2026-06-18

knot-resolver - 6.4.0
Ebuild name:

net-dns/knot-resolver-6.4.0

Description

Scaleable caching DNS resolver

Added to portage

2026-06-18

libabw - 0.1.4
Ebuild name:

app-text/libabw-0.1.4

Description

Library parsing abiword documents

Added to portage

2026-06-18

libcdr - 0.1.9
Ebuild name:

media-libs/libcdr-0.1.9

Description

Library parsing the Corel cdr documents

Added to portage

2026-06-18

libcdr - 9999
Ebuild name:

media-libs/libcdr-9999

Description

Library parsing the Corel cdr documents

Added to portage

2026-06-18

libcmis - 0.6.3
Ebuild name:

dev-cpp/libcmis-0.6.3

Description

C++ client library for the CMIS interface

Added to portage

2026-06-18

libexttextcat - 3.4.8-r1
Ebuild name:

app-text/libexttextcat-3.4.8-r1

Description

Library implementing N-gram-based text categorization

Added to portage

2026-06-18

libfreehand - 0.1.3
Ebuild name:

media-libs/libfreehand-0.1.3

Description

Library for import of FreeHand drawings

Added to portage

2026-06-18

libfreehand - 9999
Ebuild name:

media-libs/libfreehand-9999

Description

Library for import of FreeHand drawings

Added to portage

2026-06-18

libmspub - 0.1.5
Ebuild name:

app-text/libmspub-0.1.5

Description

Library parsing Microsoft Publisher documents

Added to portage

2026-06-18

libmspub - 9999
Ebuild name:

app-text/libmspub-9999

Description

Library parsing Microsoft Publisher documents

Added to portage

2026-06-18

libqxp - 0.0.3
Ebuild name:

app-text/libqxp-0.0.3

Description

Library parsing QuarkXpress documents

Added to portage

2026-06-18

libvisio - 0.1.11
Ebuild name:

media-libs/libvisio-0.1.11

Description

Library parsing the file format of MS Visio documents

Added to portage

2026-06-18

libvisio - 9999
Ebuild name:

media-libs/libvisio-9999

Description

Library parsing the file format of MS Visio documents

Added to portage

2026-06-18

libwacom - 2.19.0
Ebuild name:

dev-libs/libwacom-2.19.0

Description

Library for identifying Wacom tablets and their model-specific features

Added to portage

2026-06-18

lighttpd - 1.4.84
Ebuild name:

www-servers/lighttpd-1.4.84

Description

Lightweight high-performance web server

Added to portage

2026-06-18

mailcrypt - 3.5.9-r3
Ebuild name:

app-emacs/mailcrypt-3.5.9-r3

Description

Provides a simple interface to public key cryptography with OpenPGP

Added to portage

2026-06-18

makemkv - 1.18.4
Ebuild name:

media-video/makemkv-1.18.4

Description

Tool for ripping and streaming Blu-ray, HD-DVD and DVD discs

Added to portage

2026-06-18

marginalia - 2.10
Ebuild name:

app-emacs/marginalia-2.10

Description

Marginalia in the minibuffer

Added to portage

2026-06-18

mcrypt - 2.6.8-r3
Ebuild name:

app-crypt/mcrypt-2.6.8-r3

Description

Replacement of the old unix crypt(1)

Added to portage

2026-06-18

md5deep - 4.4
Ebuild name:

app-crypt/md5deep-4.4

Description

Expanded md5sum program with recursive and comparison options

Added to portage

2026-06-18

md6sum - 1.0-r3
Ebuild name:

app-crypt/md6sum-1.0-r3

Description

A C implementation of MD6

Added to portage

2026-06-18

mhash - 0.9.9.9-r4
Ebuild name:

app-crypt/mhash-0.9.9.9-r4

Description

Library providing a uniform interface to a large number of hash algorith

Added to portage

2026-06-18

microsoft-edge - 149.0.4022.69
Ebuild name:

www-client/microsoft-edge-149.0.4022.69

Description

The web browser from Microsoft

Added to portage

2026-06-18

microsoft-edge-beta - 150.0.4078.13
Ebuild name:

www-client/microsoft-edge-beta-150.0.4078.13

Description

The web browser from Microsoft

Added to portage

2026-06-18

microsoft-edge-dev - 151.0.4091.0
Ebuild name:

www-client/microsoft-edge-dev-151.0.4091.0

Description

The web browser from Microsoft

Added to portage

2026-06-18

minisign - 0.12
Ebuild name:

app-crypt/minisign-0.12

Description

Dead simple tool to sign files and verify signatures

Added to portage

2026-06-18

minizip-ng - 4.2.1
Ebuild name:

sys-libs/minizip-ng-4.2.1

Description

Fork of the popular zip manipulation library found in the zlib distributi

Added to portage

2026-06-18

mongodb-compass-bin - 1.49.8
Ebuild name:

dev-db/mongodb-compass-bin-1.49.8

Description

GUI for MongoDB

Added to portage

2026-06-18

mythes - 1.2.6
Ebuild name:

app-text/mythes-1.2.6

Description

Simple thesaurus for LibreOffice

Added to portage

2026-06-18

nextcloud - 32.0.11
Ebuild name:

www-apps/nextcloud-32.0.11

Description

Personal cloud that runs on your own server

Added to portage

2026-06-18

nvidia-drivers - 595.84
Ebuild name:

x11-drivers/nvidia-drivers-595.84

Description

NVIDIA Accelerated Graphics Driver

Added to portage

2026-06-18

openstacksdk - 4.16.0
Ebuild name:

dev-python/openstacksdk-4.16.0

Description

A collection of libraries for building applications to work with Ope

Added to portage

2026-06-18

opera - 132.0.5905.73
Ebuild name:

www-client/opera-132.0.5905.73

Description

A fast and secure web browser

Added to portage

2026-06-18

opera-developer - 133.0.5931.0
Ebuild name:

www-client/opera-developer-133.0.5931.0

Description

A fast and secure web browser

Added to portage

2026-06-18

pecl-uuid - 1.3.0
Ebuild name:

dev-php/pecl-uuid-1.3.0

Description

A wrapper around libuuid

Added to portage

2026-06-18

postfix - 3.11.4
Ebuild name:

mail-mta/postfix-3.11.4

Description

A fast and secure drop-in replacement for sendmail

Added to portage

2026-06-18

postfix - 3.12_pre20260615
Ebuild name:

mail-mta/postfix-3.12_pre20260615

Description

A fast and secure drop-in replacement for sendmail

Added to portage

2026-06-18

ppsspp - 1.20.4-r1
Ebuild name:

games-emulation/ppsspp-1.20.4-r1

Description

A PSP emulator written in C++

Added to portage

2026-06-18

pypdf - 6.13.3
Ebuild name:

dev-python/pypdf-6.13.3

Description

Python library to work with PDF files

Added to portage

2026-06-18

pyproject-fmt - 2.25.0
Ebuild name:

dev-python/pyproject-fmt-2.25.0

Description

Format your pyproject.toml file

Added to portage

2026-06-18

stgit - 2.6.0
Ebuild name:

dev-vcs/stgit-2.6.0

Description

Stack-based patch management for Git

Added to portage

2026-06-18

svglib - 2.0.1
Ebuild name:

dev-python/svglib-2.0.1

Description

Pure-Python library for reading and converting SVG

Added to portage

2026-06-18

terraform - 1.15.6
Ebuild name:

app-admin/terraform-1.15.6

Description

A tool for building, changing, and combining infrastructure safely

Added to portage

2026-06-18

tqdm - 4.68.3
Ebuild name:

dev-python/tqdm-4.68.3

Description

Add a progress meter to your loops in a second

Added to portage

2026-06-18

vivaldi - 8.0.4033.48
Ebuild name:

www-client/vivaldi-8.0.4033.48

Description

A browser for our friends

Added to portage

2026-06-18

vivaldi - 8.0.4033.50
Ebuild name:

www-client/vivaldi-8.0.4033.50

Description

A browser for our friends

Added to portage

2026-06-18

vivaldi-snapshot - 8.1.4070.3
Ebuild name:

www-client/vivaldi-snapshot-8.1.4070.3

Description

A browser for our friends

Added to portage

2026-06-18

vivaldi-snapshot - 8.1.4076.4
Ebuild name:

www-client/vivaldi-snapshot-8.1.4076.4

Description

A browser for our friends

Added to portage

2026-06-18

wine-mono - 11.2.0
Ebuild name:

app-emulation/wine-mono-11.2.0

Description

Replacement for the .NET runtime and class libraries in Wine

Added to portage

2026-06-18

rdf newsfeed | rss newsfeed | Atom newsfeed
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
- Copyright and legal notices -
Time to create this page: 53.7 ms