Changes in chapter08/pkgmgt.xml [7f36b16:d11686c]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/pkgmgt.xml
r7f36b16 rd11686c 197 197 special program to manage the packages. Each package is installed in a 198 198 separate directory. For example, package foo-1.1 is installed in 199 <filename class='directory'>/ usr/pkg/foo-1.1</filename>200 and a symlink is made from <filename>/ usr/pkg/foo</filename> to201 <filename class='directory'>/ usr/pkg/foo-1.1</filename>. When199 <filename class='directory'>/opt/foo-1.1</filename> 200 and a symlink is made from <filename>/opt/foo</filename> to 201 <filename class='directory'>/opt/foo-1.1</filename>. When 202 202 a new version foo-1.2 comes along, it is installed in 203 <filename class='directory'>/ usr/pkg/foo-1.2</filename> and the previous203 <filename class='directory'>/opt/foo-1.2</filename> and the previous 204 204 symlink is replaced by a symlink to the new version.</para> 205 205 206 206 <para>Environment variables such as <envar>PATH</envar>, 207 <envar>LD_LIBRARY_PATH</envar>, <envar>MANPATH</envar>, 208 <envar>INFOPATH</envar> and <envar>CPPFLAGS</envar> need to be expanded to 209 include <filename>/usr/pkg/foo</filename>. If you install more than a few packages, 210 this scheme becomes unmanageable.</para> 211 207 <envar>MANPATH</envar>, <envar>INFOPATH</envar>, 208 <envar>PKG_CONFIG_PATH</envar>, <envar>CPPFLAGS</envar>, 209 <envar>LDFLAGS</envar>, and the configuration file 210 <filename>/etc/ld.so.conf</filename> may need to be expanded to 211 include the corresponding subdirectories in 212 <filename class='directory'>/opt/foo-x.y</filename>.</para> 213 214 <para> 215 This scheme is used by the BLFS book to install some very large 216 packages to make it easier to upgrade them. If you install more 217 than a few packages, this scheme becomes unmanageable. And some 218 packages (for example Linux API headers and Glibc) may not work well 219 with this scheme. 220 <emphasis role='bold'>Never use this scheme system-wide.</emphasis> 221 </para> 212 222 </sect3> 213 223
Note:
See TracChangeset
for help on using the changeset viewer.