Slackware This Forum is for the discussion of Slackware Linux.
|
| 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-01-2012, 11:06 AM
|
#1
|
|
Member
Registered: Apr 2011
Posts: 157
Rep:
|
dependencies
Is there a clean way to check for dependencies that may already be installed beyond user's knowledge? Like if I want to install Gnash, and it requires agg and xulrunner, before I install those as well, a simple command like "which" to locate them?
|
|
|
|
11-01-2012, 11:14 AM
|
#2
|
|
Member
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: Slackware
Posts: 280
Rep:
|
where are you installing Gnash from?
|
|
|
|
11-01-2012, 11:21 AM
|
#4
|
|
LQ Newbie
Registered: Aug 2012
Location: Germany
Distribution: Slackware64-current, Slackware64 14.0
Posts: 24
Rep: 
|
You can always list all installed packages on your system by typing:
Code:
ls -l /var/log/packages
You can grep out the package you are searching for. In your case a dependency:
Code:
ls -l /var/log/packages | grep <packagename>
If you installed programs, maybe from sourcecodes or whatever you can use find:
Code:
find / -name <name>
|
|
|
1 members found this post helpful.
|
11-01-2012, 11:21 AM
|
#5
|
|
Member
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: Slackware
Posts: 280
Rep:
|
well, i usually check what I have installed with pkgtool
actually, if you are using sbopkg and install Gnash from its build queue, dependencies that are already present will be indicated as installed
Last edited by solarfields; 11-01-2012 at 11:24 AM.
|
|
|
|
11-01-2012, 11:26 AM
|
#6
|
|
Member
Registered: Apr 2011
Posts: 157
Original Poster
Rep:
|
Quote:
Originally Posted by comfree
You can always list all installed packages on your system by typing:
Code:
ls -l /var/log/packages
You can grep out the package you are searching for. In your case a dependency:
Code:
ls -l /var/log/packages | grep <packagename>
If you installed programs, maybe from sourcecodes or whatever you can use find:
Code:
find / -name <name>
|
The grep line seems to work good.
|
|
|
|
11-01-2012, 12:43 PM
|
#7
|
|
Member
Registered: Apr 2011
Posts: 157
Original Poster
Rep:
|
Quote:
Originally Posted by solarfields
well, i usually check what I have installed with pkgtool
actually, if you are using sbopkg and install Gnash from its build queue, dependencies that are already present will be indicated as installed
|
I just installed sbopkg. Do you recommend installed all the updates for various packages it finds?
|
|
|
|
11-01-2012, 03:10 PM
|
#8
|
|
Member
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: Slackware
Posts: 280
Rep:
|
Quote:
|
Do you recommend installed all the updates for various packages it finds?
|
I am sorry, what do you mean exactly?
|
|
|
|
11-01-2012, 03:23 PM
|
#9
|
|
Member
Registered: Apr 2011
Posts: 157
Original Poster
Rep:
|
Quote:
Originally Posted by solarfields
I am sorry, what do you mean exactly?
|
I was using slapt-get to update my system before, but apparently it never updated any packages I installed from Slackbuilds.org. now I run sbopkg and it is updating them for the first time. I was suspicious of so many updates. Normally I install most packages the slow way of downloading them and their dependencies manually from slackbuilds.org.
|
|
|
|
11-01-2012, 03:34 PM
|
#10
|
|
Member
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: Slackware
Posts: 280
Rep:
|
SBo is not a repository for precompiled packages, so to the best of my knowledge slapt-get will do nothing with it.
What version of Slackware are you using?
Did you use some 3rd part repo for slapt-get, like slacky.eu?
Quote:
|
Normally I install most packages the slow way of downloading them and their dependencies manually from slackbuilds.org.
|
sbopkg does this for you, simply it is a bit more automated. It is left up to you to decide what to upgrade.
|
|
|
|
11-01-2012, 03:39 PM
|
#11
|
|
Member
Registered: Apr 2011
Posts: 157
Original Poster
Rep:
|
Quote:
Originally Posted by solarfields
SBo is not a repository for precompiled packages, so to the best of my knowledge slapt-get will do nothing with it.
What version of Slackware are you using?
Did you use some 3rd part repo for slapt-get, like slacky.eu?
sbopkg does this for you, simply it is a bit more automated. It is left up to you to decide what to upgrade.
|
So far most of the upgrades I tried dont work, as no dependencies are resolved. Is there a way to update packages manually without sbopkg? Like ffmpeg couldnt update, because something else was out of date. Also, couldnt install gnash, as NSPR or something was missing.
|
|
|
|
11-01-2012, 03:42 PM
|
#12
|
|
Member
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: Slackware
Posts: 280
Rep:
|
Please tell us this:
What version of Slackware are you using?
Did you use some 3rd part repo for slapt-get, like slacky.eu?
Quote:
|
Is there a way to update packages manually without sbopkg?
|
of course, download everything from SBo the "old fashioned way", run the SlackBuild, the ready package will be placed in /tmp. then upgrade it with
# upgradepkg /tmp/package-$ARCH-$BUILD_SBo.tgz
It is up to you to resolve the dependencies
Last edited by solarfields; 11-01-2012 at 03:48 PM.
|
|
|
|
11-01-2012, 06:41 PM
|
#13
|
|
Member
Registered: Apr 2011
Posts: 157
Original Poster
Rep:
|
Quote:
Originally Posted by solarfields
Please tell us this:
What version of Slackware are you using?
Did you use some 3rd part repo for slapt-get, like slacky.eu?
of course, download everything from SBo the "old fashioned way", run the SlackBuild, the ready package will be placed in /tmp. then upgrade it with
# upgradepkg /tmp/package-$ARCH-$BUILD_SBo.tgz
It is up to you to resolve the dependencies
|
I cant really recall where I got slapt-get. I usually use trusted sources. I just upgraded to Slackware 13.37.
Ah, so those tgz filse are still in temp eh? I should look around there. I suppose one could also do
# upgradepkg /tmp/*.tgz
like a wildcard maybe to do a complete check on possible upgrades.
|
|
|
|
11-02-2012, 09:05 PM
|
#14
|
|
Member
Registered: Dec 2007
Location: Alabama USA
Distribution: Slackware current
Posts: 169
Rep:
|
This the way I do it! locate xulrunner
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:54 PM.
|
|
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
|
|