LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   manually updating packages (https://www.linuxquestions.org/questions/slackware-14/manually-updating-packages-302476/)

Vindane 03-16-2005 05:23 PM

manually updating packages
 
I'm preparing to upgrade to KDE 3.4 by going down the list of the updates that are required for the install (ie: arts 1.4.0, etc.). I'd like to remove the old arts and install the new one but I'm not quite sure how to do this since the new packages are in *.tar.gz format.

So far, I compiled and installed arts 1.4.0. I then realized that the old arts was still present on my system. So I did removepkg on the old arts and it successfully uninstalled it. I then did a new "make install" of the new arts.

Is that the correct way to do this?
If I wanted to remove a package that I built from source, say the arts 1.4.0, how would I go about doing that?

Thanks!

cathectic 03-16-2005 06:50 PM

*.tar.gz are not Slackware packages, they are compressed tar files containing the source code.

To build packages, you have two choices:

(The hard way) You can either use the DESTDIR parameter when doing 'make install', then use makepkg to build packages.

(The easy way) Install checkinstall from the third CD in /extra (or grab it from your local Slack mirror), and then replace the 'make install' step with 'checkinstall' - this will create a Slackware package in the current directory, which can then just be installed with 'installpkg' and removed later with 'removepkg' as per usual.


All times are GMT -5. The time now is 05:25 AM.