LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 04-23-2005, 01:40 AM   #1
neo
Member
 
Registered: Apr 2005
Distribution: FreeBSD
Posts: 61

Rep: Reputation: 15
Anyone Interested


I've written a script to output the dependencies of any tgz package. It outputs the packages name, dependent library, and the packages that the library is in. It is very detailed. Actually, I caught a couple of missing libraries in the slackbase that are no longer in slack with it.. gnome. I also realized that some libraries are in more than one package which is interesting.

Was wondering if anyone would be interested in such a thing? I original wrote it because I wanted to make a minimalist slack system and then install things one by one and include only the things that I had to.

It's a pretty small script. I intentionaly tried to keep it as simple and fast as possible, yet complete. All it does is output the details, I didn't want it to get to complicated. Also, the package your checking could either be installed or not.

I want to maybe post it at sourceforge.net so people could use it and then I could improve it with the aid of users comments and ideas.

Last edited by neo; 04-23-2005 at 01:49 AM.
 
Old 04-23-2005, 02:18 AM   #2
xgreen
Member
 
Registered: Aug 2003
Distribution: Slackware,Ubuntu
Posts: 389

Rep: Reputation: 30
just post it here and let everybody try it..
 
Old 04-23-2005, 02:19 AM   #3
KelteN
LQ Newbie
 
Registered: Sep 2004
Distribution: Slackware
Posts: 2

Rep: Reputation: 0
Sure, why not. I'm sure someone will find use to it.
 
Old 04-23-2005, 04:09 AM   #4
neo
Member
 
Registered: Apr 2005
Distribution: FreeBSD
Posts: 61

Original Poster
Rep: Reputation: 15
Okay. I have to format it so I can cut and paste it into the thread.
 
Old 04-23-2005, 05:55 AM   #5
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 136Reputation: 136
Quote:
I also realized that some libraries are in more than one package which is interesting.
There are some package with 2 versions, one with only the runtime libs required to run
application and one another version with the runtime libs + the headers file required to
compile programs, example :
- glibc and glibc-solibs
- openssl and openssl-solibs
You need to install just one package, not both
 
Old 04-23-2005, 06:12 AM   #6
neo
Member
 
Registered: Apr 2005
Distribution: FreeBSD
Posts: 61

Original Poster
Rep: Reputation: 15
Yeah I realize that now. I just meant it was intresting to learn is all. My script just tells you that you need one or the other. It doesn't install anything it just prints out's the details and lets you decide for yourself.

Also learned why dependency problems in slack are less of an issue. It's because aaa_elflibs installs the most common libraries and thus you shouldn't upgrade aaa_elflibs becuase you'll overwrite libraries with possible older versions. If you put aaa_elflibs tgz into my script it will tell you all the libraries that are in it and what other packages have them.

Also, mozilla-firefox is linked to gnome libraries which slack doesn't have. Make sense since it was compiled by the mozilla team and not pat. There are 3 other packages in slackware base that require the gnome libraries, which are not in slack anymore. I'm guessing they were compiled on a test system w/ gnome libs and thus linked to those libs at the time.

I'll post it soon for everyone to see.

Last edited by neo; 04-23-2005 at 06:15 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
hello, is anyone here interested in lcc? keyboard Programming 0 02-25-2005 01:25 AM
Kylix - is anyone interested? alanbarnard Linux - General 1 01-26-2004 01:22 PM
very interested in Linux evian Linux - Newbie 10 03-18-2003 10:03 PM
Interested in Linux-but not sure rabbitnow Linux - General 0 11-01-2002 03:54 PM
If you are interested............. LinuzRulz Linux - Software 0 08-31-2002 07:18 PM


All times are GMT -5. The time now is 09:26 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration