View Single Post

  #2 (permalink)  
Old 06-15-2007, 11:25 PM
rockdalinux's Avatar
rockdalinux rockdalinux is offline
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 581
Rep Power: 7
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Talking

To add package from local or cdrom, enter:
Code:
pkg_add package.tgz
pkg_add /path/to/package.tgz
To add package from FTP/HTTP site use (adjust version 3.0 and i386 as per your arch):
Code:
pkg_add ftp://ftp.NetBSD.org/pub/NetBSD/packages/3.0/i386/All/package-name
To delete or remove package, use:
Code:
pkg_delete -r package-name
Display if updated version available or not i.e. Finding if newer versions of your installed packages are in pkgsrc:
Code:
lintpkgsrc -i
The pkg_info command shows information about installed packages or binary package files.
Code:
pkg_info
This is just a quick and dirty intro read system man pages for all options or download NetBSD guides
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote