| 1 |
<!-- retain these comments for translator revision tracking -->
|
| 2 |
<!-- $Id: packages.xml 11648 2004-03-22 00:37:46Z joeyh $ -->
|
| 3 |
|
| 4 |
<sect2 id="install-packages">
|
| 5 |
<title>Package Installation: Simple or Advanced</title>
|
| 6 |
|
| 7 |
<para>
|
| 8 |
|
| 9 |
You will next be presented with a list of programs you can use to
|
| 10 |
select packages you wish to install. You can choose between the simple
|
| 11 |
way of selecting packages, or the more fine-grained, advanced way. We
|
| 12 |
recommend you start with the simple way, since you can always run the
|
| 13 |
more advanced way at any time.
|
| 14 |
|
| 15 |
</para><para>
|
| 16 |
|
| 17 |
You should know that for simple installation,
|
| 18 |
<command>base-config</command> is merely invoking the
|
| 19 |
<command>tasksel</command> program. For advanced package
|
| 20 |
installation, the <command>dselect</command> or
|
| 21 |
<command>aptitude</command> program is being run. Any of these can be
|
| 22 |
run at any time after installation to install (or remove) more
|
| 23 |
packages. If you are looking for a specific single package, after
|
| 24 |
installation is complete, simply run <userinput>apt-get install
|
| 25 |
<replaceable>package</replaceable></userinput>, where
|
| 26 |
<replaceable>package</replaceable> is the name of the package you are
|
| 27 |
looking for.
|
| 28 |
|
| 29 |
</para>
|
| 30 |
|
| 31 |
<sect3 id="tasksel">
|
| 32 |
<title>Simple Package Selection — The Task Installer</title>
|
| 33 |
|
| 34 |
<para>
|
| 35 |
|
| 36 |
If you chose <quote>simple</quote> installation with
|
| 37 |
<command>tasksel</command>, you will next be thrown into the Task
|
| 38 |
Installer. This technique offers you a number of pre-rolled software
|
| 39 |
configurations offered by Debian. You could always choose, package by
|
| 40 |
package, what you want to install on your new machine. This is the
|
| 41 |
purpose of the <command>dselect</command> program, described below.
|
| 42 |
But this can be a long task with around &num-of-distrib-pkgs; packages
|
| 43 |
available in Debian!
|
| 44 |
|
| 45 |
</para><para>
|
| 46 |
|
| 47 |
So, you have the ability to choose <emphasis>tasks</emphasis> first,
|
| 48 |
and then add on more individual packages later. These tasks loosely
|
| 49 |
represent a number of different jobs or things you want to do with
|
| 50 |
your computer, such as <quote>desktop environment</quote>,
|
| 51 |
<quote>development in C</quote>, or <quote>file server</quote>.
|
| 52 |
|
| 53 |
</para><para>
|
| 54 |
|
| 55 |
For each task, you can highlight that task and select <guibutton>Task
|
| 56 |
Info</guibutton> to see more information on that task. This will show
|
| 57 |
you an extended description and the list of packages which will be
|
| 58 |
installed for that task. A table showing approximate sizes of the
|
| 59 |
various tasks for planning purposes is in <xref
|
| 60 |
linkend="tasksel-size-list"/>.
|
| 61 |
|
| 62 |
</para><para>
|
| 63 |
|
| 64 |
Once you've selected your tasks, select
|
| 65 |
<guibutton>Finish</guibutton>. At this point,
|
| 66 |
<command>apt-get</command> will install the packages you've
|
| 67 |
selected. Note, if you did not select any tasks at all, any standard,
|
| 68 |
important, or required priority packages that are not yet present on
|
| 69 |
your system will be installed. This functionality is the same as
|
| 70 |
running tasksel -s at the command line, and currently involves
|
| 71 |
a download of about 37M of archives. You will be shown the number of
|
| 72 |
packages to be installed, and how many kilobytes of packages, if any,
|
| 73 |
need to be downloaded.
|
| 74 |
|
| 75 |
</para><para>
|
| 76 |
|
| 77 |
Of the &num-of-distrib-pkgs; packages available in Debian, only
|
| 78 |
a small minority are covered by tasks offered in the Task Installer.
|
| 79 |
To see information on more packages, either use <userinput>apt-cache
|
| 80 |
search <replaceable>search-string</replaceable></userinput> for some
|
| 81 |
given search string (see the <citerefentry>
|
| 82 |
<refentrytitle>apt-cache</refentrytitle> <manvolnum>8</manvolnum>
|
| 83 |
</citerefentry> man page), or run <command>dselect</command> or
|
| 84 |
<command>aptitude</command> as described below.
|
| 85 |
|
| 86 |
</para>
|
| 87 |
</sect3>
|
| 88 |
|
| 89 |
<sect3 id="dselect">
|
| 90 |
<title>Advanced Package Selection with <command>dselect</command></title>
|
| 91 |
|
| 92 |
<para>
|
| 93 |
|
| 94 |
If you are conservative user you'll probably choose the
|
| 95 |
<command>dselect</command> program. The <ulink
|
| 96 |
url="&url-dselect-beginner;">dselect Tutorial</ulink> is required
|
| 97 |
reading before you run <command>dselect</command>.
|
| 98 |
<command>dselect</command> allows you to select individual
|
| 99 |
<emphasis>packages</emphasis> to be installed on your system. (You
|
| 100 |
have to be the super-user (root) when you run
|
| 101 |
<command>dselect</command>.)
|
| 102 |
|
| 103 |
</para>
|
| 104 |
</sect3>
|
| 105 |
|
| 106 |
<sect3 id="aptitude">
|
| 107 |
<title>Advanced Package Selection with <command>aptitude</command></title>
|
| 108 |
|
| 109 |
<para>
|
| 110 |
|
| 111 |
<command>Aptitude</command> is a modern program for managing
|
| 112 |
packages. Its gui and keyboard commands somewhat resemble the famous
|
| 113 |
<command>dselect</command>, but it has more bells and whistles
|
| 114 |
attached, so it should not scare new users so much. (You have to try
|
| 115 |
the integrated minesweeper!) <command>aptitude</command> allows you to
|
| 116 |
select individual packages, set of packages matching given criteria
|
| 117 |
(for advanced users), or whole tasks.
|
| 118 |
|
| 119 |
</para><para>
|
| 120 |
|
| 121 |
The most basic keybindings are:
|
| 122 |
|
| 123 |
<informaltable>
|
| 124 |
<tgroup cols="2">
|
| 125 |
<thead>
|
| 126 |
<row>
|
| 127 |
<entry>Key</entry><entry>Action</entry>
|
| 128 |
</row>
|
| 129 |
</thead>
|
| 130 |
|
| 131 |
<tbody>
|
| 132 |
<row>
|
| 133 |
<entry><keycap>Up</keycap>, <keycap>Down</keycap></entry>
|
| 134 |
<entry>Move selection up or down.</entry>
|
| 135 |
</row><row>
|
| 136 |
<entry>&enterkey;</entry>
|
| 137 |
<entry>Open/collapse/activate item.</entry>
|
| 138 |
</row><row>
|
| 139 |
<entry><keycap>+</keycap></entry>
|
| 140 |
<entry>Mark package for installation.</entry>
|
| 141 |
</row><row>
|
| 142 |
<entry><keycap>-</keycap></entry>
|
| 143 |
<entry>Mark package for removal.</entry>
|
| 144 |
</row><row>
|
| 145 |
<entry><keycap>d</keycap></entry>
|
| 146 |
<entry>Show package dependencies.</entry>
|
| 147 |
</row><row>
|
| 148 |
<entry><keycap>g</keycap></entry>
|
| 149 |
<entry>Actually download/install/remove packages.</entry>
|
| 150 |
</row><row>
|
| 151 |
<entry><keycap>q</keycap></entry>
|
| 152 |
<entry>Quit current view.</entry>
|
| 153 |
</row><row>
|
| 154 |
<entry><keycap>F10</keycap></entry>
|
| 155 |
<entry>Activate menu.</entry>
|
| 156 |
</row>
|
| 157 |
</tbody></tgroup></informaltable>
|
| 158 |
|
| 159 |
For more commands see the online help under the <keycap>?</keycap> key.
|
| 160 |
|
| 161 |
</para><para>
|
| 162 |
|
| 163 |
Although <command>aptitude</command> is meant to be familiar to the
|
| 164 |
<command>dselect</command> users, it provides much more features and
|
| 165 |
can be customized to a great degree. (You can define you own
|
| 166 |
keybindings, colors and package views). After installation you can
|
| 167 |
explore <command>aptitude</command> capabilities by reading
|
| 168 |
<filename>/usr/share/doc/aptitude/README</filename>.
|
| 169 |
|
| 170 |
</para>
|
| 171 |
</sect3>
|
| 172 |
</sect2>
|