List all names of installed packages on Fedora

To list all installed packages names without extra information that allows result to be used elsewhere:

sudo yum list installed | cut -f 1 -d " "

To get specific set of installed packages:

sudo yum list installed | cut -f 1 -d " " | grep "package-name-part"

Napsat komentář

Vaše e-mailová adresa nebude zveřejněna. Vyžadované informace jsou označeny *