LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   dependencies (http://www.linuxquestions.org/questions/slackware-14/dependencies-4175435093/)

michijo 11-01-2012 11:06 AM

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?

solarfields 11-01-2012 11:14 AM

where are you installing Gnash from?

michijo 11-01-2012 11:19 AM

Quote:

Originally Posted by solarfields (Post 4819794)
where are you installing Gnash from?

http://slackbuilds.org/result/?search=gnash&sv=13.37

comfree 11-01-2012 11:21 AM

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>

solarfields 11-01-2012 11:21 AM

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

michijo 11-01-2012 11:26 AM

Quote:

Originally Posted by comfree (Post 4819801)
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.

michijo 11-01-2012 12:43 PM

Quote:

Originally Posted by solarfields (Post 4819802)
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?

solarfields 11-01-2012 03:10 PM

Quote:

Do you recommend installed all the updates for various packages it finds?
I am sorry, what do you mean exactly?

michijo 11-01-2012 03:23 PM

Quote:

Originally Posted by solarfields (Post 4819951)
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.

solarfields 11-01-2012 03:34 PM

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.

michijo 11-01-2012 03:39 PM

Quote:

Originally Posted by solarfields (Post 4819973)
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.

solarfields 11-01-2012 03:42 PM

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

michijo 11-01-2012 06:41 PM

Quote:

Originally Posted by solarfields (Post 4819981)
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.

zrdc28 11-02-2012 09:05 PM

This the way I do it! locate xulrunner

dumdadum 11-08-2013 08:24 PM

it seems that...
 
Quote:

Originally Posted by michijo (Post 4819979)
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 04:43 PM.