LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Rep: Reputation: 47
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
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
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: 53

Rep: Reputation: 9
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
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
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: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
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
Location: British Columbia, Canada
Posts: 304

Rep: Reputation: 127Reputation: 127
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.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
How do you do the slapt-get? is it similar to a Debian base distro?
 
Old 03-14-2012, 09:02 PM   #8
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
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,467

Rep: Reputation: Disabled
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: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

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: 360

Rep: Reputation: 199Reputation: 199
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: Australia
Distribution: openSUSE
Posts: 1,465
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
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
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
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: Australia
Distribution: openSUSE
Posts: 1,465
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
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
Senior Member
 
Registered: Aug 2011
Posts: 1,198

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:11 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
Open Source Consulting | Domain Registration