LinuxQuestions.org
Review your favorite Linux distribution.
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 10-19-2012, 04:05 PM   #1
slaka
Member
 
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
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644

Rep: Reputation: 145Reputation: 145
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
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 530

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
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
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):

Code:
./configure
make
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.
 
  


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
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

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

All times are GMT -5. The time now is 08:37 PM.

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
Open Source Consulting | Domain Registration