Jonathan T. Sage wrote:


fbsd_user wrote:

What is the sure fired way to get the correct spelling of the package name to use with pkg_add -r command?

pkg_info | grep start.of.package.name

i.e.

# pkg_info | grep emacs
xemacs-21.4.14      This port tracks the...
xemacs-packages-10.0 Basic...

*snips not included*

hope this helps, happy holidays ~j


of course, had i read the full question, i would have been a little more specifc for pkg_add, instead of pkg_delete. i usually use:

# ftp ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/All/
*blah...*
ftp> ls emacs*
229 Entering Extended Passive Mode (|||62664|)
150 Opening ASCII mode data connection for directory listing.
-rw-r--r--   1 110      root      8556988 Nov 11 11:39 emacs-19.34b.tgz
*snip*
ftp> exit
# pkg_add -r emacs-19.34b.tgz

also, pkg_add -r can take partials. i.e. pkg_add -r isc-dhcpd3 will install the latest isc-dhcpd3 version.

~j

> ls emacs*


-- Jonathan T. Sage Lighting & Scenic Design Professional Web Design [HTTP://www.theatre.msu.edu] [EMAIL PROTECTED] [PGP: 182C CF3F 93A9 1DAA 2EBE D4D5 A159 96D9 452E A7F1]

Attachment: pgp00000.pgp
Description: PGP signature



Reply via email to