LinuxQuestions.org
Visit Jeremy's Blog.
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 03-14-2012, 07:02 AM   #1
rng
Member
 
Registered: Aug 2011
Posts: 747

Rep: Reputation: 23
Different methods of installing software in slackware


It is a new-comers question, so it may have some basic errors.

I want to clarify what are different methods of installing software in slackware with advantages & disadvantages of each. From what I could read up, following are the methods:

1. Download source.tar.gz from software's webpage and compile them manually (usually with " .configure && make && make install && make clean ' command).

2. Download and install source with slackbuild from slackbuild.org and compile to tgz and install.

3. Download tgz binaries from slacky and other sites and install.

Option 2 is probably the best. Am I correct? How does one use 'installpkg' command? Can we mouse-right-click on a tar.gz or tgz package and select install? How are the slapt-get and gslapt as package managers?

Thanks for your help.
 
Old 03-14-2012, 07:33 AM   #2
solarfields
Member
 
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: Slackware
Posts: 472

Rep: Reputation: 120Reputation: 120
IMHO best is to just go with slackbuilds

check sbopkg to ease the whole thing: http://sbopkg.org/
also read what queue files are, you may find them useful: http://sbopkg.org/queues.php

PS: installpkg you use from the command line

Last edited by solarfields; 03-14-2012 at 07:35 AM.
 
Old 03-14-2012, 07:40 AM   #3
sinuhe
Member
 
Registered: Apr 2010
Location: Utah
Distribution: Slackware
Posts: 42

Rep: Reputation: 4
Alien

If you add Alien Bob's repo to your slackpkg config, you will have pre-built binaries of most software you'd want by one of the developers.

Building your own software can lead to headaches if you aren't paying attention, even from slack builds.
 
Old 03-14-2012, 07:49 AM   #4
solarfields
Member
 
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: Slackware
Posts: 472

Rep: Reputation: 120Reputation: 120
Quote:
If you add Alien Bob's repo to your slackpkg config
can you tell us how this is done?
 
Old 03-14-2012, 07:59 AM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,259

Rep: Reputation: Disabled
Quote:
Originally Posted by solarfields View Post
can you tell us how this is done?
As far as I am aware this cannot be done... perhaps he meant slapt-get instead of slackpkg.
 
Old 03-14-2012, 03:30 PM   #6
bosth
Member
 
Registered: Apr 2011
Posts: 227

Rep: Reputation: 68
Quote:
Originally Posted by rng View Post
1. Download source.tar.gz from software's webpage and compile them manually (usually with " .configure && make && make install && make clean ' command).
Try to avoid this one, since it means you will have to keep the build directory if you ever want to uninstall, and even that is no guarantee that it will be possible.

There is also src2pkg, which will try to automatically transform a source tar.gz (or however the sources are distributed) into a Slackware .txz package.
 
Old 03-14-2012, 03:52 PM   #7
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.1 64bit-Gnome 3.10 on ASUS U52F
Posts: 1,417

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
How do you do the slapt-get? is it similar to a Debian base distro?
 
Old 03-14-2012, 09:02 PM   #8
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,747

Rep: Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462
Slackbuilds is my go-to site for software, closely followed by Alien Bob's. For Alien Bob's, I usually download the package and install it with pkgtool.
 
Old 03-15-2012, 03:49 AM   #9
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 292Reputation: 292Reputation: 292
rworkman also has packages: http://rlworkman.net/pkgs/
 
Old 03-15-2012, 08:27 AM   #10
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,031
Blog Entries: 52

Rep: Reputation: Disabled
Quote:
Originally Posted by TroN-0074 View Post
How do you do the slapt-get? is it similar to a Debian base distro?
It's similar to Debian's apt-get package manager. Hence the name: sl(ackware)apt-get.
Code:
apt-get install whatever-package
and
Code:
slapt-get install whatever-package
Never used it on Slackware.
 
Old 03-15-2012, 03:55 PM   #11
audriusk
Member
 
Registered: Mar 2011
Location: Klaipėda, Lithuania
Distribution: Slackware
Posts: 248

Rep: Reputation: 107Reputation: 107
Thought I'd mention Niels Horn's (he's one of the SlackBuilds.org admins) collection of packages: http://nielshorn.net/slackware/slack_pkg.php
 
Old 03-16-2012, 08:13 AM   #12
Knightron
Senior Member
 
Registered: Jan 2011
Location: Planet Earth
Distribution: Slackware.
Posts: 1,325
Blog Entries: 7

Rep: Reputation: 157Reputation: 157
Quote:
Originally Posted by brianL View Post
It's similar to Debian's apt-get package manager. Hence the name: sl(ackware)apt-get.
Code:
apt-get install whatever-package
and
Code:
slapt-get install whatever-package
Never used it on Slackware.
Actually i'm pretty sure, it'd be
Code:
slapt-get --install whatever-package
Generally speaking, i use slackbuilds. If you don't do the full install, you can install packages (without checking dependencies) using slackpkg which will grab the package from the Slackware repo.
Although i'm sure you're aware, i'll mention it anyways.
Pkgtool, Slackwares native package manager does not resolve dependencies and you will have to work them out; but that's generally made very easy in Slack as the people who create Slackware packages keep it in mind and inform the readers of the needed dependencies.
Slackpkg just goes and grabs the packages you tell it to, and then uses Slackpkg to install the package; so it doesn't check dependencies eiher.
Slapt-get does resolve dependencies, but it utilizes third party repos that may 'dirty' your system.

I have never used src2pkg, or sbopkg so can't comment on them.
 
Old 03-16-2012, 08:45 AM   #13
rng
Member
 
Registered: Aug 2011
Posts: 747

Original Poster
Rep: Reputation: 23
Is it that pkgtool and slapt-get download and install binary packages and slackbuild and sbopkg are for downloading source files and compiling them locally on the PC so that more optimized packages are produced? Am I correct?
 
Old 03-16-2012, 05:05 PM   #14
Knightron
Senior Member
 
Registered: Jan 2011
Location: Planet Earth
Distribution: Slackware.
Posts: 1,325
Blog Entries: 7

Rep: Reputation: 157Reputation: 157
pkgtool does only what you tell it to. the command 'installpkg' is the command to tell pkgtool to install a package. You must create or download the package your self, and tell pkgtool to install it from the directory you have it stored. Like BrianL said, slapt get is very much like apt from Debian; it will fetch a package and its dependencies and install them. Slackbuilds are just a handy way of making a Slackware package from source. According to Chess Griffin, (an enthusiastic Slackware user and creator of the podcast 'Linux Reality') Slackbuilds are the native way to create Slackware packages, and Patrick makes Slackbuilds for all the packages that come with Slackware. Slackbuilds will not install anything, just make the package which you then have to install with pkgtool. I think sbopkg just makes a more automatic way of getting slackbuilds and compiling ect; but like i said previously, i've never used sbopkg.
 
Old 03-16-2012, 07:59 PM   #15
rng
Member
 
Registered: Aug 2011
Posts: 747

Original Poster
Rep: Reputation: 23
Any particular reason for not using sbopkg?
 
  


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
software sources broken - all the suggest methods fail.. please help ieatbunnies Ubuntu 1 01-19-2011 09:44 PM
Various Methods of Installing Software. ez16 Linux - General 3 08-18-2009 04:26 PM
Installing methods Pingu's Tuxedo Linux - Newbie 4 05-22-2006 06:13 AM
data recovery methods or software? Synesthesia Linux - Software 9 04-24-2006 01:37 AM
What are the best methods to install software packages? DennisSullivan Linux - Newbie 3 10-12-2005 06:40 PM


All times are GMT -5. The time now is 05:20 PM.

Main Menu
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