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:

84199

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-04-06
Search-Xapian - 1.2.25.6
Ebuild name:

dev-perl/Search-Xapian-1.2.25.6

Description

Perl XS frontend to the Xapian C++ search library

Added to portage

2026-04-06

alpine - 2.29.9
Ebuild name:

mail-client/alpine-2.29.9

Description

An easy to use text-based based mail and news client

Added to portage

2026-04-06

boost - 1.90.0-r1
Ebuild name:

dev-libs/boost-1.90.0-r1

Description

Boost Libraries for C++

Added to portage

2026-04-06

cython-test-exception-raiser - 26.4.1
Ebuild name:

dev-python/cython-test-exception-raiser-26.4.1

Description

A trivial extension that just raises an exception (f

Added to portage

2026-04-06

elfutils - 0.194-r3
Ebuild name:

dev-libs/elfutils-0.194-r3

Description

Libraries/utilities to handle ELF objects (drop in replacement for libel

Added to portage

2026-04-06

gcc - 16.0.1_p20260405-r1
Ebuild name:

sys-devel/gcc-16.0.1_p20260405-r1

Description

The GNU Compiler Collection

Added to portage

2026-04-06

gdl - 1.0.4-r3
Ebuild name:

dev-lang/gdl-1.0.4-r3

Description

GNU Data Language

Added to portage

2026-04-06

git-sources - 7.0_rc7
Ebuild name:

sys-kernel/git-sources-7.0_rc7

Description

The very latest -git version of the Linux kernel

Added to portage

2026-04-06

hwdata - 0.401
Ebuild name:

sys-apps/hwdata-0.401

Description

Hardware identification and configuration data

Added to portage

2026-04-06

hypothesis - 6.151.11
Ebuild name:

dev-python/hypothesis-6.151.11

Description

A library for property based testing

Added to portage

2026-04-06

jellyfin-bin - 10.11.8
Ebuild name:

www-apps/jellyfin-bin-10.11.8

Description

Jellyfin puts you in control of managing and streaming your media

Added to portage

2026-04-06

libnpupnp - 6.3.0
Ebuild name:

net-libs/libnpupnp-6.3.0

Description

A C++ base UPnP library, derived from Portable UPnP, a.k.a libupnp

Added to portage

2026-04-06

libupnpp - 1.0.4
Ebuild name:

net-libs/libupnpp-1.0.4

Description

The libupnpp C++ library wraps libupnp for easier use by upmpdcli and uppla

Added to portage

2026-04-06

limine - 10.8.5
Ebuild name:

sys-boot/limine-10.8.5

Description

Limine is a modern, advanced, and portable BIOS/UEFI multiprotocol bootloade

Added to portage

2026-04-06

limine - 11.2.0
Ebuild name:

sys-boot/limine-11.2.0

Description

Limine is a modern, advanced, and portable BIOS/UEFI multiprotocol bootloade

Added to portage

2026-04-06

man-pages-l10n - 4.30.0-r1
Ebuild name:

app-i18n/man-pages-l10n-4.30.0-r1

Description

A somewhat comprehensive collection of man page translations

Added to portage

2026-04-06

meson - 1.11.0_rc3
Ebuild name:

dev-build/meson-1.11.0_rc3

Description

Open source build system

Added to portage

2026-04-06

mit-krb5 - 1.22.2-r1
Ebuild name:

app-crypt/mit-krb5-1.22.2-r1

Description

MIT Kerberos V

Added to portage

2026-04-06

openrc - 0.63.1
Ebuild name:

sys-apps/openrc-0.63.1

Description

OpenRC manages the services, startup and shutdown of a host

Added to portage

2026-04-06

pciutils - 3.15.0
Ebuild name:

sys-apps/pciutils-3.15.0

Description

Various utilities dealing with the PCI bus

Added to portage

2026-04-06

pep - 2.8-r3
Ebuild name:

app-text/pep-2.8-r3

Description

General purpose filter and file cleaning program

Added to portage

2026-04-06

portage - 3.0.77-r4
Ebuild name:

sys-apps/portage-3.0.77-r4

Description

The package management and distribution system for Gentoo

Added to portage

2026-04-06

postfix - 3.12_pre20260403
Ebuild name:

mail-mta/postfix-3.12_pre20260403

Description

A fast and secure drop-in replacement for sendmail

Added to portage

2026-04-06

pp - 0.6.3-r1
Ebuild name:

dev-ruby/pp-0.6.3-r1

Description

Provides a PrettyPrinter for Ruby objects

Added to portage

2026-04-06

pyglet - 2.1.14
Ebuild name:

dev-python/pyglet-2.1.14

Description

Cross-platform windowing and multimedia library for Python

Added to portage

2026-04-06

python-multipart - 0.0.24
Ebuild name:

dev-python/python-multipart-0.0.24

Description

A streaming multipart parser for Python

Added to portage

2026-04-06

sabctools - 9.3.0
Ebuild name:

dev-python/sabctools-9.3.0

Description

Module providing raw yEnc encoding/decoding for SABnzbd

Added to portage

2026-04-06

stone-soup - 0.34.1
Ebuild name:

games-roguelike/stone-soup-0.34.1

Description

Role-playing roguelike game of exploration and treasure-hunting i

Added to portage

2026-04-06

tavern - 3.3.2
Ebuild name:

dev-python/tavern-3.3.2

Description

A tool, library, and Pytest plugin for testing RESTful APIs

Added to portage

2026-04-06

upmpdcli - 1.9.15
Ebuild name:

media-sound/upmpdcli-1.9.15

Description

UPnP Media Renderer front-end for MPD, the Music Player Daemon

Added to portage

2026-04-06

webkit-gtk - 2.52.1-r410
Ebuild name:

net-libs/webkit-gtk-2.52.1-r410

Description

Open source web browser engine

Added to portage

2026-04-06

webkit-gtk - 2.52.1-r600
Ebuild name:

net-libs/webkit-gtk-2.52.1-r600

Description

Open source web browser engine

Added to portage

2026-04-06

whenever - 0.10.0
Ebuild name:

dev-python/whenever-0.10.0

Description

Modern datetime library for Python

Added to portage

2026-04-06

wiiload - 0.5.3
Ebuild name:

games-util/wiiload-0.5.3

Description

Load homebrew apps over the network to your Wii

Added to portage

2026-04-06

wine-staging - 11.6
Ebuild name:

app-emulation/wine-staging-11.6

Description

Free implementation of Windows(tm) on Unix, with Wine-Staging patch

Added to portage

2026-04-06

xapian - 2.0.0
Ebuild name:

dev-libs/xapian-2.0.0

Description

Xapian Probabilistic Information Retrieval library

Added to portage

2026-04-06

xapian-bindings - 2.0.0
Ebuild name:

dev-libs/xapian-bindings-2.0.0

Description

SWIG and JNI bindings for Xapian

Added to portage

2026-04-06

xapian-omega - 2.0.0
Ebuild name:

app-text/xapian-omega-2.0.0

Description

An application built on Xapian, consisting of indexers and a CGI search

Added to portage

2026-04-06

zeal - 0.8.1
Ebuild name:

app-text/zeal-0.8.1

Description

Offline documentation browser inspired by Dash

Added to portage

2026-04-06

2026-04-05
JSON-WebToken - 0.100.0
Ebuild name:

dev-perl/JSON-WebToken-0.100.0

Description

JSON Web Token (JWT) implementation

Added to portage

2026-04-05

PAR-Packer - 1.64.0
Ebuild name:

dev-perl/PAR-Packer-1.64.0

Description

PAR Packager

Added to portage

2026-04-05

Test-Mock-Guard - 0.100.0
Ebuild name:

dev-perl/Test-Mock-Guard-0.100.0

Description

Simple mock test library using RAII

Added to portage

2026-04-05

bear - 4.1.1
Ebuild name:

dev-util/bear-4.1.1

Description

Bear is a tool that generates a compilation database for clang tooling.

Added to portage

2026-04-05

ebuild-mode - 1.82
Ebuild name:

app-xemacs/ebuild-mode-1.82

Description

Emacs modes for editing ebuilds and other Gentoo specific files

Added to portage

2026-04-05

foot - 1.26.1
Ebuild name:

gui-apps/foot-1.26.1

Description

Fast, lightweight and minimalistic Wayland terminal emulator

Added to portage

2026-04-05

foot-terminfo - 1.26.1
Ebuild name:

gui-apps/foot-terminfo-1.26.1

Description

Terminfo for foot, a fast, lightweight and minimal Wayland terminal e

Added to portage

2026-04-05

gcc - 15.2.1_p20260404
Ebuild name:

sys-devel/gcc-15.2.1_p20260404

Description

The GNU Compiler Collection

Added to portage

2026-04-05

gdm - 48.0-r1
Ebuild name:

gnome-base/gdm-48.0-r1

Description

GNOME Display Manager for managing graphical display servers and user logins

Added to portage

2026-04-05

gnome-control-center - 48.7
Ebuild name:

gnome-base/gnome-control-center-48.7

Description

GNOME's main interface to configure various aspects of the des

Added to portage

2026-04-05

gnome-shell - 48.8
Ebuild name:

gnome-base/gnome-shell-48.8

Description

Provides core UI functions for the GNOME desktop

Added to portage

2026-04-05

gnome-shell-extension-dash-to-panel - 73
Ebuild name:

gnome-extra/gnome-shell-extension-dash-to-panel-73

Description

An icon taskbar for the Gnome Shell

Added to portage

2026-04-05

gnome-shell-extension-weather-oclock - 50.1
Ebuild name:

gnome-extra/gnome-shell-extension-weather-oclock-50.1

Description

Display the current weather inside the pill n

Added to portage

2026-04-05

gnome-shell-extension-weather-oclock - 50.2
Ebuild name:

gnome-extra/gnome-shell-extension-weather-oclock-50.2

Description

Display the current weather inside the pill n

Added to portage

2026-04-05

gpxsee - 16.1
Ebuild name:

sci-geosciences/gpxsee-16.1

Description

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

Added to portage

2026-04-05

guile - 3.0.11
Ebuild name:

dev-scheme/guile-3.0.11

Description

GNU Ubiquitous Intelligent Language for Extensions

Added to portage

2026-04-05

gvfs - 1.58.4
Ebuild name:

gnome-base/gvfs-1.58.4

Description

Virtual filesystem implementation for GIO

Added to portage

2026-04-05

imapsync - 2.314-r1
Ebuild name:

net-mail/imapsync-2.314-r1

Description

Tool for incremental and recursive IMAP transfers between mailboxes

Added to portage

2026-04-05

iosevka - 34.3.0
Ebuild name:

media-fonts/iosevka-34.3.0

Description

Slender typeface for code, from code

Added to portage

2026-04-05

iso-codes - 4.20.1
Ebuild name:

app-text/iso-codes-4.20.1

Description

ISO language, territory, currency, script codes and their translations

Added to portage

2026-04-05

libgsf - 1.14.56
Ebuild name:

gnome-extra/libgsf-1.14.56

Description

The GNOME Structured File Library

Added to portage

2026-04-05

libpanel - 1.10.4
Ebuild name:

gui-libs/libpanel-1.10.4

Description

A dock/panel library for GTK 4

Added to portage

2026-04-05

mac - 12.62
Ebuild name:

media-sound/mac-12.62

Description

Monkey's Audio Codecs

Added to portage

2026-04-05

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-04-05

md5deep - 4.4
Ebuild name:

app-crypt/md5deep-4.4

Description

Expanded md5sum program with recursive and comparison options

Added to portage

2026-04-05

md6sum - 1.0-r3
Ebuild name:

app-crypt/md6sum-1.0-r3

Description

A C implementation of MD6

Added to portage

2026-04-05

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-04-05

minisign - 0.12
Ebuild name:

app-crypt/minisign-0.12

Description

Dead simple tool to sign files and verify signatures

Added to portage

2026-04-05

mit-krb5 - 1.21.3
Ebuild name:

app-crypt/mit-krb5-1.21.3

Description

MIT Kerberos V

Added to portage

2026-04-05

mit-krb5 - 1.21.3-r1
Ebuild name:

app-crypt/mit-krb5-1.21.3-r1

Description

MIT Kerberos V

Added to portage

2026-04-05

mit-krb5 - 1.22.2
Ebuild name:

app-crypt/mit-krb5-1.22.2

Description

MIT Kerberos V

Added to portage

2026-04-05

mit-krb5-appl - 1.0.3-r4
Ebuild name:

app-crypt/mit-krb5-appl-1.0.3-r4

Description

Kerberized applications split from the main MIT Kerberos V distrib

Added to portage

2026-04-05

mit-krb5-appl - 1.0.3-r5
Ebuild name:

app-crypt/mit-krb5-appl-1.0.3-r5

Description

Kerberized applications split from the main MIT Kerberos V distrib

Added to portage

2026-04-05

mkp224o - 1.7.0
Ebuild name:

app-crypt/mkp224o-1.7.0

Description

Vanity address generator for v3 Tor hidden service addresses

Added to portage

2026-04-05

mu-cite - 8.1_p202011031127
Ebuild name:

app-emacs/mu-cite-8.1_p202011031127

Description

Message citation utilities for emacsen

Added to portage

2026-04-05

multi-term - 1.4-r1
Ebuild name:

app-emacs/multi-term-1.4-r1

Description

Manage multiple terminal buffers in Emacs

Added to portage

2026-04-05

mutter - 48.8
Ebuild name:

x11-wm/mutter-48.8

Description

GNOME compositing window manager based on Clutter

Added to portage

2026-04-05

noto - 20260401
Ebuild name:

media-fonts/noto-20260401

Description

Google's font family that aims to support all the world's languages

Added to portage

2026-04-05

opencl-clang - 16.0.10
Ebuild name:

dev-libs/opencl-clang-16.0.10

Description

OpenCL-oriented thin wrapper library around clang

Added to portage

2026-04-05

opencl-clang - 17.0.5
Ebuild name:

dev-libs/opencl-clang-17.0.5

Description

OpenCL-oriented thin wrapper library around clang

Added to portage

2026-04-05

opencl-clang - 18.1.5
Ebuild name:

dev-libs/opencl-clang-18.1.5

Description

OpenCL-oriented thin wrapper library around clang

Added to portage

2026-04-05

prowlarr-bin - 2.3.5.5327
Ebuild name:

www-apps/prowlarr-bin-2.3.5.5327

Description

An indexer manager/proxy to integrate with your various PVR apps

Added to portage

2026-04-05

rpi-eeprom - 28.14_p1
Ebuild name:

dev-embedded/rpi-eeprom-28.14_p1

Description

Updater for Raspberry Pi 4/5 bootloader and the VL805 USB controll

Added to portage

2026-04-05

spectre-meltdown-checker - 26.26.0404682
Ebuild name:

app-admin/spectre-meltdown-checker-26.26.0404682

Description

Spectre & Meltdown vulnerability/mitigation checke

Added to portage

2026-04-05

spirv-llvm-translator - 16.0.23
Ebuild name:

dev-util/spirv-llvm-translator-16.0.23

Description

Bi-directional translator between SPIR-V and LLVM IR

Added to portage

2026-04-05

spirv-llvm-translator - 17.0.22
Ebuild name:

dev-util/spirv-llvm-translator-17.0.22

Description

Bi-directional translator between SPIR-V and LLVM IR

Added to portage

2026-04-05

spirv-llvm-translator - 18.1.22
Ebuild name:

dev-util/spirv-llvm-translator-18.1.22

Description

Bi-directional translator between SPIR-V and LLVM IR

Added to portage

2026-04-05

spirv-llvm-translator - 19.1.17
Ebuild name:

dev-util/spirv-llvm-translator-19.1.17

Description

Bi-directional translator between SPIR-V and LLVM IR

Added to portage

2026-04-05

spirv-llvm-translator - 20.1.12
Ebuild name:

dev-util/spirv-llvm-translator-20.1.12

Description

Bi-directional translator between SPIR-V and LLVM IR

Added to portage

2026-04-05

spirv-llvm-translator - 21.1.6
Ebuild name:

dev-util/spirv-llvm-translator-21.1.6

Description

Bi-directional translator between SPIR-V and LLVM IR

Added to portage

2026-04-05

spirv-llvm-translator - 22.1.1
Ebuild name:

dev-util/spirv-llvm-translator-22.1.1

Description

Bi-directional translator between SPIR-V and LLVM IR

Added to portage

2026-04-05

tavern - 3.3.0
Ebuild name:

dev-python/tavern-3.3.0

Description

A tool, library, and Pytest plugin for testing RESTful APIs

Added to portage

2026-04-05

tempestsdr - 0.0_p20260404
Ebuild name:

net-wireless/tempestsdr-0.0_p20260404

Description

Remote video eavesdropping using a software-defined radio pla

Added to portage

2026-04-05

zenity - 4.2.2
Ebuild name:

gnome-extra/zenity-4.2.2

Description

Tool to display dialogs from the commandline and shell scripts

Added to portage

2026-04-05

zoxide - 0.9.9
Ebuild name:

app-shells/zoxide-0.9.9

Description

A smarter cd command for your terminal

Added to portage

2026-04-05

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