Hi Alex & Ramon,

ramon buckland wrote:
> Is there a way ( and I assume so. ) to browse the list of
> the available packages in Debian

`dpkg -l` is useful for a quick view. If you find something you like in
the list try `apt-cache show <package-name>` for the stuff you'd be
seeing in /var/lib/dpkg/available.

Also see gnome-apt for a GUI package browser.

Alex Samad wrote:
> with redhat you could query the db to see what package a file belonged to
> like
> 
> rpm -qf /etc/sendmail.cf
> 
> is there a similar tool under Debian

`man dpkg`, or `dpkg --help` may help.

Briefly, you can do;

   To list all files owned by the named package:
   # dpkg -L postfix

   To find the package that owns the named file:
   # dpkg -S /etc/postfix/main.cf

> Also how do I go about changing the hostname of the machine, including the
> domain.

See `man hostname` for this one.

Cheers,

- Andrew

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to