How do you find the dependencies an app requires

Terence Simpson stdin at stdin.me.uk
Wed Oct 31 16:13:47 UTC 2007


Douglas Phillipson wrote:
> How do you discover all an applications dependencies?
>
> Thanks
>
> Doug P
>
>   
"apt-cache show <package>" and look at the "Depends:" line or just:
"apt-cache depends <package>"
If you want to know the dependencies so you can install a package on a
system with no net access you should just run: "sudo apt-get
--print-uris install <package>", that will print out the URLs of all the
packages you need as well as the file name you need to save them as in
/var/cache/apt/archives/

Terence





More information about the kubuntu-users mailing list