Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-10-2010, 06:42 AM   #1
Registered: Oct 2010
Posts: 167

Rep: Reputation: 0
Searching yum repository

Hi all.

Although its very easy to add yum respository, i just wanted to know, if i want to search lets say repo without actually adding it, can i do it ?

I just want to know if there is any option to search a yum repo without adding it ?

Thanks alot in advance
Old 12-10-2010, 07:12 AM   #2
Senior Member
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 309Reputation: 309Reputation: 309Reputation: 309
Go to and scroll down to the
Browse Available Packages section.
Old 12-10-2010, 12:10 PM   #3
Registered: Oct 2010
Posts: 167

Original Poster
Rep: Reputation: 0
Is there any other general way of doing it ?

Actually i thought that there would be some command in linux that would help me search any yum repo without adding it, so is there any such way from shell ??

Thanks in advance
Old 12-10-2010, 12:35 PM   #4
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.4 + 50+ other Linux OS, for test only.
Posts: 16,802

Rep: Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354
Searching repositories unknown to your OS : No.

But : You can add them all, and then run :
# 'yum list all > all-packages.txt'
...... which will save the text file to /home/<name>/ :
The file is ordered with the installed packages first.
And then "the available packages".
Example Fedora 12 :
dustin-dustismo-roman-fonts.noarch 20030318-5.fc12        fedora                
dustin-dustismo-sans-fonts.noarch  20030318-5.fc12        fedora                
dvb-apps.i686                      1.1.1-21.fc12          updates               
dvbcut.i686                        0.6.0-10.svn166.fc12   rpmfusion-free        
dvd-slideshow.noarch               0.8.0-4.fc11           rpmfusion-free        
dvd95.i586                         1.4p0-4.fc11           rpmfusion-free        
dvdauthor.i686                     0.6.17-1.fc12          updates               
dvdisaster.i686                    0.72.1-1.fc12          fedora                
dvdrip.i686                        0.98.10-3.fc12         rpmfusion-free        
dvdrip-master.i686                 0.98.10-3.fc12         rpmfusion-free        
dvdstyler.i686                     1:1.7.4-1.fc12         rpmfusion-free        
dvgrab.i686                        3.4-3.fc12             fedora

Afterwards you can disable or delete the unwanted repo files.
( Or write enable=0 in all "enable entries" ).

Last edited by knudfl; 12-10-2010 at 12:41 PM.
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
yum Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. glowe Linux - Newbie 8 01-13-2016 11:55 PM
yum fails with error: Cannot retrieve repository metadata (repomd.xml) for repository dmendonsa Fedora 6 02-10-2010 08:23 PM
YUM Repository SBN Linux - General 1 01-17-2010 10:02 PM
Redhat 5.1 Yum Repository vs Fedora x.x Yum Repository lead2gold Linux - Software 1 05-22-2008 03:19 PM
Yum repository for 10.1 mijohnst SUSE / openSUSE 6 04-11-2006 09:42 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration