yum provides methods


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users yum provides methods
# 1  
Old 01-10-2012
yum provides methods

What is the difference between these yum provides and whatprovides methods? I know provides and whatprovides give the same results, but different methods of */ and \* give different results. Also whether you put */ and \* in front of the string or behind the string give different results. I have tried this so far.

Code:
sudo yum provides libcrypto.so.4
sudo yum provides */libcrypto.so.4
yum provides */libcrypto.so.4
yum provides /usr/include/security/pam_appl.h
yum provides \*bin/named-checkzone
yum provides \*bin/named-checkzone
sudo yum provides \*bin/named-checkzone
yum whatprovides */lsb_release
yum whatprovides */g++
yum whatprovides */ff
sudo yum provides firefox
sudo yum provides firefox\*
sudo yum provides gecko-libs\*
yum whatprovides */lsb_release

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Installation of virt-manager while yum update and yum install rhvm does not work

I have downloaded RHEV-H 4.2 Red Hat Virtualization - Red Hat Customer Portal (RHVirtualization 4.2 Host and Manager iso). I uploaded the image and installed on an HP G9 server baremetal. I found I dont have a WAN/net connectivity later on HPG9 server. How can I still install virt-manager on... (1 Reply)
Discussion started by: Paras Pandey
1 Replies

2. Shell Programming and Scripting

Why do these 2 methods result in different outcomes?

I've been troubleshooting a ksh93 script I wrote today and have narrowed it down to the root cause. but I don't understand why? so, i've written the following script to demonstrate the problem i found today: #!/bin/ksh method=$1 FILE_LIST=( $(find /someplace -type f -printf... (10 Replies)
Discussion started by: BLinux
10 Replies

3. Linux

Help with PAM Logging methods.

Hi Folks, Would like to understand if there exists any method to write the logs for LDAP authenticated users and Local Users separately in two different files. If not, then do I distinguish whether the user is LDAP or local without looking at passwd. Bye the way, I am trying this weird... (0 Replies)
Discussion started by: awk-admirer
0 Replies

4. UNIX for Advanced & Expert Users

Sshd refusing all authentication methods

I have a server which I suddenly can't connect to with ssh. sshd is obviously running and responding, but won't take anything. It doesn't even ask for a password, it refuses the method itself. Other services on it still appear to be running. It still reports its status. But it's not serving... (2 Replies)
Discussion started by: Corona688
2 Replies

5. Cybersecurity

Linux Encryption methods

Hi all, I am looking to encrypt a filesystem with a CentOS 6.4 install. However I note that when using LUKS the system does not boot without prompting for the password encryption key. I am looking for an drive/filesystem encryption solution which will allow reboots and shutdown/starts of the... (4 Replies)
Discussion started by: landossa
4 Replies

6. Shell Programming and Scripting

Perl Methods Calling

Hello I am on my way to improve my wonderful Perl skills, I got an issue which I want to share with you all. I have a Perl module which looks like package Cocoa; require Exporter; @ISA = qw(Exporter); my $a=''; my $b=''; my $c=''; sub new { my $this = shift; # Create... (8 Replies)
Discussion started by: adisky123
8 Replies

7. Solaris

Unix learning methods

I have recently completed Solaris 10 System Administration book by Bill Calkins. Now I want to learn more about UNIX. I have tried to research online but there is too much information and I am sort of overwhelmed and don't know where to start. Can anybody give some idea on how to pursue my learning... (3 Replies)
Discussion started by: saudsos
3 Replies

8. Shell Programming and Scripting

Methods to SSH (Perl)...

Can anyone break down the different methods of using SSH in perl? I'm currently using Net::SSH::Expect, which allows me to login to a machine and execute multiple commands without having to ssh again. This feature of holding the session works well for me, but it's slow. If I set timeouts to 4... (3 Replies)
Discussion started by: mrwatkin
3 Replies

9. UNIX for Dummies Questions & Answers

Centos commands: Yum Upgrade versus Yum update

Hi, I would like to know the difference between YUM UPDATE and YUM UPGRADE. The man pages say upgrade is same as update with the obsolete option. And by default it says the obsolete option is turned on, which would make them equivalent. Does not say what obsolete does. Can someone please... (3 Replies)
Discussion started by: mojoman
3 Replies

10. Shell Programming and Scripting

file transfer Methods

I would like to write shell script to transfer some ASCII files from HPUX server to Linux server or vice-versa. What options I have for file transfer Methods. 1) FTP 2) rcp 3) HTTP 4)Whatelse? (2 Replies)
Discussion started by: Teh Tiack Ein
2 Replies
Login or Register to Ask a Question
yum-list-data(1)														  yum-list-data(1)

NAME
yum list data plugin SYNOPSIS
yum [options] [command] [package ...] DESCRIPTION
This plugin extends yum for some commands that give aggregate package data based on lists of packages added yum commands are: * list-vendors * info-vendors * list-rpm-groups * info-rpm-groups * list-packagers * info-packagers * list-licenses * info-licenses * list-arches * info-arches * list-committers * info-committers * list-buildhosts * info-buildhosts * list-baseurls * info-baseurls * list-package-sizes * info-package-sizes * list-archive-sizes * info-archive-sizes * list-installed-sizes * info-installed-sizes * list-groups * info-groups all of which take the same arguments as the list and info yum commands. The difference between the list and info varieties is that the info versions lists all the packages under each aggregation. list-vendors, info-vendors Is used to list the aggregate of the vendor attribute on the packages, examples are "Fedora Project" and "Red Hat, Inc.". list-rpm-groups, info-rpm-groups Is used to list the aggregate of the group attribute on the packages, examples are "Applications/System", "Development/Tools" and "System Environment/Base" list-packagers, info-packagers Is used to list the aggregate of the packager attribute on the packages, examples are "Fedora Project" and "Red Hat, Inc.". list-licenses, info-licenses Is used to list the aggregate of the license attribute on the packages, examples are "GPL" and "MIT" list-arches, info-arches Is used to list the aggregate of the arch attribute on the packages, examples are "i386" and "x86_64" list-committers, info-committers Is used to list the aggregate of the committer attribute on the packages, this is taken from the most recent changelog entry of the package. list-buildhosts, info-buildhosts Is used to list the aggregate of the buildhost attribute on the packages, examples are "mybuilder.example.com" and "xen- builder1.fedora.redhat.com" list-baseurls, info-baseurls Is used to list the aggregate of the url attribute on the packages after discarding the path of the URL, examples are "http://yum.baseurl.org/" and "http://www.and.org/" list-package-sizes, info-package-sizes Is used to list the aggregate of specified ranges the packagesize attribute on the packages, examples are "[ 1B - 10KB ]" and "[ 750KB - 1MB ]". list-archive-sizes, info-archive-sizes Is used to list the aggregate of specified ranges the archivesize attribute on the packages, examples are "[ 1B - 10KB ]" and "[ 750KB - 1MB ]". list-installed-sizes, info-installed-sizes Is used to list the aggregate of specified ranges the installedsize attribute on the packages, examples are "[ 1B - 10KB ]" and "[ 750KB - 1MB ]". list-groups, info-groups Is used to list the aggregate of the yum groups that the packages are in, examples are in "yum grouplist". Note that in yum groups a package can be in more than one group at a time. It is worth noting that some of the above data can be "unknown", to yum, at which point a separate aggregation called "-- Unknown --" is listed. EXAMPLES
To list all the groups that have an update, along with the number of packages in each group, use: yum list-rpm-groups updates To list all the committers to packages that have yum in their name, use: yum list-committers 'yum*' To list ranges of the sizes of packages installed or available, use: yum list-package-sizes To list yum groups that have an update, use: yum list-groups SEE ALSO
yum-filter-data (1) yum (8) yum.conf (5) AUTHORS
James Antill <james.antill@redhat.com>. James Antill 04 February 2008 yum-list-data(1)