Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 10-19-2012, 04:05 PM   #1
Registered: Oct 2012
Distribution: Slackware 14.0 86x
Posts: 43

Rep: Reputation: Disabled
Packages and removing

So I actually readed (some% )slackbook and googled but I'm still not sure do I need to keep .tgz's somewhere so I will be able to uninstall package from 'pkgtool'.

Or will slackware keep track of installation by itself so when using 'installpkg some-package.tgz' I can remove that package and afterwards still be able to uninstall it...?
Old 10-19-2012, 04:36 PM   #2
Senior Member
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,616

Rep: Reputation: 138Reputation: 138
You don't need to keep the package to uninstall it - if you have installed with the stock "installpkg". In /var/log/packages all installed packages are being tracked and this information is enough for "removepkg" to do its job.
Old 10-19-2012, 05:18 PM   #3
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 503

Rep: Reputation: Disabled
There's no need to keep the tgz. Every package you have is listed in /var/log/packages. Each one is a file that has a list of the files, directories, etc. that will be removed if you remove the package.

Anything else is usually in $HOME/.SomeHiddenDirectory.
Old 10-19-2012, 05:33 PM   #4
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233
Every package built with a correctly written SlackBuild script and installed with installpkg will be listed in /var/log/packages and therefore taken into account in the Slackware package management system. For those, you do not need to keep the .tgz packages. If you, however, build/install something via simple (not recommended):

make install
or executing a binary package (eg. nvidia binary driver, VirtualBox, etc), you should keep the installation directory or executable binary file to make it easier for you to uninstall it in the future. They are not included in the slackware package management system.


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
Removing packages mariostg Slackware 4 09-25-2012 08:14 PM
Removing Packages mrtedweb Linux - Newbie 1 08-01-2009 08:07 AM
removing certain packages Smokey Red Hat 1 10-02-2004 07:55 PM
removing packages robson8112 Linux - General 3 01-21-2004 03:34 PM
removing packages..??? mhd_Ahmed Linux - Newbie 4 08-22-2003 12:46 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:23 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