LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-08-2003, 11:00 PM   #1
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 45
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...
 
Old 07-08-2003, 11:06 PM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Just do 'pkgtool' and select 'view' from the text menu.
 
Old 07-08-2003, 11:13 PM   #3
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Original Poster
Rep: Reputation: 45
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...

Last edited by itsjustme; 07-08-2003 at 11:16 PM.
 
Old 07-08-2003, 11:24 PM   #4
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 46
also:

"ls /var/log/packages" works.
 
Old 07-08-2003, 11:41 PM   #5
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
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.
 
Old 07-09-2003, 12:07 AM   #6
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Original Poster
Rep: Reputation: 45
Thanks for the replies.

I was gonna say, "I'm such a goof.", because I chose to install everything when I installed slackware. 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...
 
Old 07-09-2003, 12:57 AM   #7
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 46
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
where is installed packages bruse Mandriva 4 04-05-2005 09:55 AM
How to tell what packages are installed? KMorley Linux - Newbie 2 02-23-2005 03:16 PM
RPM is saying installed packages aren't installed ticky87 Linux - Newbie 4 07-26-2004 02:17 AM
where are packages installed? InTheWired Linux - General 10 04-08-2004 05:46 AM
installed packages race Debian 7 03-10-2004 10:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration