[parisc-linux] how to use dpkg/dselect/apt-get ???
Pasi Kärkkäinen
pasik at iki.fi
Mon Oct 22 14:39:25 MDT 2001
On Sat, 20 Oct 2001, Nicholas Leippe wrote:
> Thankyou for the link. Unfortunately, I've already read that one
> and found it of little help.
>
> I am not against whatever debian uses considering all the wonderful
> features it's supposed to have, just rather annoyed that it is such a
> difficult/disgusting interface.
>
Some basic commands:
This will update the list of available packages:
apt-get update
This will upgrade all of your installed packages to newest versions:
apt-get dist-upgrade
Searching for a package 'foo':
apt-cache search foo
Download and install package 'foo':
apt-get install foo
Listing the files in package 'foo':
dpkg -L foo
Displaying status of package 'foo':
dpkg -s foo
Display information of not-installed package 'foo':
apt-cache show foo
Removing package 'foo':
apt-get remove foo
or
dpkg --purge foo
Checking to what package file 'foo' belongs to:
dpkg -S /path/to/foo
And so on..
the 'sources' for apt are configured in /etc/apt/sources.list
You can add your favourite mirror in there.
And if you need to find which package includes file 'foo' you can check it
from http://packages.debian.org (use the search that let's you search inside
packages).
Hope that helps.
- Pasi Kärkkäinen
^
. .
Linux
/ - \
Choice.of.the
.Next.Generation.
More information about the parisc-linux
mailing list