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
.
I miss yumex !
-
- Posts: 1521
- Joined: 2014/05/21 20:16:00
- Location: Central New York, USA
Re: I miss yumex !
Name or description contains "rar "?
Apparently, packages 'ark' and 'unar'.
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
-
- Posts: 1521
- Joined: 2014/05/21 20:16:00
- Location: Central New York, USA
Re: I miss yumex !
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.
Thank you so much for the brain food.
-
- Posts: 1521
- Joined: 2014/05/21 20:16:00
- Location: Central New York, USA
Re: I miss yumex !
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 -
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 -
Re: I miss yumex !
Yes. I keep most repos disabled. Gives me feeling that I have some control.
-
- Posts: 1521
- Joined: 2014/05/21 20:16:00
- Location: Central New York, USA
Re: I miss yumex !
jlehtone: Thank you again. I (finally) built a script around that line - sometimes things take me a while.