Feb 25, 2013 · Fig.01: Yum Query All Repositories and Show Repository ID’s Command To list only enabled repos, enter: # yum repolist enabled To list only disabled repos, enter: # yum repolist disabled To list all repos (default), enter: # yum repolist all To list available packages under a repo called ksplice-uptrack, enter:

How to clear the yum cache: When a package is downloaded, installed and is removed there is a chance that the package may still be saved/stored in the yum’s cache. So to clean all the cached packages from the enabled repository cache directory, login as root and execute the following: yum clean packages Here's one way to do it, the crux of it is the *Repo-baseurl:" which is reported by the yum repolist command: # curl -s --dump-header - `yum repolist rhcd -v | grep Repo-baseurl | awk '{print $2}'` -o /dev/null HTTP/1.1 200 OK Date: Fri, 17 May 2013 09:58:30 GMT Server: Apache/2.2.3 (CentOS) Connection: close Transfer-Encoding: chunked Content-Type: text/html;charset=ISO-8859-1 Disable all repositories and then enable just selected repo. $ yum --disablerepo="*" --enablerepo="google" list available Loaded plugins: dellsysidplugin2, refresh-packagekit Available Packages google-chrome-beta.i386 5.0.307.9-39052 google google-chrome-unstable.i386 5.0.322.2-38810 google google-desktop-linux.i386 1.2.0-0088 google picasa.i386 PostgreSQL Yum Repository . You will find details on PostgreSQL related RPMs for Fedora / Red Hat / CentOS / Oracle Linux, like pgAdmin, Slony-I, PostGIS, etc. Important update: Announcing "common" repository. In April 2020, we introduced the "common" repository. This requires a repository RPM update. Please read the news item for details. Dec 22, 2019 · Run the “yum repolist” command to check whether “epel-testing” & “ius” repositories are disabled or not. It’s disabled, I’m not able to see those repo in the below list except “epel”.

yum collects all repository information from .repo files and the [repository] section of the /etc/yum.conf file to create a master list of repositories to use for transactions. Refer to Section 1.3.2, “Setting [repository] Options” for more information about options you can use for both the [ repository ] section and .repo files.

The list is going to be pretty long, so you might want to pipe it through “more” or “less” so you can scroll through it a page at a time: yum list installed | more yum list installed | less or direct it out to a file for viewing in a text editor: yum list installed > /tmp/yum-list.txt

All .repo files contain repository information (similar to the [repository] sections of /etc/yum.conf). yum collects all repository information from .repo files and the [repository] section of the /etc/yum.conf file to create a master list of repositories to use for transactions. If reposdir is not set, yum uses the default directory /etc/yum

Jul 03, 2020 · # yum repolist repo id repo name status base CentOS-5 - Base enabled: 2,725 epel Extra Packages for Enterprise Linux 5 - i386 enabled: 5,783 extras CentOS-5 - Extras enabled: 282 mod-pagespeed mod-pagespeed enabled: 1 rpmforge RHEL 5 - RPMforge.net - dag enabled: 11,290 updates CentOS-5 - Updates enabled: 743 repolist: 20,824 Jan 13, 2018 · How to list the contents of a package using yum command. The procedure to list the files installed by a yum package: Open the terminal bash shell and type: sudo yum install yum-utils; See the files installed by a yum package named bash: repoquery --list bash repoquery -l '*bash*' Let us see installation and usage in details. Installation To install a package from a different repository with yum, you need to add the repository information to the /etc/yum.conf file or to its own repository.repo file in the /etc/yum.repos.d directory. Operations with the list of repositories. yum repolist all; yum repolist disabled you may list the disabled repositories or simply all of them; yum repolist enabled and re-enable them; Adding a Yum Repository . To tell your server which repository to use, you need to create a file with a name that ends in .repo in the directory /etc/yum.repos.d Jun 12, 2017 · To list only enabled repos, run the following command: $ yum repolist enabled. To list only disabled repos, enter: $ yum repolist disabled. In Fedora: $ sudo dnf repolist List installed packages in DEB based systems. Run the following command to view the list of installed packages in DEB based systems like Debian, Ubuntu, Linux Mint etc. How to clear the yum cache: When a package is downloaded, installed and is removed there is a chance that the package may still be saved/stored in the yum’s cache. So to clean all the cached packages from the enabled repository cache directory, login as root and execute the following: yum clean packages