LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-16-2012, 07:05 PM   #1
dsplayer14
Member
 
Registered: Nov 2011
Distribution: Arch Linux and Slackware 13.37
Posts: 127

Rep: Reputation: 1
installpkg and slackpkg --install


What is the difference?
 
Old 09-16-2012, 07:44 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,650
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
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.
 
Old 09-16-2012, 07:50 PM   #3
dsplayer14
Member
 
Registered: Nov 2011
Distribution: Arch Linux and Slackware 13.37
Posts: 127

Original Poster
Rep: Reputation: 1
is the package that was installed with installpkg capable of being updated with slackpkg?
 
Old 09-16-2012, 07:52 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,444
Blog Entries: 4

Rep: Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503
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!
 
Old 09-16-2012, 07:54 PM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,444
Blog Entries: 4

Rep: Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503
Member Response

Hi,
Quote:
Originally Posted by dsplayer14 View Post
is the package that was installed with installpkg capable of being updated with slackpkg?
Yes! Read the 'man' pages.
 
Old 09-16-2012, 07:57 PM   #6
dsplayer14
Member
 
Registered: Nov 2011
Distribution: Arch Linux and Slackware 13.37
Posts: 127

Original Poster
Rep: Reputation: 1
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
 
Old 09-16-2012, 08:11 PM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,650
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
Quote:
Originally Posted by dsplayer14 View Post
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.
 
Old 09-17-2012, 05:47 AM   #8
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,134
Blog Entries: 52

Rep: Reputation: Disabled
You can use sbopkg to install and update SlackBuilds (from slackbuilds.org).
http://www.sbopkg.org/
 
Old 09-17-2012, 05:58 AM   #9
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,444
Blog Entries: 4

Rep: Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503
Member Response

Hi,
Quote:
Originally Posted by dsplayer14 View Post
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.
 
Old 09-17-2012, 11:59 AM   #10
dsplayer14
Member
 
Registered: Nov 2011
Distribution: Arch Linux and Slackware 13.37
Posts: 127

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by brianL View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to recover from "slackpkg remove" followed by "installpkg"? catkin Slackware 5 04-29-2010 11:54 AM
Unable to install packages with installpkg Sargalus Linux - Software 2 03-07-2010 06:48 PM
installpkg of a .tgz file results in a broken partial install james2b Slackware 14 08-05-2009 12:05 PM
installpkg --install-new option props666999 Slackware 7 04-08-2007 12:36 AM
installpkg: where's the install??? synaptical Slackware 7 08-06-2003 10:51 PM


All times are GMT -5. The time now is 04:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration