Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-release > by-pkgid > 275bc5f884d593fea8c87799d871d7f1 > files > 426

mandriva-doc-Mastering-Manual-en-2008.1-0.4mdv2008.1.noarch.rpm

<html>
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   
      <title>1.&nbsp;Adding and Removing Software</title>
      <link rel="stylesheet" href="images/mdk-doc.css" type="text/css">
      <meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
      <link rel="start" href="index.html" title="Mastering Mandriva Linux">
      <link rel="up" href="software-management.html" title="Chapter&nbsp;7.&nbsp;Package Management">
      <link rel="prev" href="software-management.html" title="Chapter&nbsp;7.&nbsp;Package Management">
      <link rel="next" href="software-management-update.html" title="2.&nbsp;Updating Packages">
   </head>
   <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
      <div class="navheader">
         <table width="100%" summary="Navigation header">
            <tr>
               <th colspan="3" align="center">1.&nbsp;Adding and
                        Removing Software
               </th>
            </tr>
            <tr>
               <td width="20%" align="left"><a accesskey="p" href="software-management.html">Prev</a>&nbsp;
               </td>
               <th width="60%" align="center">Chapter&nbsp;7.&nbsp;Package
                      Management
               </th>
               <td width="20%" align="right">&nbsp;<a accesskey="n" href="software-management-update.html">Next</a></td>
            </tr>
         </table>
         <hr>
      </div>
      <div class="section" lang="en">
         <div class="titlepage">
            <div>
               <div>
                  <h2 class="title" style="clear: both"><a name="packages-management"></a>1.&nbsp;Adding and
                           Removing Software
                  </h2>
               </div>
            </div>
         </div>
             
         
             
         <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
            <table border="0" summary="Note: Adding Extra Media at&#xA;        First Launch">
               <tr>
                  <td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.png"></td>
                  <th align="left">Adding Extra Media at
                             First Launch
                  </th>
               </tr>
               <tr>
                  <td align="left" valign="top">
                           
                     
                           
                     <p><a name="BIdNEW-software-management-pa139"></a>When you
                        launch this tool for the first time, after a greeting, you are prompted
                              to add new official installation media. That will give you access, over
                              the Internet, to many more packages than those that could fit in your
                              <acronym class="acronym">CD</acronym> or <acronym class="acronym">DVD</acronym>. Add them if you have a
                              fast Internet link.
                     </p>
                         
                  </td>
               </tr>
            </table>
         </div>
         
             
         <div class="section" lang="en">
            <div class="titlepage">
               <div>
                  <div>
                     <h3 class="title"><a name="d5e4756"></a>1.1.&nbsp;Meet Rpmdrake
                     </h3>
                  </div>
               </div>
            </div>
                  
            
                  
            <p><a name="BId-software-management-pa39"></a>When launching
                     <span class="application">Rpmdrake</span> you have to wait a few seconds while
                     the package databases are scanned. Then you are presented with
                     <span class="application">Rpmdrake</span>'s main interface.
            </p>
            
                  
            <div class="figure"><a name="rpmdrake-interface"></a><p class="title"><b>Figure&nbsp;7.2.&nbsp;Rpmdrake
                               Interface</b></p>
               <div class="figure-contents">
                          
                  
                          
                  <div class="mediaobject" align="center"><img src="images/rpmdrake-interface.png" align="middle" alt="Rpmdrake Interface"></div>
                        
               </div>
            </div><br class="figure-break">
            
                  
            <p>
                       <b>Package Set.&nbsp;</b>
               
                       Use the
                       first pulldown list to select the types of package to be displayed:
                       applications having a graphical user interface (<span class="guilabel">Packages
                          with GUI</span>, the default); <span class="guilabel">Meta packages</span>
                       (which are packages containing other packages, and whose names start
                       with <code class="literal">task</code>: for example
                       <code class="literal">task-c-devel</code>, for all needed packages for C
                       development); a few options for updated packages (<span class="guilabel">All
                          updates</span>, <span class="guilabel">Security updates</span>,
                       <span class="guilabel">Bugfixes updates</span>, <span class="guilabel">General
                          updates</span>); and <span class="guilabel">Backports</span> containing
                       software adapted from other releases of <span class="application">Mandriva
                          Linux</span>. Use the second pulldown list to filter which
                       packages to display: <span class="guilabel">All</span> of them (installed or
                       not); only <span class="guilabel">Installed</span> ones (to be uninstalled); or
                       only <span class="guilabel">Uninstalled</span> ones (to be installed). Each
                       time a package set is selected, the Categories Tree is rebuilt to
                       display matching packages.
                     
            </p>
            
                  
            <p>
                       <b>Package
                            Search.&nbsp;</b>
               
                       Use this
                       facility to search for a package name, description, or content (the
                       files it provides). Type the string to be searched for, select the
                       criterion using the binocular, and press
                       <span class="keycap"><strong>Enter</strong></span>.
                     
            </p>
            
                  
            <p>
                       <b>Categories
                            Tree.&nbsp;</b>
               
                       To ease management,
                       packages are classified into categories (Networking, Office, Games,
                       Development, Graphics, etc.). Open a category to display packages
                       which match the current criteria set using Package Set and Package
                       Search.
                     
            </p>
            
                  
            <p>
                       <b>Package List.&nbsp;</b>
               
                       Where
                       currently matching packages (Set, Category and Search Criteria) are
                       displayed. This is where you select packages to take action on
                       them.
                     
            </p>
            
                  
            <p>
                       <b>Package
                            Details.&nbsp;</b>
               
                       Displays details about
                       the currently selected package in the Package List.
                     
            </p>
            
                  
            <div class="procedure"><a name="d5e4811"></a><p class="title"><b>Procedure&nbsp;7.1.&nbsp;Performing Actions on
                               Packages</b></p>
               <ol type="1">
                  <li>
                               
                     
                               
                     <p><a name="BIdNEW-software-management-pa132"></a>Use the
                                  Package Set pulldown lists, the Categories Tree and, optionally, the
                                  Package Search facility to browse for packages to be installed or
                                  removed.
                     </p>
                             
                  </li>
                  <li>
                               
                     <p><a name="BIdNEW-software-management-pa133"></a>In the
                                  Package List, select packages by checking their corresponding box.
                                  If the checkbox by the package name is empty, it means that the
                                  package can be installed, once selected it will be marked with the
                                  <span class="inlinemediaobject"><img src="images/state_to_install.png"></span>icon. If the package is marked with the
                                  <span class="inlinemediaobject"><img src="images/state_installed.png"></span> icon, it means the package is already
                                  installed, uncheck its box to select it for removal and it will be
                                  marked with the <span class="inlinemediaobject"><img src="images/state_to_remove.png"></span>icon.
                     </p>
                     
                               
                     <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
                        <table border="0" summary="Note">
                           <tr>
                              <td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.png"></td>
                              <th align="left">Note</th>
                           </tr>
                           <tr>
                              <td align="left" valign="top">
                                             
                                 <p>You may notice that some packages are marked
                                                with a &#8220;<span class="quote">do not enter</span>&#8221; <span class="inlinemediaobject"><img src="images/state_base.png"></span> icon. These are &#8220;<span class="quote">base</span>&#8221;
                                                packages which cannot be removed because one would end up with a
                                                broken system, their checkboxes cannot be unselected.
                                 </p>
                                           
                              </td>
                           </tr>
                        </table>
                     </div>
                             
                  </li>
                  <li>
                               
                     <p><a name="BId-software-management-pa46"></a>Once you
                                  are satisfied with your choices, click on
                                  <span class="guibutton">Apply</span> to perform the actual installation or
                                  removal of packages. You are shown how many bytes will be
                                  transferred and how much disk space will be needed (or regained) and
                                  asked for confirmation, then a new window appears, where you can see
                                  the progress of the actions being taken. If you prefer to leave
                                  without doing anything, you can click on
                                  <span class="guibutton">Quit</span>.
                     </p>
                             
                  </li>
               </ol>
            </div>
                
         </div>
         
             
         <div class="section" lang="en">
            <div class="titlepage">
               <div>
                  <div>
                     <h3 class="title"><a name="d5e4839"></a>1.2.&nbsp;Handling
                                Dependencies
                     </h3>
                  </div>
               </div>
            </div>
                  
            
                  
            <p><a name="BId-software-management-pa47"></a>It may happen
                     that you select a package which requires dependencies (additional
                     libraries or another tool) or which is a dependency of other packages.
                     In this case <span class="application">Rpmdrake</span> displays an information
                     window allowing you to choose whether to accept the selected
                     dependencies, to <span class="guibutton">Cancel</span> the operation, or to get
                     <span class="guibutton">More info</span> on the operation (see <a class="xref" href="packages-management.html#sw-install-dependencies" title="Figure&nbsp;7.3.&nbsp;Dependency Alert Box">Figure&nbsp;7.3, &#8220;Dependency
                            Alert Box&#8221;</a>). It also shows how much disk space
                     will be used.
            </p>
            
                  
            
                  
            <div class="figure"><a name="sw-install-dependencies"></a><p class="title"><b>Figure&nbsp;7.3.&nbsp;Dependency
                               Alert Box</b></p>
               <div class="figure-contents">
                          
                  
                          
                  <div class="mediaobject" align="center"><img src="images/sw-install-dependencies.png" align="middle" alt="Dependency Alert Box"></div>
                        
               </div>
            </div><br class="figure-break">
            
                  
            <p>
                       <b>Alternative
                            Dependencies.&nbsp;</b>
               
                       You may also
                       want to install a package which requires dependencies, and various
                       packages which are capable of providing that dependency. The list of
                       alternatives is then presented (see <a class="xref" href="packages-management.html#sw-install-alternatives" title="Figure&nbsp;7.4.&nbsp;Alternative Packages">Figure&nbsp;7.4, &#8220;Alternative
                            Packages&#8221;</a>). You may read the additional
                       information presented by clicking the <span class="guibutton">Info...</span>
                       button to help you choose the best alternative.
                     
            </p>
            
                  
            
                  
            <div class="figure"><a name="sw-install-alternatives"></a><p class="title"><b>Figure&nbsp;7.4.&nbsp;Alternative
                               Packages</b></p>
               <div class="figure-contents">
                          
                  
                          
                  <div class="mediaobject" align="center"><img src="images/sw-install-alternatives.png" align="middle" alt="Alternative Packages"></div>
                        
               </div>
            </div><br class="figure-break">
                
         </div>
           
      </div>
      <div class="navfooter">
         <hr>
         <table width="100%" summary="Navigation footer">
            <tr>
               <td width="40%" align="left"><a accesskey="p" href="software-management.html">Prev</a>&nbsp;
               </td>
               <td width="20%" align="center"><a accesskey="u" href="software-management.html">Up</a></td>
               <td width="40%" align="right">&nbsp;<a accesskey="n" href="software-management-update.html">Next</a></td>
            </tr>
            <tr>
               <td width="40%" align="left" valign="top">Chapter&nbsp;7.&nbsp;Package
                      Management&nbsp;
               </td>
               <td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td>
               <td width="40%" align="right" valign="top">&nbsp;2.&nbsp;Updating
                        Packages
               </td>
            </tr>
         </table>
      </div>
   </body>
</html>