I miss yumex !

Issues related to applications and software problems and general support
Post Reply
lightman47
Posts: 1521
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

I miss yumex !

Post by lightman47 » 2021/10/18 19:34:55

In CentOS 7, yumex would search repo packages for criteria - including descriptions. In RHEL 8, and presumably CentOS 8, if you know what function you wish to perform but don't know the package name you are out of luck. Yumex would give you a LIST of matches from package names as well as descriptions.

Is there an equivalent in "8" or even a command 'enhancement' of which I am unaware?

Thank you


.

User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: I miss yumex !

Post by jlehtone » 2021/10/18 20:32:11

Name or description contains "rar "?

Code: Select all

$ dnf --enablerepo=epel repoquery --qf "%{name} ::: %{description}" | grep -i -E ":::|rar " | grep -i -B1 "rar "
Last metadata expiration check: 0:12:25 ago on Mon 18 Oct 2021 11:17:26 PM EEST.
ark ::: Ark is a program for managing various archive formats.
rar and lha (if appropriate command-line programs are installed).
--
unar ::: The command-line utilities lsar and unar are capable of listing and extracting
files respectively in several formats including RARv5, RAR support includes
Apparently, packages 'ark' and 'unar'.

lightman47
Posts: 1521
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: I miss yumex !

Post by lightman47 » 2021/10/18 22:29:33

WOW! That line is a massive amount of studying!! Clearly, my scripting is in it's infancy but THANK YOU for that! One of my 'future questions' was going to be about piping pipes. There is so much I don't understand but will research, although it could be years till I am able to pull off an actual search for packages.

Thank you so much for the brain food.

lightman47
Posts: 1521
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: I miss yumex !

Post by lightman47 » 2021/10/20 18:51:03

Ok - getting 'results' with different criteria as I play around. Thank you! Seems it would get me through the immediate problem, finding programs I want/need.

You've explicitly enabled epel -- was that a precaution, or are there installed/enabled repos the commands tend to ignore? I've enabled epel here.

Thank you again.

- will be investigating command components of which I've no understanding -

User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: I miss yumex !

Post by jlehtone » 2021/10/20 19:40:43

lightman47 wrote:
2021/10/20 18:51:03
You've explicitly enabled epel -- was that a precaution
Yes. I keep most repos disabled. Gives me feeling that I have some control. :roll:

lightman47
Posts: 1521
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: I miss yumex !

Post by lightman47 » 2021/10/27 10:56:46

jlehtone: Thank you again. I (finally) built a script around that line - sometimes things take me a while. :lol:

Post Reply