LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   installpkg and slackpkg --install (http://www.linuxquestions.org/questions/slackware-14/installpkg-and-slackpkg-install-4175427552/)

dsplayer14 09-16-2012 06:05 PM

installpkg and slackpkg --install
 
What is the difference?

TobiSGD 09-16-2012 06:44 PM

slackpkg will download the package for you and install it. This only works if the package is part of the official Slackware repository.
installpkg can install any Slackware package, but it has to be present locally.

dsplayer14 09-16-2012 06:50 PM

is the package that was installed with installpkg capable of being updated with slackpkg?

onebuck 09-16-2012 06:52 PM

Member Response
 
Hi,

From 'man installpkg';
Quote:

NAME
installpkg - install Slackware packages.

SYNOPSIS
installpkg [ --warn ] [ --md5sum ] [ --root /otherroot ] [ --infobox ] [ --menu ] [ --terse ] [ --ask ] [ --priority ADD|REC|OPT|SKP ] [
--tagfile /somedir/tagfile ] packagename [ packagename2 ... ]

DESCRIPTION
installpkg installs single or multiple *.tgz (or .tbz, .tlz, .txz) binary packages designed for use with the Slackware Linux distribu-
tion onto your system.

For 'installpkg package', you must have the package already available either via local storage, NFS or local medium. Of course you will need to setup NFS for this type of install.

From 'man slackpkg';
Quote:

slackpkg - Automated tool for managing Slackware Linux packages

SYNOPSIS
slackpkg [OPTIONS] {install|remove|search|upgrade|reinstall|blacklist} {PATTERN|FILE}

slackpkg [OPTIONS] {clean-system|upgrade-all|install-new}

slackpkg [OPTIONS] {search|file-search} {PATTERN|FILE}

slackpkg [OPTIONS] {generate-template|install-template|remove-template} TEMPLATENAME

slackpkg [OPTIONS] info PACKAGE

slackpkg [OPTIONS] update [gpg]

slackpkg [OPTIONS] {new-config|check-updates}

slackpkg [OPTIONS] help

DESCRIPTION
Slackpkg is a tool for those who want to easily install or upgrade packages via the network. With slackpkg, you can have a minimal
installation of Slackware Linux and install/upgrade only those packages you need most.

You don't need to setup NFS or make dozens of CDs for all your computers; all you need to do is to type one command and all of the lat-
est official Slackware packages will be at your fingertips.

...
install
Installation of a package is very simple. You need only type:

# slackpkg install package

and the package will be downloaded and installed.
You can't use the "install" option to install an already installed package, but you may reinstall or upgrade it.

For slackpkg you can install via the network or repository mirror. As stated above you have flexibility. Once you select the mirror or local tree you can easily do installs. You may need to setup other config files. Read the 'man' pages!

onebuck 09-16-2012 06:54 PM

Member Response
 
Hi,
Quote:

Originally Posted by dsplayer14 (Post 4781924)
is the package that was installed with installpkg capable of being updated with slackpkg?

Yes! Read the 'man' pages.

dsplayer14 09-16-2012 06:57 PM

Thank you onebuck.
I apologize for not checking the man pages first.
I feel guilty for making a thread because of this simple question...
Thanks, nevertheless

TobiSGD 09-16-2012 07:11 PM

Quote:

Originally Posted by dsplayer14 (Post 4781924)
is the package that was installed with installpkg capable of being updated with slackpkg?

Only if the package you installed is in Slackware's repositories. slackpkg will not upgrade third party packages.

brianL 09-17-2012 04:47 AM

You can use sbopkg to install and update SlackBuilds (from slackbuilds.org).
http://www.sbopkg.org/

onebuck 09-17-2012 04:58 AM

Member Response
 
Hi,
Quote:

Originally Posted by dsplayer14 (Post 4781929)
Thank you onebuck.
I apologize for not checking the man pages first.
I feel guilty for making a thread because of this simple question...
Thanks, nevertheless

Your Welcome!

No need to apologize, sometimes we all miss the obvious. 'man' pages are beneficial source of information.

No need to feel guilty about this, you were not aware of the functionality of the commands and it's justifiable to post queries to get answers. Sharing is important, I am sure there are other members who read these type post(s) and are very thankful for the query & feedback.

"LinuxQuestions.org - where Linux users come for help" is a valid title for LQ. :)

dsplayer14 09-17-2012 10:59 AM

Quote:

Originally Posted by brianL (Post 4782143)
You can use sbopkg to install and update SlackBuilds (from slackbuilds.org).
http://www.sbopkg.org/

Bene using this for a while, its a lifesaver.


All times are GMT -5. The time now is 12:38 PM.