The NZ Linux Resource

[wailug] apt config

Blair Harrison harrison at contact.net.nz
Sun Jul 20 12:35:08 NZST 2003


On Sun, 20 Jul 2003 12:48:28 +1200
"Phil Workman" <pwork at contact.net.nz> wrote:

> can i use apt to install a down loaded .deb from another directory ?
> i will keep reading - but there must be an easy way to do this ??
> TIA
> 

easy

dpkg -i /path/to/file.deb

-i for install

man dpkg should tell you all you need to know :)

for future reference, some quick apt/deb commands -

apt-cache search something 
  -will search for a package description or name containing "something"
apt-get install some-package-name
  - will install the package called "some-package-name"

apt-get remove some-package-name
  - will remove installed package called "some-package-name"

apt-get update
  - will download the latest package list from the source in your
   /etc/apt/sources.list file

apt-get upgrade
  - will try to attempt to upgrade all currently installed packages to
  the latest versions available

dpkg -i filename.deb
  - will install the specified .deb

dpkg -r package-name
  - will attempt to remove package-name without deleting configuration
  files

dpkg -P package-name
   - will attempt to remove package-name and purge all related
   configuration files from the system

that should keep you going for a while :)

Cheers,
Blair

--------------------------------------------------------------------
To remove yourself from this list, email wailug-request at linux.net.nz
with "unsubscribe" in the body of the message.



More information about the WaiLUG mailing list If you have any questions or comments about this page, email the Webmaster
Design Copyright © 1998-2005 Linux.net.nz