LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   How do I search across Red Hat 7 repos? (https://www.linuxquestions.org/questions/red-hat-31/how-do-i-search-across-red-hat-7-repos-4175532821/)

nickage 02-02-2015 10:32 AM

How do I search across Red Hat 7 repos?
 
Hello everyone, recently I was trying to install one CMS that requires php-mcrypt, and couldn't not found the library in my enabled repos.
I am new to pure Redhat, used to work with CentOS before, and it looks that I can find most of packages within Redhat repos without adding epel of other third party repos. If this statement is true then all I need is to find a good way to search through disabled repos or identify which repo contains certain package somehow.

Ztcoracat 02-02-2015 03:27 PM

Hi: & Welcome to Linux Questions.

I would give yum search (name of package or application) a try.

If you add the epel repo yum should perform a search for you.
Code:

yum repolist
yum repolist all

To search for a specific package by name, use the list function. To search for the package tsclient, use the command:
Code:

su -c 'yum list tsclient'
The name tsclient was just an example.
https://www.centos.org/docs/5/html/y...-packages.html

If your still having trouble look through the RH Documentation-
https://access.redhat.com/documentat...ositories.html

You need to install a package called yum-utils. yum-utils is a collection of utilities and examples for the yum package manager. It includes utilities by different authors that make yum easier and more powerful to use.
http://www.cyberciti.biz/faq/yum-dow...ages-from-rhn/

You can also install a package manually if you have to.:-
http://www.cyberciti.biz/faq/how-do-...ll-suse-linux/

http://www.redhat.com/en/services/support
https://openstack.redhat.com/Repositories
http://www.redhathowto.com/?tag=repository

Hope that helps.


All times are GMT -5. The time now is 11:09 PM.