Jul 21, 2020 · “list yum installed” is a popular command to list all installed packages on the system. In the newer version of YUM, the repository which installed the package is listed together. Some repos also append a unique “repo” tag to the release. With this info, we can grep all packages installed by a particular repo:

May 15, 2011 · Updating these repository files is the task of the administrator. YUM uses these files for caching the repository information. For the purpose of this article, RHEL-5.6-server is used. YUM Configuration. The YUM configuration files are located in "/etc/yum.repos.d/" directory. The current files in the repository are: For some operations (for example, a yum install operation), Yum downloads the packages to install into the Yum cache. The cached packages are located in a subdirectory structure from /var/cache/yum that reflects the architecture, the distribution release, and the repository from where the packages were downloaded. Jun 14, 2017 · $ yum list installed | grep @epel. Say for example, the following command will list the packages from “repo-oss” repository: $ zypper search -ir repo-oss. Difference between yum check updates and list update. Although the two commands sound similar, so there is a difference between checking for updates and listing updates in yum. $ yum list updates. The command to list updates, shown above, will list all the packages in the repositories that have an update available.

May 07, 2018 · repo id repo name status InstallMedia Red Hat Enterprise Linux 7.5 5,099 uaans-repo UAANS-GLOBAL 4,305 repolist: 9,404 [root@uaans yum.repos.d]# 8. Let’s merge/update “uaans-repo” repository from InstallMedia.

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

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 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