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-debug-restore(1)													      yum-debug-restore(1)

NAME
yum-debug-restore - replay Yum transactions captured in a debug-dump file SYNOPSIS
yum-debug-restore DESCRIPTION
yum-debug-restore is a program which takes a gzipped file created by yum-debug-dump and acts on the information about installed packages contained within. GENERAL OPTIONS
--output Output the commands that would be run to stdout. --shell=<file> Output the commands that would be run to a file. --install-latest Ask yum to install the latest version of the given packages, instead of the version that was installed in the debug-dump file. --ignore-arch Ignore the architecture of the packages, so you can "restore" an i386 debug-dump on an x86_64 machine. --filter-types=[install,remove,update,downgrade] Only perform the given types of commands, so you can filter to just upgrades and installs. FILES
As yum-debug-restore uses YUM libraries for retrieving all the information, it relies on YUM configuration for its default values like which repositories to use. Consult YUM documentation for details: /etc/yum.conf /etc/yum/repos.d/ /var/cache/yum/ SEE ALSO
yum-debug-dump (1) yum.conf (5) http://yum.baseurl.org/ AUTHORS
See the Authors file included with this program. 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. James Antill 15 December 2011 yum-debug-restore(1)