-   Slackware (
-   -   Installer differences (

waddles 02-15-2013 03:53 PM

Installer differences
I am presuming there is no difference between using "pkgtool" and "installpkg" when installing an alien piece of software but I am asking in case there is, as I usually us pkgtool?

wildwizard 02-15-2013 03:55 PM

pkgtool calls installpkg to install the actual package, consider it a front end.

maciuszek 02-15-2013 09:59 PM

curiousss.. i always thought it primarily invoked upgradepkg with --install-pkg clp. so of i run pkgtool under a dir which i have certain packages installed it would install 2 instances of a pkg say if diff named ( as in versions maybe )?

Didier Spaier 02-16-2013 01:40 AM

Jut have a look to /sbin/pkgtool to check by yourself that it runs installpkg, not upgradepkg. To quickly confirm that:

bash-4.2$ egrep '(installpkg|upgradepkg)' /sbin/pkgtool
  installpkg -root $TARGET_DIR -infobox -tagfile $TMP/tagfile $PACKAGE_FILENAME
  installpkg -root $TARGET_DIR -menu -tagfile $TMP/tagfile $PACKAGE_FILENAME
  installpkg -root $TARGET_DIR -menu -ask -tagfile $TMP/tagfile $PACKAGE_FILENAME

All times are GMT -5. The time now is 11:56 PM.