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:

84004

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-03-25
glib - 2.84.4-r3
Ebuild name:

dev-libs/glib-2.84.4-r3

Description

The GLib library of C routines

Added to portage

2026-03-25

glib - 2.86.4-r1
Ebuild name:

dev-libs/glib-2.86.4-r1

Description

The GLib library of C routines

Added to portage

2026-03-25

sssd - 2.12.0-r2
Ebuild name:

sys-auth/sssd-2.12.0-r2

Description

System Security Services Daemon provides access to identity and authenticat

Added to portage

2026-03-25

2026-03-24
algol68g - 3.11.0
Ebuild name:

dev-lang/algol68g-3.11.0

Description

Algol 68 Genie compiler-interpreter

Added to portage

2026-03-24

awscli - 1.44.64
Ebuild name:

app-admin/awscli-1.44.64

Description

Universal Command Line Environment for AWS

Added to portage

2026-03-24

boto3 - 1.42.74
Ebuild name:

dev-python/boto3-1.42.74

Description

The AWS SDK for Python

Added to portage

2026-03-24

botocore - 1.42.74
Ebuild name:

dev-python/botocore-1.42.74

Description

Low-level, data-driven core of boto 3

Added to portage

2026-03-24

cdf - 3.9.1
Ebuild name:

sci-libs/cdf-3.9.1

Description

Common Data Format I/O library for multi-dimensional data sets

Added to portage

2026-03-24

cgnslib - 4.5.1
Ebuild name:

sci-libs/cgnslib-4.5.1

Description

CFD General Notation System standard library

Added to portage

2026-03-24

chrome-binary-plugins - 146.0.7680.164
Ebuild name:

www-plugins/chrome-binary-plugins-146.0.7680.164

Description

Binary plugins from Google Chrome for use in Chrom

Added to portage

2026-03-24

chromedriver-bin - 146.0.7680.165
Ebuild name:

www-apps/chromedriver-bin-146.0.7680.165

Description

WebDriver for Chrome

Added to portage

2026-03-24

chromium - 146.0.7680.164
Ebuild name:

www-client/chromium-146.0.7680.164

Description

Open-source version of Google Chrome web browser

Added to portage

2026-03-24

clblast - 1.5.3
Ebuild name:

sci-libs/clblast-1.5.3

Description

Tuned OpenCL BLAS

Added to portage

2026-03-24

clblast - 1.6.3
Ebuild name:

sci-libs/clblast-1.6.3

Description

Tuned OpenCL BLAS

Added to portage

2026-03-24

easycrypt - 2026.03
Ebuild name:

sci-mathematics/easycrypt-2026.03

Description

Computer-Aided Cryptographic Proofs

Added to portage

2026-03-24

faker - 40.11.1
Ebuild name:

dev-python/faker-40.11.1

Description

A Python package that generates fake data for you

Added to portage

2026-03-24

fcitx - 5.1.19
Ebuild name:

app-i18n/fcitx-5.1.19

Description

Fcitx 5 is a generic input method framework

Added to portage

2026-03-24

fcitx-chewing - 5.1.11
Ebuild name:

app-i18n/fcitx-chewing-5.1.11

Description

Chewing Wrapper for Fcitx.

Added to portage

2026-03-24

fcitx-chinese-addons - 5.1.12
Ebuild name:

app-i18n/fcitx-chinese-addons-5.1.12

Description

Addons related to Chinese, including IME previous bundled insi

Added to portage

2026-03-24

fcitx-configtool - 5.1.13
Ebuild name:

app-i18n/fcitx-configtool-5.1.13

Description

Configuration module for Fcitx

Added to portage

2026-03-24

fcitx-hangul - 5.1.9
Ebuild name:

app-i18n/fcitx-hangul-5.1.9

Description

Korean Hangul input method for Fcitx

Added to portage

2026-03-24

fcitx-lua - 5.0.16
Ebuild name:

app-i18n/fcitx-lua-5.0.16

Description

Lua support for fcitx

Added to portage

2026-03-24

fcitx-m17n - 5.1.6
Ebuild name:

app-i18n/fcitx-m17n-5.1.6

Description

m17n-provided input methods for Fcitx5

Added to portage

2026-03-24

fcitx-qt - 5.1.13
Ebuild name:

app-i18n/fcitx-qt-5.1.13

Description

Qt library and IM module for fcitx5

Added to portage

2026-03-24

fcitx-rime - 5.1.13
Ebuild name:

app-i18n/fcitx-rime-5.1.13

Description

Chinese RIME input methods for Fcitx

Added to portage

2026-03-24

fcitx-sayura - 5.1.6
Ebuild name:

app-i18n/fcitx-sayura-5.1.6

Description

Fcitx-Sayura is a Sinhala input method for Fcitx input method framework

Added to portage

2026-03-24

fcitx-table-extra - 5.1.11
Ebuild name:

app-i18n/fcitx-table-extra-5.1.11

Description

Provides extra table for Fcitx, including Boshiamy, Zhengma, Cang

Added to portage

2026-03-24

fcitx-table-other - 5.1.6
Ebuild name:

app-i18n/fcitx-table-other-5.1.6

Description

Provides some other tables for Fcitx, fork from ibus-table-others,

Added to portage

2026-03-24

fcitx-unikey - 5.1.10
Ebuild name:

app-i18n/fcitx-unikey-5.1.10

Description

Unikey (Vietnamese Input Method) engine support for Fcitx

Added to portage

2026-03-24

firefox - 140.9.0
Ebuild name:

www-client/firefox-140.9.0

Description

Firefox Web Browser

Added to portage

2026-03-24

firefox - 149.0
Ebuild name:

www-client/firefox-149.0

Description

Firefox Web Browser

Added to portage

2026-03-24

firefox-bin - 140.9.0
Ebuild name:

www-client/firefox-bin-140.9.0

Description

Firefox Web Browser

Added to portage

2026-03-24

firefox-l10n - 149.0
Ebuild name:

www-client/firefox-l10n-149.0

Description

Firefox Web Browser's translation files

Added to portage

2026-03-24

framework-tool-tui - 0.8.3
Ebuild name:

app-laptop/framework-tool-tui-0.8.3

Description

TUI for controlling and monitoring Framework Computers hardware

Added to portage

2026-03-24

freerdp - 3.24.0
Ebuild name:

net-misc/freerdp-3.24.0

Description

Free implementation of the Remote Desktop Protocol

Added to portage

2026-03-24

freerdp - 3.24.1
Ebuild name:

net-misc/freerdp-3.24.1

Description

Free implementation of the Remote Desktop Protocol

Added to portage

2026-03-24

glycin-loaders - 2.1.1
Ebuild name:

media-libs/glycin-loaders-2.1.1

Description

Loaders for glycin clients (glycin crate or libglycin)

Added to portage

2026-03-24

google-chrome - 146.0.7680.164
Ebuild name:

www-client/google-chrome-146.0.7680.164

Description

The web browser from Google

Added to portage

2026-03-24

handbrake - 1.11.1
Ebuild name:

media-video/handbrake-1.11.1

Description

Open-source, GPL-licensed, multiplatform, multithreaded video transcod

Added to portage

2026-03-24

hcloud - 2.17.1
Ebuild name:

dev-python/hcloud-2.17.1

Description

Official Hetzner Cloud python library

Added to portage

2026-03-24

jdupes - 1.31.1
Ebuild name:

app-misc/jdupes-1.31.1

Description

Identify duplicate files on the filesystem

Added to portage

2026-03-24

joplin-desktop - 3.6.6
Ebuild name:

app-office/joplin-desktop-3.6.6

Description

Secure note taking and to-do app with synchronization capabilities

Added to portage

2026-03-24

jsonnet - 0.22.0
Ebuild name:

dev-lang/jsonnet-0.22.0

Description

A data templating language for app and tool developers

Added to portage

2026-03-24

jsonpointer - 3.1.1
Ebuild name:

dev-python/jsonpointer-3.1.1

Description

Identify specific nodes in a JSON document (according to draft 08)

Added to portage

2026-03-24

keepsecret - 1.0.0
Ebuild name:

app-crypt/keepsecret-1.0.0

Description

Password manager GUI for SecretService providers

Added to portage

2026-03-24

kotlin-bin - 2.3.20
Ebuild name:

dev-lang/kotlin-bin-2.3.20

Description

Statically typed language that targets the JVM and JavaScript

Added to portage

2026-03-24

krita - 6.0.0
Ebuild name:

media-gfx/krita-6.0.0

Description

Free digital painting application. Digital Painting, Creative Freedom

Added to portage

2026-03-24

libavif - 1.4.1
Ebuild name:

media-libs/libavif-1.4.1

Description

Library for encoding and decoding .avif files

Added to portage

2026-03-24

libheif - 1.21.2
Ebuild name:

media-libs/libheif-1.21.2

Description

ISO/IEC 23008-12 HEIF file format decoder and encoder

Added to portage

2026-03-24

libime - 1.1.14
Ebuild name:

app-i18n/libime-1.1.14

Description

Fcitx5 Next generation of fcitx

Added to portage

2026-03-24

libjodycode - 4.1.2
Ebuild name:

dev-libs/libjodycode-4.1.2

Description

Shared code used by several utilities written by Jody Bruchon

Added to portage

2026-03-24

metakernel - 1.0.0
Ebuild name:

dev-python/metakernel-1.0.0

Description

Metakernel for Jupyter

Added to portage

2026-03-24

miniupnpd - 2.3.10
Ebuild name:

net-misc/miniupnpd-2.3.10

Description

MiniUPnP IGD Daemon

Added to portage

2026-03-24

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-03-24

modus-themes - 5.2.0
Ebuild name:

app-emacs/modus-themes-5.2.0

Description

Highly accessible themes for GNU Emacs

Added to portage

2026-03-24

monkeysphere - 0.44-r2
Ebuild name:

app-crypt/monkeysphere-0.44-r2

Description

Leverage the OpenPGP web of trust for OpenSSH and Web authentication

Added to portage

2026-03-24

nvidia-drivers - 595.58.03
Ebuild name:

x11-drivers/nvidia-drivers-595.58.03

Description

NVIDIA Accelerated Graphics Driver

Added to portage

2026-03-24

obs-move-transition - 3.2.1
Ebuild name:

media-plugins/obs-move-transition-3.2.1

Description

Move transition for OBS Studio

Added to portage

2026-03-24

obs-source-clone - 0.2.3
Ebuild name:

media-plugins/obs-source-clone-0.2.3

Description

Plugin for OBS Studio to clone sources

Added to portage

2026-03-24

obs-source-dock - 0.5.1
Ebuild name:

media-plugins/obs-source-dock-0.5.1

Description

Plugin for OBS Studio to add docks

Added to portage

2026-03-24

obs-source-record - 0.4.7
Ebuild name:

media-plugins/obs-source-record-0.4.7

Description

Plugin for OBS Studio to make sources available to record via

Added to portage

2026-03-24

obs-vkcapture - 1.5.5
Ebuild name:

media-plugins/obs-vkcapture-1.5.5

Description

OBS Linux Vulkan/OpenGL game capture

Added to portage

2026-03-24

ocaml-markdown - 0.2.1
Ebuild name:

dev-ml/ocaml-markdown-0.2.1

Description

Markdown parser and printer in OCaml

Added to portage

2026-03-24

openblas - 0.3.32
Ebuild name:

sci-libs/openblas-0.3.32

Description

Optimized BLAS library based on GotoBLAS2

Added to portage

2026-03-24

openmpi - 5.0.9-r1
Ebuild name:

sys-cluster/openmpi-5.0.9-r1

Description

A high-performance message passing library (MPI)

Added to portage

2026-03-24

openpgp-keys-handbrake - 20260311
Ebuild name:

sec-keys/openpgp-keys-handbrake-20260311

Description

OpenPGP keys used to sign HandBrake

Added to portage

2026-03-24

opera-developer - 130.0.5846.0
Ebuild name:

www-client/opera-developer-130.0.5846.0

Description

A fast and secure web browser

Added to portage

2026-03-24

pandora_box - 0.20.0
Ebuild name:

sys-apps/pandora_box-0.20.0

Description

Syd's log inspector & profile writer

Added to portage

2026-03-24

picard - 3.0.0_alpha4-r1
Ebuild name:

media-sound/picard-3.0.0_alpha4-r1

Description

Cross-platform music tagger

Added to portage

2026-03-24

pipdeptree - 2.34.0
Ebuild name:

dev-python/pipdeptree-2.34.0

Description

Utility for displaying installed packages in a dependency tree

Added to portage

2026-03-24

prek - 0.3.8
Ebuild name:

dev-util/prek-0.3.8

Description

Better `pre-commit`, re-engineered in Rust

Added to portage

2026-03-24

puremagic - 2.1.1
Ebuild name:

dev-python/puremagic-2.1.1

Description

Pure python implementation of magic file detection

Added to portage

2026-03-24

pylru - 1.2.2
Ebuild name:

dev-python/pylru-1.2.2

Description

A least recently used (LRU) cache for Python

Added to portage

2026-03-24

pypdf - 6.9.2
Ebuild name:

dev-python/pypdf-6.9.2

Description

Python library to work with PDF files

Added to portage

2026-03-24

rclone - 1.73.3
Ebuild name:

net-misc/rclone-1.73.3

Description

A program to sync files to and from various cloud storage providers

Added to portage

2026-03-24

sip - 6.15.3
Ebuild name:

dev-python/sip-6.15.3

Description

Python bindings generator for C/C++ libraries

Added to portage

2026-03-24

sphinx-autodoc-typehints - 3.9.10
Ebuild name:

dev-python/sphinx-autodoc-typehints-3.9.10

Description

Type hints support for the Sphinx autodoc extension

Added to portage

2026-03-24

sphobjinv - 2.4
Ebuild name:

dev-python/sphobjinv-2.4

Description

Sphinx objects.inv Inspection/Manipulation Tool

Added to portage

2026-03-24

subtitleeditor - 0.55.0-r1
Ebuild name:

media-video/subtitleeditor-0.55.0-r1

Description

GTK+3 subtitle editing tool

Added to portage

2026-03-24

svt-av1 - 4.0.1
Ebuild name:

media-libs/svt-av1-4.0.1

Description

Scalable Video Technology for AV1 (SVT-AV1 Encoder)

Added to portage

2026-03-24

swi-prolog - 10.0.2
Ebuild name:

dev-lang/swi-prolog-10.0.2

Description

Versatile implementation of the Prolog programming language

Added to portage

2026-03-24

syd - 3.51.0
Ebuild name:

sys-apps/syd-3.51.0

Description

seccomp and landlock based application sandbox with support for namespaces

Added to portage

2026-03-24

systemd - 260.1
Ebuild name:

sys-apps/systemd-260.1

Description

System and service manager for Linux

Added to portage

2026-03-24

systemd-utils - 260.1
Ebuild name:

sys-apps/systemd-utils-260.1

Description

Utilities split out from systemd for OpenRC users

Added to portage

2026-03-24

tempest - 46.2.0
Ebuild name:

dev-python/tempest-46.2.0

Description

OpenStack Integration Testing

Added to portage

2026-03-24

types-python-dateutil - 2.9.0.20260323
Ebuild name:

dev-python/types-python-dateutil-2.9.0.20260323

Description

Typing stubs for python-dateutil

Added to portage

2026-03-24

unzip - 6.0_p29-r1
Ebuild name:

app-arch/unzip-6.0_p29-r1

Description

unzipper for pkzip-compressed files

Added to portage

2026-03-24

uv - 0.11.0
Ebuild name:

dev-python/uv-0.11.0

Description

A Python package installer and resolver, written in Rust

Added to portage

2026-03-24

uv-build - 0.11.0
Ebuild name:

dev-python/uv-build-0.11.0

Description

PEP517 uv build backend

Added to portage

2026-03-24

werkzeug - 3.1.7
Ebuild name:

dev-python/werkzeug-3.1.7

Description

Collection of various utilities for WSGI applications

Added to portage

2026-03-24

yoga - 3.2.1
Ebuild name:

dev-libs/yoga-3.2.1

Description

Cross-platform layout engine

Added to portage

2026-03-24

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