LinuxQuestions.org

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

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:
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 08:04 AM.