Home Files
Adminer
Execute Command
PHP Eval
Symlink
File Upload
Owner :
www-data
PHP Version
5.6.40-0+deb8u12
Disk Space
40.93 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>Downloading, installing, and removing 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="ch02s02s03.html" title="Modifying package states"><link rel="next" href="ch02s02s05.html" title="Understanding and managing package trust"><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">Downloading, installing, and removing packages</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02s02s03.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="ch02s02s05.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="secInstallRun"></a>Downloading, installing, and removing packages</h3></div></div></div><p> Changing package states as described in the previous section does not actually affect what is installed on your system. Thus, you can adjust the state of packages without affecting your system until you are happy with what you see; once you are, you can <span class="quote">“<span class="quote">commit</span>”</span> the changes by actually installing and removing packages.<a href="#ftn.idp57331984" class="footnote" name="idp57331984"><sup class="footnote">[8]</sup></a> </p><p> To commit your changes, use the <span class="guimenu">Actions</span> → <span class="guimenuitem">Install/remove packages</span> (<span class="shortcut"><strong><span class="keycap"><strong>g</strong></span></strong></span>) command. Selecting this command will display a preview screen describing the changes that will be performed. This screen is just a package list, and you can manipulate the packages (for instance, cancelling unwanted removals) in the same way that you could in the main list. </p><p> When you are done, use <span class="guimenu">Views</span> → <span class="guimenuitem">Close</span> (<span class="shortcut"><strong><span class="keycap"><strong>q</strong></span></strong></span>) to cancel the installation, or use <span class="guimenu">Actions</span> → <span class="guimenuitem">Install/remove packages</span> (<span class="shortcut"><strong><span class="keycap"><strong>g</strong></span></strong></span>) to proceed. <span class="command"><strong>aptitude</strong></span> will download any files that need to be downloaded, then prompt you to continue with the installation. When you select <span class="quote">“<span class="quote">Continue</span>”</span>, the installations and removals will commence. </p><p> Packages that are downloaded by <span class="command"><strong>aptitude</strong></span> are placed in a cache directory (typically <code class="filename">/var/cache/apt/archives</code>). Normally, they are just left in this directory ad infinitum. To delete all the files in this directory, use <span class="guimenu">Actions</span> → <span class="guimenuitem">Clean package cache</span>; to delete only files which cannot be downloaded again (ie, obsolete packages), use <span class="guimenu">Actions</span> → <span class="guimenuitem">Clean obsolete files</span>. </p><div class="footnotes"><br><hr style="width:100; text-align:left;margin-left: 0"><div id="ftn.idp57331984" class="footnote"><p><a href="#idp57331984" class="para"><sup class="para">[8] </sup></a>This is sometimes referred to as an <span class="quote">“<span class="quote">install run</span>”</span>, even though you might be upgrading or removing packages in addition to installing them.</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s02s03.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="ch02s02s05.html"><img src="images/next.gif" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">Modifying package states </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"> Understanding and managing package trust</td></tr></table></div></body></html>