CINXE.COM

PackageManagement - Debian Wiki

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="shortcut icon" href="/htdocs/favicon.ico"> <script type="text/javascript" src="/htdocs/bugstatus.js"></script> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> <meta name="robots" content="index,nofollow"> <title>PackageManagement - Debian Wiki</title> <script type="text/javascript" src="/htdocs/common/js/common.js"></script> <script type="text/javascript"> <!-- var search_hint = "Search"; //--> </script> <link rel="stylesheet" type="text/css" charset="utf-8" media="all" href="/htdocs/debwiki/css/common.css"> <link rel="stylesheet" type="text/css" charset="utf-8" media="screen" href="/htdocs/debwiki/css/screen.css"> <link rel="stylesheet" type="text/css" charset="utf-8" media="print" href="/htdocs/debwiki/css/print.css"> <link rel="stylesheet" type="text/css" charset="utf-8" media="projection" href="/htdocs/debwiki/css/projection.css"> <link rel="stylesheet" type="text/css" charset="utf-8" media="all" href="/htdocs/debian-wiki-1.0.css"> <!-- css only for MS IE6/IE7 browsers --> <!--[if lt IE 8]> <link rel="stylesheet" type="text/css" charset="utf-8" media="all" href="/htdocs/debwiki/css/msie.css"> <![endif]--> <link rel="alternate" title="Debian Wiki: PackageManagement" href="/PackageManagement?diffs=1&amp;show_att=1&amp;action=rss_rc&amp;unique=0&amp;page=PackageManagement&amp;ddiffs=1" type="application/rss+xml"> <link rel="Start" href="/FrontPage"> <link rel="Alternate" title="Wiki Markup" href="/PackageManagement?action=raw"> <link rel="Alternate" media="print" title="Print View" href="/PackageManagement?action=print"> <link rel="Search" href="/FindPage"> <link rel="Index" href="/TitleIndex"> <link rel="Glossary" href="/WordIndex"> <link rel="Help" href="/HelpOnFormatting"> </head> <body lang="en" dir="ltr"> <div id="logo"><a href="https://www.debian.org" title="Debian Homepage"><img src="https://www.debian.org/Pics/openlogo-50.png" alt="Debian" width="50" height="61"></a></div> <div id="header"> <div id="wikisection"> <p class="section"><a href="/FrontPage" title="Debian Wiki Homepage">Wiki</a></p> <div id="username"><a href="/PackageManagement?action=login" id="login" rel="nofollow">Login</a></div> </div> <div id="navbar"> <ul id="navibar"> <li class="wikilink"><a href="/FrontPage">FrontPage</a></li><li class="wikilink"><a href="/RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="/FindPage">FindPage</a></li><li class="wikilink"><a href="/HelpContents">HelpContents</a></li><li class="current"><a href="/PackageManagement">PackageManagement</a></li> </ul> </div> <form id="searchform" method="get" action="/PackageManagement"> <div> <input type="hidden" name="action" value="fullsearch"> <input type="hidden" name="context" value="180"> <label for="searchinput">Search:</label> <input id="searchinput" type="text" name="value" value="" size="20" onfocus="searchFocus(this)" onblur="searchBlur(this)" onkeyup="searchChange(this)" onchange="searchChange(this)" alt="Search"> <input id="titlesearch" name="titlesearch" type="submit" value="Titles" alt="Search Titles"> <input id="fullsearch" name="fullsearch" type="submit" value="Text" alt="Search Full Text"> </div> </form> <script type="text/javascript"> <!--// Initialize search form var f = document.getElementById('searchform'); f.getElementsByTagName('label')[0].style.display = 'none'; var e = document.getElementById('searchinput'); searchChange(e); searchBlur(e); //--> </script> <div id="logo"><a href="https://www.debian.org" title="Debian Homepage"><img src="https://www.debian.org/Pics/openlogo-50.png" alt="Debian" width="50" height="61"></a></div> <div id="breadcrumbs"><a href="/FrontPage" title="Debian Wiki Homepage">Wiki</a><span class="sep">/</span> </div> <ul class="editbar"><li><a href="/PackageManagement?action=login" id="login-1" rel="nofollow">Login</a></li><li class="toggleCommentsButton" style="display:none;"><a href="#" class="nbcomment" onClick="toggleComments();return false;">Comments</a></li><li><a class="nbinfo" href="/PackageManagement?action=info" rel="nofollow">Info</a></li><li><a class="nbattachments" href="/PackageManagement?action=AttachFile" rel="nofollow">Attachments</a></li><li> <form class="actionsmenu" method="GET" action="/PackageManagement"> <div> <label>More Actions:</label> <select name="action" onchange="if ((this.selectedIndex != 0) && (this.options[this.selectedIndex].disabled == false)) { this.form.submit(); } this.selectedIndex = 0;"> <option value="raw">Raw Text</option> <option value="print">Print View</option> <option value="RenderAsDocbook">Render as Docbook</option> <option value="refresh">Delete Cache</option> <option value="show" disabled class="disabled">------------------------</option> <option value="SpellCheck">Check Spelling</option> <option value="LikePages">Like Pages</option> <option value="LocalSiteMap">Local Site Map</option> <option value="show" disabled class="disabled">------------------------</option> <option value="RenamePage" disabled class="disabled">Rename Page</option> <option value="DeletePage" disabled class="disabled">Delete Page</option> <option value="show" disabled class="disabled">------------------------</option> <option value="show" disabled class="disabled">Subscribe User</option> <option value="show" disabled class="disabled">------------------------</option> <option value="show" disabled class="disabled">Remove Spam</option> <option value="show" disabled class="disabled">Revert to this revision</option> <option value="PackagePages">Package Pages</option> <option value="show" disabled class="disabled">------------------------</option> <option value="Load">Load</option> <option value="Save">Save</option> <option value="SlideShow">SlideShow</option> </select> <input type="submit" value="Do"> </div> <script type="text/javascript"> <!--// Init menu actionsMenuInit('More Actions:'); //--> </script> </form> </li></ul> <h1 id="locationline"> <ul id="pagelocation"> <li><a href="/PackageManagement">PackageManagement</a></li> </ul> </h1> </div> <div id="page" lang="en" dir="ltr"> <div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span> <span class="anchor" id="line-1"></span><span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><p class="line867"><small><a href="/DebianWiki/EditorGuide#translation">Translation(s)</a>: <a href="/ar/PackageManagement">عربية</a> - <a href="/PackageManagement">English</a> - <a href="/es/PackageManagement">Español</a> - <a href="/fa/PackageManagement">فارسی (Persian)</a> - <a href="/fr/PackageManagement">Français</a> - <a href="/it/PackageManagement">Italiano</a> - <a href="/ko/PackageManagement">한국어</a> - <a href="/pt_BR/PackageManagement">Português (Brasil)</a> - <a href="/ru/PackageManagement">Русский</a> - <a href="/sv/PackageManagement">Svenska</a> - <a href="/uk/PackageManagement">Українська</a> - <a href="/zh_CN/PackageManagement">简体中文</a></small> <span class="anchor" id="line-6"></span><span class="anchor" id="line-7"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-8"></span><span class="anchor" id="line-9"></span><p class="line867"><span class="anchor" id="line-10"></span><span class="anchor" id="line-11"></span><span class="anchor" id="line-12"></span><span class="anchor" id="line-13"></span><div class="debian"><span class="anchor" id="line-1-1"></span><p class="line867"><strong><a class="http" href="http://www.debian.org/doc/manuals/debian-reference/ch02.en.html">Debian Reference Manual - Chapter 2. Debian package management</a></strong> <span class="anchor" id="line-2-1"></span><span class="anchor" id="line-3-1"></span><p class="line867"><strong><a class="https" href="https://packages.debian.org/stable/">List of Debian packages</a></strong> </div><span class="anchor" id="line-14"></span><span class="anchor" id="line-15"></span><p class="line867"><div class="table-of-contents"><p class="table-of-contents-heading">Contents<ol><li> <a href="#Installing.2C_removing.2C_upgrading_software">Installing, removing, upgrading software</a></li><li> <a href="#Configuration">Configuration</a></li><li> <a href="#Debian_package_documentation">Debian package documentation</a></li><li> <a href="#Repository_management">Repository management</a></li><li> <a href="#Packaging">Packaging</a></li><li> <a href="#See_also">See also</a></li><li> <a href="#Wiki_pages">Wiki pages</a></li></ol></li></ol></div> <span class="anchor" id="line-16"></span><span class="anchor" id="line-17"></span><p class="line862">Much of why Debian is a strong Linux distribution comes from its <a class="interwiki" href="https://en.wikipedia.org/wiki/Package_manager" title="WikiPedia">package management</a>. Everything in Debian – every application, every component – everything – is built into a package. <span class="anchor" id="line-18"></span><span class="anchor" id="line-19"></span><p class="line862">There are many <a href="/Software">software packages</a> available for Debian – everything from the Linux kernel to games. And their number has been growing with every release. <span class="anchor" id="line-20"></span><span class="anchor" id="line-21"></span><p class="line862">The <a href="/Apt">Apt</a> (<em>Advanced Package Tool</em>) package management system is a set of tools to download, install, remove, upgrade, configure and manage Debian packages, and therefore all software installed on a Debian system. <span class="anchor" id="line-22"></span><span class="anchor" id="line-23"></span><p class="line867"><span class="anchor" id="Install"></span> <span class="anchor" id="line-24"></span> <h2 id="Installing.2C_removing.2C_upgrading_software">Installing, removing, upgrading software</h2> <span class="anchor" id="line-25"></span><span class="anchor" id="line-26"></span><p class="line862">To manage installed software, use a <strong>package manager</strong>: <span class="anchor" id="line-27"></span><span class="anchor" id="line-28"></span><ul><li><p class="line891"><a href="/PackageManagementTools">PackageManagementTools</a> - List of package managers and related tools <span class="anchor" id="line-29"></span></li><li><p class="line891"><a href="/DebianUpgrade">DebianUpgrade</a> - How to upgrade from a Debian release to another <span class="anchor" id="line-30"></span><span class="anchor" id="line-31"></span></li></ul><p class="line867"> <h2 id="Configuration">Configuration</h2> <span class="anchor" id="line-32"></span><span class="anchor" id="line-33"></span><ul><li><p class="line891"><a href="/SourcesList">SourcesList</a> - Edit packages sources (repositories) <span class="anchor" id="line-34"></span></li><li><p class="line891"><a href="/PackageInstallTips">PackageInstallTips</a> - Package management tips <span class="anchor" id="line-35"></span></li><li><p class="line891"><a href="/AptConfiguration">AptConfiguration</a> - Apt configuration and <em>pinning</em> <span class="anchor" id="line-36"></span></li><li><p class="line891"><a href="/UnattendedUpgrades">UnattendedUpgrades</a> - Automatically install latest security (and other) upgrades <span class="anchor" id="line-37"></span></li><li><p class="line891"><a href="/PackageManagement/Preseed">PackageManagement/Preseed</a> - Preconfigure Debian packages before installation <span class="anchor" id="line-38"></span></li><li><p class="line891"><a href="/PackageManagement/Searching">PackageManagement/Searching</a> - Searching for packages <span class="anchor" id="line-39"></span></li><li><p class="line891"><a href="/Backports">Backports</a> - Newer versions of packages compatible with <a href="/DebianStable">DebianStable</a> <span class="anchor" id="line-40"></span></li><li><p class="line891"><a href="/DebianPackageManagement">DebianPackageManagement</a> - Advanced topics on Debian package management <span class="anchor" id="line-41"></span></li><li><p class="line891"><a href="/SecureApt">SecureApt</a> - Authenticate packages against cryptographic signatures <span class="anchor" id="line-42"></span><span class="anchor" id="line-43"></span></li></ul><p class="line867"> <h2 id="Debian_package_documentation">Debian package documentation</h2> <span class="anchor" id="line-44"></span><span class="anchor" id="line-45"></span><ul><li><p class="line862">Every Debian package installs its documentation under <tt>/usr/share/doc/&lt;package_name&gt;</tt>. Check this directory for more information on a specific package. <span class="anchor" id="line-46"></span></li><li><p class="line862">All programs provided by Debian packages come with their own <a href="/ManPage">ManPage</a>. <span class="anchor" id="line-47"></span><span class="anchor" id="line-48"></span></li></ul><p class="line867"> <h2 id="Repository_management">Repository management</h2> <span class="anchor" id="line-49"></span><span class="anchor" id="line-50"></span><ul><li><p class="line891"><a href="/DebianRepository/Setup">DebianRepository/Setup</a> - summarizes the process of setting up a Debian package repository <span class="anchor" id="line-51"></span></li><li><p class="line891"><a href="/DebianRepository">DebianRepository</a> - Debian package repository <span class="anchor" id="line-52"></span></li><li><p class="line891"><a href="/DebianRepository/Format">DebianRepository/Format</a> - Debian package repository format <span class="anchor" id="line-53"></span></li><li><p class="line891"><a href="/DebianRepository/UseThirdParty">DebianRepository/UseThirdParty</a> - Instructions to connect to a third-party repository <span class="anchor" id="line-54"></span><span class="anchor" id="line-55"></span><span class="anchor" id="line-56"></span></li></ul><p class="line867"> <h2 id="Packaging">Packaging</h2> <span class="anchor" id="line-57"></span><span class="anchor" id="line-58"></span><ul><li><p class="line891"><a href="/Packaging">Packaging</a> - Information relevant to developers wishing to package software for Debian. <span class="anchor" id="line-59"></span><span class="anchor" id="line-60"></span></li></ul><p class="line867"> <h2 id="See_also">See also</h2> <span class="anchor" id="line-61"></span><span class="anchor" id="line-62"></span><ul><li><p class="line891"><a class="https" href="https://www.debian.org/Bugs/">https://www.debian.org/Bugs/</a> - information on finding, reporting and fixing bugs in Debian packages <span class="anchor" id="line-63"></span></li><li><p class="line891"><a href="/AptProtocol">AptProtocol</a> - Installing packages by clicking on links with <tt class="backtick">apt://</tt> URLs <span class="anchor" id="line-64"></span></li><li><p class="line891"><a href="/Permissions/ResetPackagePermissions">Restore an installed package permissions to their default</a> <span class="anchor" id="line-65"></span><span class="anchor" id="line-66"></span></li></ul><p class="line867"> <h2 id="Wiki_pages">Wiki pages</h2> <span class="anchor" id="line-67"></span><span class="anchor" id="line-68"></span><p class="line874">All wiki pages related to package management: <span class="anchor" id="line-69"></span><span class="anchor" id="line-70"></span><p class="line867"><div class="searchresults"> <ol start="1"><li><a href="/Alien?highlight=%28%5CbCategoryPackageManagement%5Cb%29">Alien</a></li><li><a href="/Apt?highlight=%28%5CbCategoryPackageManagement%5Cb%29">Apt</a></li><li><a href="/AptCLI?highlight=%28%5CbCategoryPackageManagement%5Cb%29">AptCLI</a></li><li><a href="/AptCacherNg?highlight=%28%5CbCategoryPackageManagement%5Cb%29">AptCacherNg</a></li><li><a href="/AptConfiguration?highlight=%28%5CbCategoryPackageManagement%5Cb%29">AptConfiguration</a></li><li><a href="/AptMove?highlight=%28%5CbCategoryPackageManagement%5Cb%29">AptMove</a></li><li><a href="/AptProtocol?highlight=%28%5CbCategoryPackageManagement%5Cb%29">AptProtocol</a></li><li><a href="/Aptitude?highlight=%28%5CbCategoryPackageManagement%5Cb%29">Aptitude</a></li><li><a href="/Backports?highlight=%28%5CbCategoryPackageManagement%5Cb%29">Backports</a></li><li><a href="/CheckInstall?highlight=%28%5CbCategoryPackageManagement%5Cb%29">CheckInstall</a></li><li><a href="/DDPO?highlight=%28%5CbCategoryPackageManagement%5Cb%29">DDPO</a></li><li><a href="/DebianPackageManagement?highlight=%28%5CbCategoryPackageManagement%5Cb%29">DebianPackageManagement</a></li><li><a href="/DebianRepository?highlight=%28%5CbCategoryPackageManagement%5Cb%29">DebianRepository</a></li><li><a href="/DebianRepository/Setup?highlight=%28%5CbCategoryPackageManagement%5Cb%29">DebianRepository/Setup</a></li><li><a href="/DebianRepository/UseThirdParty?highlight=%28%5CbCategoryPackageManagement%5Cb%29">DebianRepository/UseThirdParty</a></li><li><a href="/DebianUpgrade?highlight=%28%5CbCategoryPackageManagement%5Cb%29">DebianUpgrade</a></li><li><a href="/DontBreakDebian?highlight=%28%5CbCategoryPackageManagement%5Cb%29">DontBreakDebian</a></li><li><a href="/DpkgConffileHandling?highlight=%28%5CbCategoryPackageManagement%5Cb%29">DpkgConffileHandling</a></li><li><a href="/FastTrack?highlight=%28%5CbCategoryPackageManagement%5Cb%29">FastTrack</a></li><li><a href="/Flatpak?highlight=%28%5CbCategoryPackageManagement%5Cb%29">Flatpak</a></li><li><a href="/Java/JavaGit?highlight=%28%5CbCategoryPackageManagement%5Cb%29">Java/JavaGit</a></li><li><a href="/ListInstalledPackages?highlight=%28%5CbCategoryPackageManagement%5Cb%29">ListInstalledPackages</a></li><li><a href="/Multiarch/HOWTO?highlight=%28%5CbCategoryPackageManagement%5Cb%29">Multiarch/HOWTO</a></li><li><a href="/PackageInstallTips?highlight=%28%5CbCategoryPackageManagement%5Cb%29">PackageInstallTips</a></li><li><a href="/PackageKit?highlight=%28%5CbCategoryPackageManagement%5Cb%29">PackageKit</a></li><li><a href="/PackageKit/Discussion?highlight=%28%5CbCategoryPackageManagement%5Cb%29">PackageKit/Discussion</a></li><li><a href="/PackageKit/ItemNotFound?highlight=%28%5CbCategoryPackageManagement%5Cb%29">PackageKit/ItemNotFound</a></li><li><a href="/PackageManagement?highlight=%28%5CbCategoryPackageManagement%5Cb%29">PackageManagement</a></li><li><a href="/PackageManagement/Preseed?highlight=%28%5CbCategoryPackageManagement%5Cb%29">PackageManagement/Preseed</a></li><li><a href="/PackageManagement/Searching?highlight=%28%5CbCategoryPackageManagement%5Cb%29">PackageManagement/Searching</a></li><li><a href="/PackageManagementTools?highlight=%28%5CbCategoryPackageManagement%5Cb%29">PackageManagementTools</a></li><li><a href="/Packaging/BinaryPackage?highlight=%28%5CbCategoryPackageManagement%5Cb%29">Packaging/BinaryPackage</a></li><li><a href="/Packaging/SourcePackage?highlight=%28%5CbCategoryPackageManagement%5Cb%29">Packaging/SourcePackage</a></li><li><a href="/RPM?highlight=%28%5CbCategoryPackageManagement%5Cb%29">RPM</a></li><li><a href="/RollbackUpdate?highlight=%28%5CbCategoryPackageManagement%5Cb%29">RollbackUpdate</a></li><li><a href="/Software?highlight=%28%5CbCategoryPackageManagement%5Cb%29">Software</a></li><li><a href="/SourcesList?highlight=%28%5CbCategoryPackageManagement%5Cb%29">SourcesList</a></li><li><a href="/Synaptic?highlight=%28%5CbCategoryPackageManagement%5Cb%29">Synaptic</a></li><li><a href="/SystemDowngrade?highlight=%28%5CbCategoryPackageManagement%5Cb%29">SystemDowngrade</a></li><li><a href="/Teams/Apt?highlight=%28%5CbCategoryPackageManagement%5Cb%29">Teams/Apt</a></li><li><a href="/UnattendedUpgrades?highlight=%28%5CbCategoryPackageManagement%5Cb%29">UnattendedUpgrades</a></li><li><a href="/deb?highlight=%28%5CbCategoryPackageManagement%5Cb%29">deb</a></li><li><a href="/dpkg?highlight=%28%5CbCategoryPackageManagement%5Cb%29">dpkg</a></li><li><a href="/dselect?highlight=%28%5CbCategoryPackageManagement%5Cb%29">dselect</a></li><li><a href="/es/SourcesList?highlight=%28%5CbCategoryPackageManagement%5Cb%29">es/SourcesList</a></li><li><a href="/ftp.debian.org?highlight=%28%5CbCategoryPackageManagement%5Cb%29">ftp.debian.org</a></li><li><a href="/ms/QuickPackageManagement?highlight=%28%5CbCategoryPackageManagement%5Cb%29">ms/QuickPackageManagement</a></li><li><a href="/pt_BR/Configura%C3%A7%C3%A3oRepositorios?highlight=%28%5CbCategoryPackageManagement%5Cb%29">pt_BR/ConfiguraçãoRepositorios</a></li><li><a href="/ta/QuickPackageManagement?highlight=%28%5CbCategoryPackageManagement%5Cb%29">ta/QuickPackageManagement</a></li><li><a href="/zh_CN/Apt?highlight=%28%5CbCategoryPackageManagement%5Cb%29">zh_CN/Apt</a></li><li><a href="/zh_CN/Aptitude?highlight=%28%5CbCategoryPackageManagement%5Cb%29">zh_CN/Aptitude</a></li><li><a href="/zh_CN/Backports?highlight=%28%5CbCategoryPackageManagement%5Cb%29">zh_CN/Backports</a></li><li><a href="/zh_CN/DebianRepository?highlight=%28%5CbCategoryPackageManagement%5Cb%29">zh_CN/DebianRepository</a></li><li><a href="/zh_CN/DebianRepository/Setup?highlight=%28%5CbCategoryPackageManagement%5Cb%29">zh_CN/DebianRepository/Setup</a></li><li><a href="/zh_CN/PackageManagement?highlight=%28%5CbCategoryPackageManagement%5Cb%29">zh_CN/PackageManagement</a></li><li><a href="/zh_CN/Software?highlight=%28%5CbCategoryPackageManagement%5Cb%29">zh_CN/Software</a></li></ol> </div> <span class="anchor" id="line-71"></span><span class="anchor" id="line-72"></span><span class="anchor" id="line-73"></span><p class="line867"><hr class="hr6" /><p class="line874"> <span class="anchor" id="line-74"></span><span class="anchor" id="line-75"></span><p class="line867"><a href="/CategoryPortal">CategoryPortal</a> | <a href="/CategorySystemAdministration">CategorySystemAdministration</a> | <a href="/CategoryPackageManagement">CategoryPackageManagement</a> | <a href="/CategorySoftware">CategorySoftware</a> <span class="anchor" id="line-76"></span><span class="anchor" id="bottom"></span></div><div id="pagebottom"></div> </div> <div id="footer"> <p id="pageinfo" class="info" lang="en" dir="ltr">PackageManagement (<a class="nbinfo" href="/PackageManagement?action=info" rel="nofollow">last modified 2022-01-13 14:29:23</a>)</p> <ul id="credits"> <li>Debian <a href="https://www.debian.org/legal/privacy">privacy policy</a>, Wiki <a href="/Teams/DebianWiki">team</a>, <a href="https://bugs.debian.org/wiki.debian.org">bugs</a> and <a href="https://salsa.debian.org/debian/wiki.debian.org">config</a>.</li><li>Powered by <a href="https://moinmo.in/" title="This site uses the MoinMoin Wiki software.">MoinMoin</a> and <a href="https://moinmo.in/Python" title="MoinMoin is written in Python.">Python</a>, with hosting provided by <a href="https://www.man-da.de/">Metropolitan Area Network Darmstadt</a>.</li> </ul> </div> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10