LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Installer differences (http://www.linuxquestions.org/questions/slackware-14/installer-differences-4175450346/)

waddles 02-15-2013 04: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 04:55 PM

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

maciuszek 02-15-2013 10: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 02:40 AM

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

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
bash-4.2$



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