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-VERSIONLOCK(1)						   User Manuals 						YUM-VERSIONLOCK(1)

NAME
yum-versionlock - Version lock rpm packages SYNOPSIS
yum-versionlock [ package-name [ package-name]] ... DESCRIPTION
yum-versionlock(1) is a Yum plugin that takes a set of name/versions for packages and excludes all other versions of those packages (including optionally following obsoletes). This allows you to protect packages from being updated by newer versions. The plugin provides a command "versionlock" which allows you to view and edit the list of locked packages easily. yum versionlock add <package-wildcard>... Add a versionlock for all of the packages in the rpmdb matching the given wildcards. yum versionlock exclude <package-wildcard>... Add a exclude (within versionlock) for the latest versions of the packages in the available repos. matching the given wildcards. yum ver- sionlock list List the current versionlock entries. yum versionlock delete <entry-wildcard>... Remove any matching versionlock entries. yum versionlock clear Remove all versionlock entries. FILES
/etc/yum/pluginconf.d/versionlock.conf The system wide configuration file. See yum-versionlock.conf(5) for more information. /etc/yum/pluginconf.d/versionlock.list The default place to put package version lock information (one package and version per. line). The file takes entries in the follow- ing format EPOCH:NAME-VERSION-RELEASE.ARCH See rpm(8) for more information on custom query formats. If the package does not have an EPOCH the number will default to 0. BUGS
There are of course no bugs, but should you find any, you should first consult the FAQ section on http://yum.baseurl.org/wiki/Faq and if unsuccessful in finding a resolution contact the mailing list: yum-devel@lists.baseurl.org. To file a bug use http://bugzilla.redhat.com for Fedora/RHEL/Centos related bugs and http://yum.baseurl.org/report for all other bugs. AVAILABILITY
yum-versionlock is available via: # yum install yum-versionlock AUTHORS
Panu Matilainen <pmatilai@laiskiainen.org> James Antill <james@and.org> Documentation modified by: Gerhardus Geldenhuis <gerhardus.geldenhuis@gmail.com> SEE ALSO
yum(1) 28 December 2009 YUM-VERSIONLOCK(1)