upgrade from compiled package in Slackware

515 Views Asked by At

I compiled php 5.2.17 from the source with php-fpm and I have the compiled package /tmp as you know the version of php is slackware 13.1 is the same (5.2.17 without php-fpm) . How could I update from from compiled package?

2

There are 2 best solutions below

2
On

Best idea would be editing Slackware's php.SlackBuild, creating new package and using upgradepkg to upgrade it.

0
On

The very easy way is, remove your old packages first then install your fresh packages then :) It's so easy right ? :D

Btw @APC, how do you create new packages ? Using slackbuild script ? Or manualy ? If you use SlackBuild script, which SlackBuild script do you use ? From Slackware installer or from SBo site ?