|
Lines 1124-1130
Link Here
|
| 1124 |
<para>First, list outdated ports that have a newer version available in |
1124 |
<para>First, list outdated ports that have a newer version available in |
| 1125 |
the Ports Collection with the &man.pkg.version.1; command:</para> |
1125 |
the Ports Collection with the &man.pkg.version.1; command:</para> |
| 1126 |
|
1126 |
|
| 1127 |
<screen>&prompt.root; <userinput>pkg_version -v</userinput></screen> |
1127 |
<screen>&prompt.root; <userinput>pkg_version -l "<"</userinput></screen> |
| 1128 |
|
1128 |
|
| 1129 |
<sect3 id="ports-file-updating"> |
1129 |
<sect3 id="ports-file-updating"> |
| 1130 |
<title><filename>/usr/ports/UPDATING</filename></title> |
1130 |
<title><filename>/usr/ports/UPDATING</filename></title> |
|
Lines 1192-1199
Link Here
|
| 1192 |
|
1192 |
|
| 1193 |
<para>To just fetch distfiles (or packages, if |
1193 |
<para>To just fetch distfiles (or packages, if |
| 1194 |
<option>-P</option> is specified) without building or |
1194 |
<option>-P</option> is specified) without building or |
| 1195 |
installing anything, use <option>-F</option>. |
1195 |
installing anything, use <option>-F</option>.</para> |
| 1196 |
For further information see &man.portupgrade.1;.</para> |
1196 |
|
|
|
1197 |
<para>The <application>portupgrade</application> suite also comes with |
| 1198 |
<command>portinstall</command> that automates the previously explained |
| 1199 |
approach, so a port and all its dependcies will be compiled and installed |
| 1200 |
with:</para> |
| 1201 |
<screen>&prompt.root; <userinput>portinstall lsof</userinput></screen> |
| 1202 |
|
| 1203 |
<para>For further information see &man.portupgrade.1;.</para> |
| 1197 |
</sect3> |
1204 |
</sect3> |
| 1198 |
|
1205 |
|
| 1199 |
<sect3 id="portmanager"> |
1206 |
<sect3 id="portmanager"> |
|
Lines 1260-1265
Link Here
|
| 1260 |
ports:</para> |
1267 |
ports:</para> |
| 1261 |
|
1268 |
|
| 1262 |
<screen>&prompt.root; <userinput>portsclean -D</userinput></screen> |
1269 |
<screen>&prompt.root; <userinput>portsclean -D</userinput></screen> |
|
|
1270 |
<para>Or if you want to remove all distfiles not referenced by any port |
| 1271 |
currently installed on your system:</para> |
| 1272 |
<screen>&prompt.root; <userinput>portsclean -DD</userinput></screen> |
| 1263 |
|
1273 |
|
| 1264 |
<note> |
1274 |
<note> |
| 1265 |
<para>The <command>portsclean</command> utility is part of the |
1275 |
<para>The <command>portsclean</command> utility is part of the |
|
Lines 1267-1273
Link Here
|
| 1267 |
</note> |
1277 |
</note> |
| 1268 |
|
1278 |
|
| 1269 |
<para>Do not forget to remove the installed ports once you no longer need |
1279 |
<para>Do not forget to remove the installed ports once you no longer need |
| 1270 |
them. A nice tool to help automate this task is available from the |
1280 |
them. A nice tool to help automate this task is available from the |
| 1271 |
<filename role="package">sysutils/pkg_cutleaves</filename> port.</para> |
1281 |
<filename role="package">sysutils/pkg_cutleaves</filename> port.</para> |
| 1272 |
</sect2> |
1282 |
</sect2> |