This can be achieved by running the command below rpm -qa -last You can also sort the packages installed according to date i.e from latest to earliest. The results above confirm the installation and presence of httpd web server. In this example, we'll investigate whether httpd web server is installed or not. NOTE: If you wish to know whether a specific package is installed, use the ' grep' filter option : if not heres a sample command to dump the contentsĮcho 'SELECT packages.name, GROUP_CONCAT(files.name, ", ") AS files FROM files JOIN packages ON (files.pkgKey = packages.pkgKey) GROUP BY packages.name LIMIT 10 ' | sqlite3 -line /var/cache/yum/x86_64/7/base/gen/primary_db.4 grub2-pc-modules-2.02-0.65.el7_4.2.noarch : if you know sqlite you can stop reading here : if you download/install a new repo, run the exact same command again : note you can limit this to "primary_db.sqlite" if you really want : filelists are downloaded EVEN IF you have keepcache=0 in your yum.conf : the key result above is that "primary_db" files were downloaded : result of the above (some liberties taken with spacing): There are several good answers here, so let me provide a terrible one: : you can type in anything below, doesnt have to match anything
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |