Nope, sorry that will only get the name of installed ports and
packages on your system.

May be the readers missed the -r flag which means to fetch package
from the FBSD FTP site.

The FBSD online web site provides two aides to help in finding
names.

An category index with search capability into the ports collection

        http://www.freebsd.org/ports/index.html


And the alphabetic list in port name order

        http://www.freebsd.org/ports/master-index.html

After finding candidate, click on port download button and there is
the real name of the port minus the suffix file Extentions. Every
entry in the port system has one of these.

Small percent have package download button also, which does return
the package name minus the suffix file Extentions. Using interactive
FTP looking at the package/latest directory it's very easy to see
that most ports also have packages.

What is the sure fire way using the above web site tools to find the
package names?



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jonathan T.
Sage
Sent: Thursday, December 25, 2003 6:20 PM
To: [EMAIL PROTECTED]
Subject: Re: How to find package name


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


--
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]


_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to