~/ learn/ comp-325/ cards/ Three tools on one trade-off
1 of 10

The installed-packages pipeline, refined, and its Red Hat equivalent

The installed-packages pipeline, refined, and its Red Hat equivalent

Answer

dpkg -l | grep -i python dpkg -l | grep -i '^ii.*python' rpm -qa | grep -i python

The pipe makes grep filter dpkg standard output. -i is not optional here: package names appear as python3-, libpython and Python. The middle line also drops removed-but-not-purged entries by anchoring on the ii status column. dpkg is Debian-family only.

Sarwar & Koretsky 3e ch7 §7.6

space flip · ← → navigate · esc to exit
NORMAL ~/memra/library/24c07180-49ec-494b-8325-fb27555f94f3/flashcard utf-8 LF