Home Files
Adminer
Execute Command
PHP Eval
Symlink
File Upload
Owner :
www-data
PHP Version
5.6.40-0+deb8u12
Disk Space
40.92 GB
Server Addr
19-www4
Your IP
10.10.10.40
Edit File
File:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Managing automatically installed packages</title><link rel="stylesheet" type="text/css" href="aptitude.css"><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="aptitude user's manual"><link rel="up" href="ch02s02.html" title="Managing packages"><link rel="prev" href="ch02s02s05.html" title="Understanding and managing package trust"><link rel="next" href="ch02s03.html" title="Resolving package dependencies"><link rel="preface" href="pr01.html" title="Introduction"><link rel="chapter" href="ch01.html" title="Chapter 1. Getting started"><link rel="chapter" href="ch02.html" title="Chapter 2. aptitude reference guide"><link rel="chapter" href="ch03.html" title="Chapter 3. aptitude frequently asked questions"><link rel="chapter" href="ch04.html" title="Chapter 4. Credits"><link rel="reference" href="rn01.html" title="Command-line reference"><link rel="refentry" href="rn01re01.html" title="aptitude"><link rel="refentry" href="rn01re02.html" title="aptitude-create-state-bundle"><link rel="refentry" href="rn01re03.html" title="aptitude-run-state-bundle"></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">Managing automatically installed packages</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02s02s05.html"><img src="images/prev.gif" alt="Prev"></a> </td><th width="60%" align="center">Managing packages</th><td width="20%" align="right"> <a accesskey="n" href="ch02s03.html"><img src="images/next.gif" alt="Next"></a></td></tr></table><hr></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="secAutoInstall"></a>Managing automatically installed packages</h3></div></div></div><p> To install one package, it is often necessary to install several others (to fulfill its dependencies). For instance, if you wish to install the <code class="systemitem">clanbomber</code> package, you must also install the package <code class="systemitem">libclanlib2</code>. If you remove <code class="systemitem">clanbomber</code> again, you probably no longer need the <code class="systemitem">libclanlib2</code> package; <span class="command"><strong>aptitude</strong></span> will attempt to detect this and automatically remove the <code class="systemitem">libclanlib2</code> package. </p><p> It works like this: when you install a package, <span class="command"><strong>aptitude</strong></span> will automatically install any other packages on which it depends. These packages are marked as having been <span class="quote">“<span class="quote">automatically installed</span>”</span>; <span class="command"><strong>aptitude</strong></span> will monitor them and remove them when they are no longer depended upon by any manually installed package <a href="#ftn.idp57393408" class="footnote" name="idp57393408"><sup class="footnote">[10]</sup></a> . They will appear in the preview as <span class="quote">“<span class="quote">packages being removed because they are no longer used.</span>”</span> </p><p> As with any automatic process, there is a potential for things to go haywire. For instance, even if a package was automatically installed to start with, it might turn out to be useful in its own right. You can cancel the <span class="quote">“<span class="quote">automatic</span>”</span> flag at any time by pressing <span class="keycap"><strong>m</strong></span>; if the package is already being removed, you can use <span class="guimenu">Package</span> → <span class="guimenuitem">Install</span> (<span class="shortcut"><strong><span class="keycap"><strong>+</strong></span></strong></span>) to cancel the removal and clear the <span class="quote">“<span class="quote">automatic</span>”</span> flag. </p><div class="footnotes"><br><hr style="width:100; text-align:left;margin-left: 0"><div id="ftn.idp57393408" class="footnote"><p><a href="#idp57393408" class="para"><sup class="para">[10] </sup></a> More precisely: they will be removed when there is no path via Depends, PreDepends, or Recommends to them from a manually installed package. If <a class="link" href="ch02s05s05.html#configApt-AutoRemove-SuggestsImportant">Apt::AutoRemove::SuggestsImportant</a> is true, a Suggests relationship is also enough to keep a package installed. </p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s02s05.html"><img src="images/prev.gif" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="ch02s02.html"><img src="images/up.gif" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="ch02s03.html"><img src="images/next.gif" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">Understanding and managing package trust </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.gif" alt="Home"></a></td><td width="40%" align="right" valign="top"> Resolving package dependencies</td></tr></table></div></body></html>