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.
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.
|
 |
|
11-01-2012, 12:06 PM
|
#1
|
Member
Registered: Apr 2011
Posts: 162
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, 12:14 PM
|
#2
|
Senior Member
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: CRUX
Posts: 1,503
|
where are you installing Gnash from?
|
|
|
11-01-2012, 12:21 PM
|
#4
|
LQ Newbie
Registered: Aug 2012
Location: Germany
Distribution: Slackware64-current, Slackware64 14.0
Posts: 28
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>
|
|
2 members found this post helpful.
|
11-01-2012, 12:21 PM
|
#5
|
Senior Member
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: CRUX
Posts: 1,503
|
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 12:24 PM.
|
|
|
11-01-2012, 12:26 PM
|
#6
|
Member
Registered: Apr 2011
Posts: 162
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, 01:43 PM
|
#7
|
Member
Registered: Apr 2011
Posts: 162
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, 04:10 PM
|
#8
|
Senior Member
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: CRUX
Posts: 1,503
|
Quote:
Do you recommend installed all the updates for various packages it finds?
|
I am sorry, what do you mean exactly?
|
|
|
11-01-2012, 04:23 PM
|
#9
|
Member
Registered: Apr 2011
Posts: 162
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, 04:34 PM
|
#10
|
Senior Member
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: CRUX
Posts: 1,503
|
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, 04:39 PM
|
#11
|
Member
Registered: Apr 2011
Posts: 162
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, 04:42 PM
|
#12
|
Senior Member
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: CRUX
Posts: 1,503
|
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 04:48 PM.
|
|
|
11-01-2012, 07:41 PM
|
#13
|
Member
Registered: Apr 2011
Posts: 162
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, 10:05 PM
|
#14
|
Member
Registered: Dec 2007
Location: Alabama USA
Distribution: Slackware current
Posts: 309
Rep:
|
This the way I do it! locate xulrunner
|
|
|
11-08-2013, 09:24 PM
|
#15
|
Member
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238
Rep:
|
it seems that...
Quote:
Originally Posted by michijo
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.
|
Hello dear friend,
Are you having problems COMPILING gnash? Cuzz its really simple IF that is the question...
Waiting for your reply,
10/4
Dumdadum
|
|
|
All times are GMT -5. The time now is 02:01 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
|
|