Enjoy Slackware 15.0!

Welcome to the Slackware Documentation Project


This shows you the differences between two versions of the page.

Link to this comparison view

howtos:slackware_admin:querying_installed_packages [2012/09/25 04:17 (UTC)]
mfillpot moved from the general howtos namespace
howtos:slackware_admin:querying_installed_packages [2020/06/16 11:29 (UTC)] (current)
unixbhaskar [Querying Installed Packages]
Line 52: Line 52:
 cairomm-1.9.8-x86_64-1_SBo cairomm-1.9.8-x86_64-1_SBo
 pycairo-1.8.10-x86_64-2</code> pycairo-1.8.10-x86_64-2</code>
 +===Another way to find out the installed packages===
 +<file bash installed_pkgs_info>
 +#Save this script as "installed_pkgs_info" probably in /usr/local/bin
 +printf "\n\n\b\t Getting the information about installed pkgs...\n\n"
 +cd $pkgdir
 +for i in *;do slackpkg info $i | grep "PACKAGE NAME:"; sleep 1;done 
 + And the output should look like this :
 +root@Slackware_16:45:19_Tue Jun 16:~#installed_pkgs_info
 + Getting the information about installed pkgs...
 +PACKAGE NAME:  ConsoleKit2-1.2.1-x86_64-4.txz
 +PACKAGE NAME:  Cython-0.29.20-x86_64-1.txz
 +PACKAGE NAME:  GConf-3.2.6-x86_64-4.txz
 +PACKAGE NAME:  LibRaw-0.18.12-x86_64-1.txz
 +PACKAGE NAME:  M2Crypto-0.35.2-x86_64-5.txz
 +PACKAGE NAME:  MPlayer-20200103-x86_64-2.txz
 +PACKAGE NAME:  MPlayer-20200103-x86_64-2_alsa.txz
 +..snipped output for brevity!

In Other Languages
QR Code
QR Code howtos:slackware_admin:querying_installed_packages (generated for current page)