Ask Your Question

dnf search excluding some words

asked 2018-01-21 12:35:35 -0500

Am doing a dnf search on "font" but I do now want texlive fonts included in results. How to sharpen a search by excluding some words?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-01-21 13:49:35 -0500

sideburns gravatar image

I'm not sure if you can, directly. However, you can always use grep to filter the results:

sudo dnf list *font* | grep -v textlive

would probably work, although I've not actually tried it.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-01-21 12:35:35 -0500

Seen: 53 times

Last updated: Jan 21 '18