LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-08-2007, 10:01 PM   #1
ldeveloperxl
LQ Newbie
 
Registered: Nov 2007
Posts: 7

Rep: Reputation: 0
Question check bin or package dependencies?


Hello

I want to move the gcc2.9.5 compiler (and some other older bin files) from an older linux distro
to another more recent distro that comes with gcc3.x. I'm wondering what other packages does the
gcc2.9.5 compiler depends on. Is it possible to check which packages a bin file depends?

Thank you
 
Old 11-09-2007, 01:14 AM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
I trust you have a fair amount of experience with computers before trying such a thing!

If the older system used an RPM or DEB package manager, you should be able to use the package manager to determine dependencies. In addition to external dependencies, you should look at the files included in the package itself to see which of those you may need to copy over.

You can also use the ldd utility to determine which share libraries are required by each binary.
 
Old 11-09-2007, 09:24 AM   #3
ldeveloperxl
LQ Newbie
 
Registered: Nov 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Hi

Thank you for your reply. I think my original post might not be a feasible idea. I'm currently trying to install ssh/telnet server on RH6.2 to run the program, but I've encountered some problems, pls see:

http://www.linuxquestions.org/questi...0/#post2953324

Last edited by ldeveloperxl; 11-09-2007 at 09:26 AM.
 
Old 11-10-2007, 12:09 AM   #4
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Quote:
Originally Posted by ldeveloperxl
but I've encountered some problems, pls see:

http://www.linuxquestions.org/questi...0/#post2953324
I see that thread has been closed as duplicate. so I don't know if there is still yet another thread I haven't seen (with possible replies) or if this is the other thread.

As for your ssh/telnet problem, is compiling them from source an option? Or is RH6.2 too old for even that to work? (If it is, maybe you could find some older source code.)

EDIT: If you don't need security (i.e. this is over a trusted LAN), and you have access to both machines simulateously, I believe you can use nc (netcat) to do a low level file transfer. (I've never done it.)

Last edited by blackhole54; 11-10-2007 at 12:16 AM.
 
Old 11-10-2007, 03:08 AM   #5
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Rep: Reputation: 31
You can install via the certain Linux Distribution Package Manager such as Fedora(Rpm, Yum), OpenSuse(Yast), Ubuntu(apt-get, Deb)

All these packages automatically check the dependencies for you without to worry.

I hope this help.
 
  


Reply



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
Failed dependencies /bin/sh, libc.so.6... when installing rpm package Vilenjak Linux - Newbie 4 03-19-2007 06:08 PM
How to check if a package(eg. gdebi)will be available in 'Etch' as binary package? Akhran Debian 4 08-28-2006 11:53 AM
Check all package on Smart Package Message! suse2166 Linux - Software 3 08-12-2006 09:22 PM
fail dependencies /bin/sh mhloong Linux - Software 1 09-30-2005 01:59 AM
installing package without dependencies check noir-gel Linux - General 2 03-03-2003 08:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:07 PM.

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
Open Source Consulting | Domain Registration