[Gllug] Recommended distro

Huw Lynes huw-l at moving-picture.com
Wed Dec 15 13:16:37 UTC 2004


On Tue, 14 Dec 2004 14:43:09 +0000
Richard Jones <rich at annexia.org> wrote:

> On Tue, Dec 14, 2004 at 10:28:46AM +0000, Huw Lynes wrote:
> > But how do you work out what a packages dependencies are? In rpm you can
> > do: rpm -qp --requires somelib-1.1-1.i386.rpm
> > And you can do the reverse:
> > rpm -q --whatrequires libfoo.so
> 
> 
> apt-cache show <packagename> will show the dependencies, eg:
> 
> $ apt-cache show openoffice.org | grep -i depends
> Depends: openoffice.org-debian-files (>> 1.1.2+1.1.3), openoffice.org-bin
> (>> 1.1.2+1.1.3), openoffice.org-l10n-en (>> 1.1.2+1.1.3) |
> openoffice.org-l10n-1.1.3, dictionaries-common (>= 0.10) |
> openoffice.org-updatedicts, ttf-opensymbol Depends:
> openoffice.org-debian-files (>> 1.1.1+1.1.2rc3), openoffice.org-bin (>>
> 1.1.1+1.1.2rc3), openoffice.org-l10n-en (>> 1.1.1+1.1.2rc3) |
> openoffice.org-l10n-1.1.2, dictionaries-common (>= 0.10) |
> openoffice.org-updatedicts, ttf-opensymbol
> 
> Or you can use 'apt-cache depends' or 'apt-cache rdepends'.
> 

Thanks, that gets me 90% of the way to where I need to go.


-- 
| Huw Lynes               | The Moving Picture Company  |
| System Administrator    | 127 Wardour Street          |
|.........................| London, W1F 0NL             | 


-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list