Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-05-2005, 10:00 AM   #1
LQ Newbie
Registered: Jun 2005
Posts: 9

Rep: Reputation: 0
Cool linux Command needed

Hi guys

I know there is a command that exist in linux that allows you to see what are the libraries, drivers etc... that are needed for a specific program

I don't know if I'm being clear but is something like

# "command needed" realplayer

and then I get all the software that this application use when it's run.

Old 07-05-2005, 10:21 AM   #2
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
ldd will show you what libraries a program is linked against...

Example output:
j_shaw@jshaw ~ $ ldd /usr/bin/vim =>  (0xffffe000) => /lib/ (0xb7f01000) => /lib/ (0xb7efb000) => /usr/lib/ (0xb7de5000) => /lib/ (0xb7de1000) => /lib/ (0xb7caa000) => /lib/ (0xb7c97000) => /lib/ (0xb7c70000) => /lib/ (0xb7c6c000) => /lib/ (0xb7c54000) => /lib/ (0xb7c26000)
        /lib/ (0xb7f57000)
If a library isn't found it will show that as well:
j_shaw@jshaw ~ # ldd /usr/bin/vim =>  (0xffffe000) => /lib/ (0xb7ef5000) => not found => /usr/lib/ (0xb7ddf000) => /lib/ (0xb7ddb000) => /lib/ (0xb7ca4000) => /lib/ (0xb7c91000) => /lib/ (0xb7c6a000) => /lib/ (0xb7c66000) => /lib/ (0xb7c4e000) => /lib/ (0xb7c20000)
        /lib/ (0xb7f4b000)

Last edited by jtshaw; 07-05-2005 at 10:24 AM.
Old 07-05-2005, 10:26 AM   #3
LQ Newbie
Registered: Jun 2005
Posts: 9

Original Poster
Rep: Reputation: 0
command needed

yeah that was the one that I was looking for.
Thanks a lot

Last edited by cherupop; 07-05-2005 at 10:29 AM.
Old 07-05-2005, 11:21 PM   #4
LQ Newbie
Registered: Jun 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Talking so...

So now I have one more question

What if I wanna know if I have installed one of the librarys needed for a program before I installed
Lets say that the program needs , is there a command that tells me if I have that isntalled already or not so I can get it before

thanks again


Last edited by cherupop; 07-05-2005 at 11:28 PM.
Old 07-05-2005, 11:33 PM   #5
Ynot Irucrem
Registered: Apr 2005
Location: Perth, Western Australia
Distribution: Debian
Posts: 233

Rep: Reputation: 30
you could just do the following as root:


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
command line help needed mykrob Linux - Software 5 10-08-2004 12:10 AM
Info needed on export command Nishtya Linux - Newbie 2 07-10-2004 02:45 PM
Routing command needed carrellc Linux - Networking 6 05-28-2004 10:59 AM
Ports Question + Command needed kemplej Linux - General 1 02-12-2004 02:28 AM
search for command needed by taztv gaja Linux - Newbie 1 12-29-2001 01:04 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration