Changeset 1f629e3
- Timestamp:
- 02/16/2004 01:29:19 AM (19 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, ken/inkscape-core-mods, krejzi/svn, lazarus, nosym, perl-modules, plabs/python-mods, qt5new, systemd-11177, systemd-13485, trunk, upgradedb, v5_1, v5_1-pre1, xry111/intltool, xry111/soup3, xry111/test-20220226
- Children:
- 46000ef
- Parents:
- 2532d2e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
introduction/important/pkgmgt.xml
r2532d2e r1f629e3 20 20 the goals of these books - Teaching how a Linux System is built.</para></listitem> 21 21 <listitem><para>There are multiple solutions for package management, each having 22 its strengths and drawbacks.</para></listitem> 22 its strengths and drawbacks. Including one that satifies all audiences is 23 difficult.</para></listitem> 23 24 </itemizedlist> 24 25 … … 31 32 <title>Upgrade Issues</title> 32 33 33 <para>Following are some points that you should be aware of when upgrading 34 <para>A Package Manager makes it easy to upgrade to newer versions as and when they 35 are released. Generally the instructions in the <acronym>LFS</acronym> and 36 <acronym>BLFS</acronym> Book can be used to upgrade to the newer versions. 37 Following are some points that you should be aware of when upgrading 34 38 packages, especially on a running system.</para> 35 39 … … 66 70 <title>Package Management Techniques</title> 67 71 68 <para>The following are some common package management techniques.</para> 72 <para>The following are some common package management techniques. Before 73 making a decision on a package manager, do a research on the various 74 techniques, particularly the drawbacks of the particular scheme.</para> 69 75 70 76 <sect3> … … 80 86 81 87 <sect3> 82 <title>Install in sep erate directories</title>88 <title>Install in separate directories</title> 83 89 84 90 <para>This is a simplistic package management that does not need any extra package 85 to manage the installations. Each package is installed in a sep erate directory.91 to manage the installations. Each package is installed in a separate directory. 86 92 For example, package foo-1.1 is installed in <filename>/usr/pkg/foo-1.1</filename> 87 93 and a symlink is made from <filename>/usr/pkg/foo</filename> to … … 160 166 calls that modify the filesystem. For this approach to work, all the executables 161 167 need to be dymanically linked without the suid or sgid bit. Preloading the 162 library may cause some unwanted side-effects during installation.</para> 168 library may cause some unwanted side-effects during installation; hence 169 do perform some tests to ensure that the package manager does not break 170 anything and logs all the appropriate files.</para> 163 171 164 172 </sect3> … … 167 175 <title>Creating Package Archives</title> 168 176 169 <para>In this scheme, the package installation is faked into a sep erate177 <para>In this scheme, the package installation is faked into a separate 170 178 tree as described in the Symlink style package management. After the 171 179 installation, a package archive is created using the installed files. … … 185 193 devised by Matthias Benkmann, and is available from the <ulink 186 194 url="http://www.linuxfromscratch.org/hints/">Hints Project</ulink>. 187 In this scheme, each package is installed as a sep erate user into195 In this scheme, each package is installed as a separate user into 188 196 the standard locations. Files belonging to a package are easily 189 197 identified by checking the user id. The features and shortcomings
Note:
See TracChangeset
for help on using the changeset viewer.