LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   slackware installed packages (https://www.linuxquestions.org/questions/slackware-14/slackware-installed-packages-71141/)

itsjustme 07-08-2003 10:00 PM

slackware installed packages
 
I've searched around and also looked at 'man pkgtool' and 'man installpkg' but I'm not finding a command that will simply show the packages that are currently installed in a slackware 9.0 system.

Does a command exist that will list installed packages?

For instance, (and this is not a thread about installing samba) I think samba is installed since I get some 'find' hits on /usr/share/samba, and some others, but no hits on samba in any /bin or /sbin directory. I know I can get into mozilla and find out if samba is actually ready to go, but the question remains about getting a list of installed packages.

Thanks...

slakmagik 07-08-2003 10:06 PM

Just do 'pkgtool' and select 'view' from the text menu.

itsjustme 07-08-2003 10:13 PM

Oh.. OK, thanks.

The thing that threw me there was the description for View:
"View the list of files contained in a package."
I didn't realize it would give me a list of installed packages to choose from. I assumed, for no apparent good reason, that it would ask for a package name and then display the files in that package whether it was installed or not..

Thanks again...

contrasutra 07-08-2003 10:24 PM

also:

"ls /var/log/packages" works.

slakmagik 07-08-2003 10:41 PM

Yeah, it's not the clearest description, but it'll do it. :)

Cool, contrasutra. Then just 'less filename' from that and get the list of files in the package and not have to mess with the TUI and scrolling and all. That's a better way than mine. :)

itsjustme 07-08-2003 11:07 PM

Thanks for the replies.

I was gonna say, "I'm such a goof.", because I chose to install everything when I installed slackware. :rolleyes: But, then, I figured, well, samba might not have been included in 'everything' with slackware. So, both pkgtool and 'ls /var/log/packages' let me see what's installed and verify that samba-2.2.8-i386-1 is indeed there. (I guess there's not an i686 version.)

Dang, looks like 400 packages there. But, hey, I think Red Hat does about 1500. And an installed package is just using disk space if it isn't loaded and running, eh? And the slack machine has a 30Gig drive so no big deal.

Regards...

contrasutra 07-08-2003 11:57 PM

Though installing everything will make many things auto run on boot.

Samba
FTP
SSH
and other types of servers.

go into /etc/rc.d and disable any services you dont want to use, because they will use memory, and are a security risk.


All times are GMT -5. The time now is 05:01 AM.