|
Lines 399-405
Link Here
|
| 399 |
</example> |
399 |
</example> |
| 400 |
|
400 |
|
| 401 |
<para>If you do not have a source of local packages (such as a |
401 |
<para>If you do not have a source of local packages (such as a |
| 402 |
FreeBSD CD-ROM set) then it will probably be easier to use the |
402 |
FreeBSD CDROM set) then it will probably be easier to use the |
| 403 |
<option>-r</option> option to &man.pkg.add.1;. This will |
403 |
<option>-r</option> option to &man.pkg.add.1;. This will |
| 404 |
cause the utility to automatically determine the correct |
404 |
cause the utility to automatically determine the correct |
| 405 |
object format and release and then fetch and install the |
405 |
object format and release and then fetch and install the |
|
Lines 442-448
Link Here
|
| 442 |
<para>Package files are distributed in <filename>.tgz</filename> |
442 |
<para>Package files are distributed in <filename>.tgz</filename> |
| 443 |
and <filename>.tbz</filename> formats. You can find them at <ulink |
443 |
and <filename>.tbz</filename> formats. You can find them at <ulink |
| 444 |
url="ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/packages/"></ulink>, |
444 |
url="ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/packages/"></ulink>, |
| 445 |
or on the FreeBSD CD-ROM distribution. Every CD on the |
445 |
or on the FreeBSD CDROM distribution. Every CD on the |
| 446 |
FreeBSD 4-CD set (and the PowerPak, etc.) contains packages |
446 |
FreeBSD 4-CD set (and the PowerPak, etc.) contains packages |
| 447 |
in the <filename>/packages</filename> directory. The layout |
447 |
in the <filename>/packages</filename> directory. The layout |
| 448 |
of the packages is similar to that of the |
448 |
of the packages is similar to that of the |
|
Lines 757-763
Link Here
|
| 757 |
|
757 |
|
| 758 |
<para>The port includes instructions on how to build source |
758 |
<para>The port includes instructions on how to build source |
| 759 |
code, but does not include the actual source code. You can |
759 |
code, but does not include the actual source code. You can |
| 760 |
get the source code from a CD-ROM or from the Internet. |
760 |
get the source code from a CDROM or from the Internet. |
| 761 |
Source code is distributed in whatever manner the software |
761 |
Source code is distributed in whatever manner the software |
| 762 |
author desires. Frequently this is a tarred and gzipped file, |
762 |
author desires. Frequently this is a tarred and gzipped file, |
| 763 |
but it might be compressed with some other tool or even |
763 |
but it might be compressed with some other tool or even |
|
Lines 790-811
Link Here
|
| 790 |
</warning> |
790 |
</warning> |
| 791 |
|
791 |
|
| 792 |
<sect3 id="ports-cd"> |
792 |
<sect3 id="ports-cd"> |
| 793 |
<title>Installing Ports from a CD-ROM</title> |
793 |
<title>Installing Ports from a CDROM</title> |
| 794 |
|
794 |
|
| 795 |
<indexterm> |
795 |
<indexterm> |
| 796 |
<primary>ports</primary> |
796 |
<primary>ports</primary> |
| 797 |
<secondary>installing from CD-ROM</secondary> |
797 |
<secondary>installing from CDROM</secondary> |
| 798 |
</indexterm> |
798 |
</indexterm> |
| 799 |
<para>The FreeBSD Project's official CD-ROM images no longer |
799 |
<para>The FreeBSD Project's official CDROM images no longer |
| 800 |
include distfiles. They take up a lot of room that is |
800 |
include distfiles. They take up a lot of room that is |
| 801 |
better used for precompiled packages. CD-ROM products such as |
801 |
better used for precompiled packages. CDROM products such as |
| 802 |
the FreeBSD PowerPak do include distfiles, and you can |
802 |
the FreeBSD PowerPak do include distfiles, and you can |
| 803 |
order these sets from a vendor such as the <ulink |
803 |
order these sets from a vendor such as the <ulink |
| 804 |
url="http://www.freebsdmall.com/">FreeBSD Mall</ulink>. |
804 |
url="http://www.freebsdmall.com/">FreeBSD Mall</ulink>. |
| 805 |
This section assumes you have such a FreeBSD CD-ROM |
805 |
This section assumes you have such a FreeBSD CDROM |
| 806 |
set.</para> |
806 |
set.</para> |
| 807 |
|
807 |
|
| 808 |
<para>Place your FreeBSD CD-ROM in the drive. Mount it on |
808 |
<para>Place your FreeBSD CDROM in the drive. Mount it on |
| 809 |
<filename>/cdrom</filename>. (If you use a different mount |
809 |
<filename>/cdrom</filename>. (If you use a different mount |
| 810 |
point, set <makevar>CD_MOUNTPTS</makevar> make variable.) |
810 |
point, set <makevar>CD_MOUNTPTS</makevar> make variable.) |
| 811 |
To begin, change to the |
811 |
To begin, change to the |
|
Lines 889-899
Link Here
|
| 889 |
|
889 |
|
| 890 |
<note> |
890 |
<note> |
| 891 |
<para>Please be aware that the licenses of a few ports do |
891 |
<para>Please be aware that the licenses of a few ports do |
| 892 |
not allow for inclusion on the CD-ROM. This could be |
892 |
not allow for inclusion on the CDROM. This could be |
| 893 |
because a registration form needs to be filled out before |
893 |
because a registration form needs to be filled out before |
| 894 |
downloading or redistribution is not allowed, or for |
894 |
downloading or redistribution is not allowed, or for |
| 895 |
another reason. If you wish to install a port not |
895 |
another reason. If you wish to install a port not |
| 896 |
included on the CD-ROM, you will need to be online in |
896 |
included on the CDROM, you will need to be online in |
| 897 |
order to do so (see the <link linkend="ports-inet">next |
897 |
order to do so (see the <link linkend="ports-inet">next |
| 898 |
section</link>).</para> |
898 |
section</link>).</para> |
| 899 |
</note> |
899 |
</note> |
|
Lines 905-919
Link Here
|
| 905 |
<para>As with the last section, this section makes an |
905 |
<para>As with the last section, this section makes an |
| 906 |
assumption that you have a working Internet connection. If |
906 |
assumption that you have a working Internet connection. If |
| 907 |
you do not, you will need to perform the <link |
907 |
you do not, you will need to perform the <link |
| 908 |
linkend="ports-cd">CD-ROM installation</link>, or put a copy |
908 |
linkend="ports-cd">CDROM installation</link>, or put a copy |
| 909 |
of the distfile into |
909 |
of the distfile into |
| 910 |
<filename>/usr/ports/distfiles</filename> manually.</para> |
910 |
<filename>/usr/ports/distfiles</filename> manually.</para> |
| 911 |
|
911 |
|
| 912 |
<para>Installing a port from the Internet is done exactly the |
912 |
<para>Installing a port from the Internet is done exactly the |
| 913 |
same way as it would be if you were installing from a |
913 |
same way as it would be if you were installing from a |
| 914 |
CD-ROM. The only difference between the two is that the |
914 |
CDROM. The only difference between the two is that the |
| 915 |
distfile is downloaded from the Internet instead of read |
915 |
distfile is downloaded from the Internet instead of read |
| 916 |
from the CD-ROM.</para> |
916 |
from the CDROM.</para> |
| 917 |
|
917 |
|
| 918 |
<para>The steps involved are identical:</para> |
918 |
<para>The steps involved are identical:</para> |