LinuxQuestions.org
Register a domain and help support LQ
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 11-11-2004, 10:15 PM   #1
Eklipz
Member
 
Registered: Sep 2004
Posts: 85

Rep: Reputation: 15
Makepkg Question


Since alot of programs I want to use dont come with any way to uninstall, I would like to be able to make them into packages so I can easily remove them later with removepkg. I was wondering how exactly I would do this with makepkg. Lets say I've got filexx.tar.gz. Do I just do makepkg filexx.tar.gz, then installpkg filexx.tgz? Or are there more steps?
 
Old 11-11-2004, 10:37 PM   #2
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slack`er-current
Posts: 845

Rep: Reputation: 31
cd into the directory you want to make the package and run makepkg. There is another tool out there called checkinstall that works well. It lets you uninstall programs with Slacks pkgtool.http://asic-linux.com.mx/~izto/checkinstall/

Last edited by Linux~Powered; 11-11-2004 at 10:38 PM.
 
Old 11-11-2004, 10:38 PM   #3
datadriven
Member
 
Registered: Jun 2003
Location: Holly Hill, Florida
Distribution: Slackware 10.1
Posts: 317

Rep: Reputation: 30
makepkg is a little bit complicated. Your best bet is to get checkinstall. It should be on any slack mirror, swaret or slapt-get should be able to install it for you, or you can just download it and use installpkg. After that you just run checkinstall instead of make install
 
Old 11-12-2004, 12:08 PM   #4
Eklipz
Member
 
Registered: Sep 2004
Posts: 85

Original Poster
Rep: Reputation: 15
So lets say I wanted to install slapt-get using check install. These are the steps I would go through?

tar -xzvf slapt-get-0.9.9c.tar.gz
cd slapt-get-0.9.9c
./configure
checkinstall

Then I now have it installed on my system as a slackware package that I can later remove by typing removepkg slapt-get-0.9.9c?
 
Old 11-12-2004, 12:22 PM   #5
alexrait1
Member
 
Registered: Jul 2003
Location: Israel
Distribution: slackware current kernel 2.6.9
Posts: 70

Rep: Reputation: 15
Yes. And the pacakage will be saved in slapt-get-0.9.9c folder.
 
Old 11-12-2004, 02:25 PM   #6
datadriven
Member
 
Registered: Jun 2003
Location: Holly Hill, Florida
Distribution: Slackware 10.1
Posts: 317

Rep: Reputation: 30
tar -xzvf slapt-get-0.9.9c.tar.gz
cd slapt-get-0.9.9c
./configure
make
su
checkinstall
 
  


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
Makepkg and slack-desc mirto Slackware 7 10-15-2005 03:17 PM
makepkg messed up permissions rgiggs Slackware 1 01-25-2005 04:17 AM
kernal installation with makepkg? b0uncer Arch 4 02-28-2004 06:21 PM
pkgtool, makepkg Rico16135 Slackware 7 02-27-2004 05:12 PM
makepkg? digital bots Linux - Newbie 0 10-21-2002 10:22 PM


All times are GMT -5. The time now is 02:26 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration