LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 01-10-2016, 02:28 PM   #1
xiongnu
Member
 
Registered: Sep 2004
Distribution: Devuan, Void
Posts: 264

Rep: Reputation: 23
use slackbuild to install package


i need help on installing package with slackbuild.

i downloaded 'awesome wm' through slackbuild, including the source pkg. but when i run the slackbuild command, i receive an error saying some library not being present.

being new to slackware, my understanding is that slackbuild makes installing packages easier. does slackbuild solve dependency automatically or it's still up to user to install dependencies?
 
Old 01-10-2016, 02:54 PM   #2
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,407
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
use slackbuild to install package

The slackbuilds will not take care of dependencies for you. It only makes easier to build a package. And the source you got it from may be somehow to be trusted.

I use often sbopkg wich is a very handy tool for the slackbuilds.org repo. Btw their slackbuilds have a README file that provides a depends-on section. Queue files can also make things even easier.
 
1 members found this post helpful.
Old 01-10-2016, 08:34 PM   #3
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,349
Blog Entries: 28

Rep: Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147Reputation: 6147
Slackbuilds from Slackbuilds.org will not resolve dependencies, but each Slackbuild page will list the dependencies that you will need to resolve in order to install that Slackbuild.

According to the Slackbuild page for Awesome WM, Awesome requires libxdg-basedir and lgi. The Awesome Slackbuild page provides links to both of them. Install those, then run the Awesome build script again.
 
1 members found this post helpful.
Old 01-11-2016, 08:00 AM   #4
3.1415...
LQ Newbie
 
Registered: Jan 2016
Posts: 23

Rep: Reputation: Disabled
The package awesome.info (in general some_slackbuild_name.info) contains dependency information in line that starts with "REQUIRES=", also in README you may find info about some optional dependencies. And remember that after you build dependency you must install the resulting package
In this particular case, first build and install libxdg-basedir (it doesn't depend on anything), then lua (it's required for lgi), lgi and finally awesome.

Last edited by 3.1415...; 01-11-2016 at 08:04 AM.
 
Old 01-11-2016, 10:00 PM   #5
xiongnu
Member
 
Registered: Sep 2004
Distribution: Devuan, Void
Posts: 264

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by 3.1415... View Post
The package awesome.info (in general some_slackbuild_name.info) contains dependency information in line that starts with "REQUIRES=", also in README you may find info about some optional dependencies. And remember that after you build dependency you must install the resulting package
In this particular case, first build and install libxdg-basedir (it doesn't depend on anything), then lua (it's required for lgi), lgi and finally awesome.
thanks a lot! Just built my first slackbuild package

one more question: I'm trying out slackware14.1 in virtualbox. can i take the resulted sbo.tgz packages in /tmp and install them on a physical machine? or do i need to repeat the same excise?
 
Old 01-12-2016, 01:36 AM   #6
3.1415...
LQ Newbie
 
Registered: Jan 2016
Posts: 23

Rep: Reputation: Disabled
Quote:
Originally Posted by xiongnu View Post
thanks a lot! Just built my first slackbuild package
That's awesome Just be careful, building from source is highly addictive, I already feel empty when my computer doesn't compile anything
Quote:
one more question: I'm trying out slackware14.1 in virtualbox. can i take the resulted sbo.tgz packages in /tmp and install them on a physical machine? or do i need to repeat the same excise?
You should already know it's Slackware, you can do anything with it Of course, it doesn't have to work afterwards And now seriously, it depends on your configuration, drivers, what packages you've already installed, slackbuilds assume you have full Slackware installed, and doesn't mention dependencies that are already present in it. So you must experiment for yourself. Good luck.
 
1 members found this post helpful.
  


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
help with building codeblocks package using SlackBuild darkflow Slackware 8 05-31-2014 05:47 AM
What exactly does a slackbuild do (aside from installing a package)? Cultist Slackware 12 02-04-2011 01:48 AM
Gambas: Package or SlackBuild and dependencies? gargamel Slackware 8 10-03-2010 12:23 PM
updating slackbuild package in slackware 12.2 jrecortel Slackware 1 02-06-2009 06:23 PM
mplayerplug-in 3.55 - Looking for slackbuild or package ErV Slackware 9 12-22-2008 09:35 PM

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

All times are GMT -5. The time now is 07:49 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