How to find package name

Jonathan T. Sage sagejona at theatre.msu.edu
Thu Dec 25 15:35:13 PST 2003


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]
[sagejona at msu.edu]
[PGP: 182C CF3F 93A9 1DAA 2EBE  D4D5 A159 96D9 452E A7F1]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 254 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20031225/22d9ca64/attachment.bin


More information about the freebsd-questions mailing list