LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Makepkg Question (https://www.linuxquestions.org/questions/slackware-14/makepkg-question-253878/)

Eklipz 11-11-2004 10:15 PM

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?

Linux~Powered 11-11-2004 10:37 PM

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/

datadriven 11-11-2004 10:38 PM

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

Eklipz 11-12-2004 12:08 PM

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?

alexrait1 11-12-2004 12:22 PM

Yes. And the pacakage will be saved in slapt-get-0.9.9c folder.

datadriven 11-12-2004 02:25 PM

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


All times are GMT -5. The time now is 02:16 PM.