Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 03-21-2004, 06:35 PM   #1
Registered: Jan 2004
Posts: 46

Rep: Reputation: 15
list of installed packages

1. How do I make a list of all the Slackware packages installed and put them in a file for printing? I can run the pkgtool program that lists packages, but I don't know how to send the output to a file.

2. I'd like to remove packages that I'm not using. How do I avoid removing something that is needed for something that I don't understand due to a dependency?

Old 03-21-2004, 06:44 PM   #2
Registered: Oct 2003
Location: North Carolina, USA
Distribution: Slackware 11
Posts: 174

Rep: Reputation: 30

As for #1...


$ls /var/log/packages > foo.txt

Old 03-21-2004, 09:41 PM   #3
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
As for #2, well it all depends really. If your unsure, don't remove it. Slackware is already a minimal install really. Usually any of the libs you will want to keep in a lot of the cases. The best way is to pick a package you want to remove, and then check any of the apps you use to see whether or not they will require it or not.
Old 03-22-2004, 05:52 PM   #4
Registered: Jan 2004
Posts: 46

Original Poster
Rep: Reputation: 15
The package list command worked fine for me.

Someday, when I've got time to reinstall if I mess it up, I may try removing a couple.



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
How to list all installed packages? bp12345 Debian 2 08-15-2005 09:06 AM
list installed debian packages Fernandoch Debian 4 07-07-2005 06:16 AM
List all packages installed by user BlueOrb Debian 2 06-21-2005 03:11 PM
List all installed Packages? mikeshn Linux - General 1 12-02-2003 11:31 PM
How do I get a current list of RPM packages installed on my system? needamiracle Linux - General 1 12-06-2002 06:38 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:34 AM.

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