LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-27-2006, 11:37 PM   #1
Synesthesia
Member
 
Registered: Jan 2004
Location: the abyss
Posts: 209

Rep: Reputation: 30
[Slackware packages]


Easy way to uninstall slackpackages (in 10.2)? Thanks.
 
Old 04-27-2006, 11:40 PM   #2
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
As root:

removepkg package-name
 
Old 04-27-2006, 11:40 PM   #3
drumz
Member
 
Registered: Apr 2005
Location: Oklahoma, USA
Distribution: Slackware
Posts: 927

Rep: Reputation: 716Reputation: 716Reputation: 716Reputation: 716Reputation: 716Reputation: 716Reputation: 716
Code:
# removepkg <packagename>
Or

Code:
# pkgtool
and then select the package you want to remove.

Edit: got beat by BCarey
 
Old 04-27-2006, 11:42 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Have a look at removepkg - there's a man page with it and info at http://www.slackware.com/config/packages.php
 
Old 04-28-2006, 09:14 AM   #5
-=Graz=-
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358

Rep: Reputation: 31
so if i use pkgtool to install a package i can then use it again to remove the same package, correct?
If i create my own package and install with pkgtool does the same apply? what about it if use installpkg?

sorry about the lameness of my questions, i have just been fairly sloppy to date and am going to clean my act up. :P I have not really used any of the official packages (except of course when installing slackware) and have not even really used the unofficial binaries either - have just been doing quick #make #make installs...

thanks!
 
Old 04-28-2006, 09:17 AM   #6
-=Graz=-
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358

Rep: Reputation: 31
i should have read the url you posted first gilead =)
thanks
 
Old 04-28-2006, 03:17 PM   #7
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
No problem - hope it helped...
 
Old 04-28-2006, 08:47 PM   #8
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
Another possibility is checkinstall (in slack extras). Some people seem to have bad experiences (and moral issues ;-) with it, but I've found it works well and simply.

Brian
 
Old 04-30-2006, 02:57 AM   #9
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839

Rep: Reputation: 242Reputation: 242Reputation: 242
pkgtool is a frontend for removepkg etc. Therefore there is no difference in using pkgtool or the basic command line tools. However, a prerequisite for applying these tools is that you have put your packages under the control of the Slackware package management. You cannot use these tools for packages you installed with make install.

When you install "foreign" packages, an easy way to simplify package creation and management is ./configure, make (as usual, so far), but then checkinstall instead of makeinstall. There are a few exception when checkinstall won't work properly, as the checkinstall docs say, but I haven't had such a case in the last few years.

gargamel
 
  


Reply

Tags
pkg, uninstall


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
slackware packages warpedlinuxmind Slackware 3 08-02-2005 02:05 AM
slackware packages Smokey Slackware 6 11-19-2004 05:42 AM
Slackware Packages Zuggy Slackware 2 11-03-2004 09:18 PM
some slackware packages synaptical Slackware 1 05-04-2004 05:36 PM
Newer Slackware Packages on older slackware version pengStudent Slackware 2 11-12-2003 01:47 PM

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

All times are GMT -5. The time now is 05:08 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
Open Source Consulting | Domain Registration