Slackware - Installation This forum is for the discussion of installation issues with Slackware. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-10-2016, 02:28 PM
|
#1
|
Member
Registered: Sep 2004
Distribution: Slackware 15, Devuan, Void
Posts: 273
Rep:
|
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?
|
|
|
01-10-2016, 02:54 PM
|
#2
|
Senior Member
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,435
|
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.
|
01-10-2016, 08:34 PM
|
#3
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,828
|
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.
|
01-11-2016, 08:00 AM
|
#4
|
LQ Newbie
Registered: Jan 2016
Posts: 23
Rep: 
|
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.
|
|
|
01-11-2016, 10:00 PM
|
#5
|
Member
Registered: Sep 2004
Distribution: Slackware 15, Devuan, Void
Posts: 273
Original Poster
Rep:
|
Quote:
Originally Posted by 3.1415...
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?
|
|
|
01-12-2016, 01:36 AM
|
#6
|
LQ Newbie
Registered: Jan 2016
Posts: 23
Rep: 
|
Quote:
Originally Posted by xiongnu
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.
|
All times are GMT -5. The time now is 09:55 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|