特殊:Badtitle/NS100:SynapticHowto:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第4行: | 第4行: | ||
== What is Synaptic ? == | == What is Synaptic ? == | ||
'''Synaptic''' is a graphical front-end to [http://www.debian.org/doc/user-manuals#apt-howto apt], the package management system in Ubuntu. It combines the point-and-click simplicity of the graphical user interface with the power of the ''apt-get'' command line tool. You can install, remove, configure, or upgrade software packages, browse, sort and search the list of available software packages, manage repositories, or upgrade the whole system. You can queue up a number of actions before you execute them. Synaptic will inform you about dependencies (additional packages required by the software package you have chosen) as well as conflicts with other packages that are already installed on your system. | '''Synaptic''' is a graphical front-end to [http://www.debian.org/doc/user-manuals#apt-howto apt], the package management system in Ubuntu. It combines the point-and-click simplicity of the graphical user interface with the power of the ''apt-get'' command line tool. You can install, remove, configure, or upgrade software packages, browse, sort and search the list of available software packages, manage repositories, or upgrade the whole system. You can queue up a number of actions before you execute them. Synaptic will inform you about dependencies (additional packages required by the software package you have chosen) as well as conflicts with other packages that are already installed on your system. | ||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png Synaptic's sibling on the Kubuntu desktop is Adept. If you prefer to use the command line instead of a graphical user interface, apt-get and aptitude are available. For information on these alternatives see [[UbuntuHelp:InstallingSoftware|InstallingSoftware]]. | {{https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png%7D%7D Synaptic's sibling on the Kubuntu desktop is Adept. If you prefer to use the command line instead of a graphical user interface, apt-get and aptitude are available. For information on these alternatives see [[UbuntuHelp:InstallingSoftware|InstallingSoftware]]. | ||
== Getting Started == | == Getting Started == | ||
To launch Synaptic, choose '''System''' > '''Administration''' > '''Synaptic Package Manager'''. | To launch Synaptic, choose '''System''' > '''Administration''' > '''Synaptic Package Manager'''. | ||
https://help.ubuntu.com/community/SynapticHowto?action=AttachFile&do=get&target=Synaptic-Package-Manager.png | {{https://help.ubuntu.com/community/SynapticHowto?action=AttachFile&do=get&target=Synaptic-Package-Manager.png%7D%7D | ||
And if you would like to see more details about a package, '''Right Click on a package > Properties''' | And if you would like to see more details about a package, '''Right Click on a package > Properties''' | ||
https://help.ubuntu.com/community/SynapticHowto?action=AttachFile&do=get&target=Screenshot-apt-Properties.png | {{https://help.ubuntu.com/community/SynapticHowto?action=AttachFile&do=get&target=Screenshot-apt-Properties.png%7D%7D | ||
The main window is divided into three sections: a package browser on the left, the package list on the upper right, and package details on the lower right. The status bar shows you the system state at a glance. | The main window is divided into three sections: a package browser on the left, the package list on the upper right, and package details on the lower right. The status bar shows you the system state at a glance. | ||
== Browsing the package database == | == Browsing the package database == | ||
To browse the (very large) list of available packages by category, section, package status, custom filters, or recent searches. Click on the corresponding button at the bottom of the left window pane. You can also create your own filters. See the [[filters Filters]] section for details. | To browse the (very large) list of available packages by category, section, package status, custom filters, or recent searches. Click on the corresponding button at the bottom of the left window pane. You can also create your own filters. See the [[UbuntuHelp:[filters|Filters]]] section for details. | ||
To search for packages by name or description, click on the '''Search''' button in the toolbar: | To search for packages by name or description, click on the '''Search''' button in the toolbar: | ||
https://help.ubuntu.com/community/SynapticHowto?action=AttachFile&do=get&target=synaptic-find.png | {{https://help.ubuntu.com/community/SynapticHowto?action=AttachFile&do=get&target=synaptic-find.png%7D%7D | ||
You can examine a number of package details in the lower right window pane such as its size, its dependencies, recommended or suggested additional packages, and a short description. | You can examine a number of package details in the lower right window pane such as its size, its dependencies, recommended or suggested additional packages, and a short description. | ||
<<Anchor(filters)>> | |||
== How to apply filters == | == How to apply filters == | ||
* To be added | * To be added | ||
第23行: | 第23行: | ||
* Click '''Reload''' or press '''Ctrl + R''' to make Synaptic aware of the latest updates. | * Click '''Reload''' or press '''Ctrl + R''' to make Synaptic aware of the latest updates. | ||
* Right-click on the package and choose '''Mark for Installation''' from the context menu, or press '''Ctrl + I'''. If the package requires the installation of another package, a dialog box appears: | * Right-click on the package and choose '''Mark for Installation''' from the context menu, or press '''Ctrl + I'''. If the package requires the installation of another package, a dialog box appears: | ||
https://help.ubuntu.com/community/SynapticHowto?action=AttachFile&do=get&target=synaptic-confirm-mk.png | {{https://help.ubuntu.com/community/SynapticHowto?action=AttachFile&do=get&target=synaptic-confirm-mk.png%7D%7D | ||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png Synaptic will warn you if your choices conflict with packages that are already installed on your system. If this is the case, the dialog box will show you any packages that need to be removed. If you are '''not sure''' you don't need the package(s) that will be removed, make sure you look up its function and use before you apply the changes you've made. | {{https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png%7D%7D Synaptic will warn you if your choices conflict with packages that are already installed on your system. If this is the case, the dialog box will show you any packages that need to be removed. If you are '''not sure''' you don't need the package(s) that will be removed, make sure you look up its function and use before you apply the changes you've made. | ||
* Click '''Mark''' to allow the installation of the additional package(s). | * Click '''Mark''' to allow the installation of the additional package(s). | ||
* Once you're satisfied with your choices, click on '''Apply''' in the toolbar or press '''Ctrl + P'''. | * Once you're satisfied with your choices, click on '''Apply''' in the toolbar or press '''Ctrl + P'''. | ||
* A dialog box appears with a summary of changes that will be made. | * A dialog box appears with a summary of changes that will be made. | ||
https://help.ubuntu.com/community/SynapticHowto?action=AttachFile&do=get&target=synaptic-confirm-install.png | {{https://help.ubuntu.com/community/SynapticHowto?action=AttachFile&do=get&target=synaptic-confirm-install.png%7D%7D | ||
* Confirm the changes by clicking on '''Apply'''. | * Confirm the changes by clicking on '''Apply'''. | ||
* '''To remove or 'completely remove' a package''' | * '''To remove or 'completely remove' a package''' | ||
第34行: | 第34行: | ||
* Once you're satisfied with your choices, click on '''Apply''' in the toolbar or press '''Ctrl + P'''. | * Once you're satisfied with your choices, click on '''Apply''' in the toolbar or press '''Ctrl + P'''. | ||
* A dialog box appears with a summary of changes that will be made. Confirm the changes by clicking on '''Apply'''. | * A dialog box appears with a summary of changes that will be made. Confirm the changes by clicking on '''Apply'''. | ||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png The '''Mark for Complete Removal''' option instructs Synaptic to remove any configuration files associated with the package as well. | {{https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png%7D%7D The '''Mark for Complete Removal''' option instructs Synaptic to remove any configuration files associated with the package as well. | ||
* '''To upgrade a package''' | * '''To upgrade a package''' | ||
* Click '''Reload''' or press '''Ctrl + R''' to make Synaptic aware of the latest updates. | * Click '''Reload''' or press '''Ctrl + R''' to make Synaptic aware of the latest updates. | ||
第42行: | 第42行: | ||
== Managing Repositories == | == Managing Repositories == | ||
You can manage the list of repositories or software archives from the Software Preferences Panel. To learn more about managing repositories in Ubuntu, see the [[UbuntuHelp:Repositories/Ubuntu| Ubuntu Repositories wiki page]]. You can call up the software preferences panel from within Synaptic by selecting '''Repositories''' from the '''Settings''' menu. | You can manage the list of repositories or software archives from the Software Preferences Panel. To learn more about managing repositories in Ubuntu, see the [[UbuntuHelp:Repositories/Ubuntu| Ubuntu Repositories wiki page]]. You can call up the software preferences panel from within Synaptic by selecting '''Repositories''' from the '''Settings''' menu. | ||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png As a front-end to apt, Synaptic uses the system-wide list of software repositories file located at | {{https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png%7D%7D As a front-end to apt, Synaptic uses the system-wide list of software repositories file located at | ||
<pre><nowiki> | <pre><nowiki> | ||
/etc/apt/sources.list </nowiki></pre> | /etc/apt/sources.list </nowiki></pre> | ||
第50行: | 第50行: | ||
== How to keep your system up-to-date, including the Kernel == | == How to keep your system up-to-date, including the Kernel == | ||
Synaptic provides two methods for upgrading your system: | Synaptic provides two methods for upgrading your system: | ||
* ''Smart Upgrade (Dist-Upgrade)'' -- ''recommended'' < | * ''Smart Upgrade (Dist-Upgrade)'' -- ''recommended'' <<BR>> The smart upgrade method tries to resolve package conflicts. This includes installing additional dependencies (required packages) if needed and preferring packages with higher priority. Smart Upgrade has the same effect as the ''apt-get dist-upgrade'' tool on the command line. | ||
* ''Default Upgrade'' < | * ''Default Upgrade'' <<BR>> The default upgrade method marks upgrades of installed packages only. If the new version of a package depends on not installed packages or coflicts with an already installed package, it will not be upgraded. | ||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png '''Dist-upgrade''' is the default upgrade method used by Synaptic. To change the upgrade method, choose '''Preferences''' from the '''Settings''' menu, then click on the '''General''' tab and adjust the '''System upgrade''' entry. | {{https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png%7D%7D '''Dist-upgrade''' is the default upgrade method used by Synaptic. To change the upgrade method, choose '''Preferences''' from the '''Settings''' menu, then click on the '''General''' tab and adjust the '''System upgrade''' entry. | ||
* To upgrade your system with Synaptic: | * To upgrade your system with Synaptic: | ||
* Click '''Reload''' or press '''Ctrl + R''' to make Synaptic aware of the latest updates. | * Click '''Reload''' or press '''Ctrl + R''' to make Synaptic aware of the latest updates. | ||
第58行: | 第58行: | ||
* Click '''Apply''' on the toolbar or press '''Ctrl + P'''. A dialog appears with a summary of the changes that will be made to your system. | * Click '''Apply''' on the toolbar or press '''Ctrl + P'''. A dialog appears with a summary of the changes that will be made to your system. | ||
* Click '''Apply''' to confirm the changes and go ahead with the upgrade. | * Click '''Apply''' to confirm the changes and go ahead with the upgrade. | ||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=info.png Synaptic works hand-in-hand with '''Update-Notifier''' and '''Update-Manager''' to inform you about updates to the software installed on your system. | {{https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=info.png%7D%7D Synaptic works hand-in-hand with '''Update-Notifier''' and '''Update-Manager''' to inform you about updates to the software installed on your system. | ||
'''Update-Notifier''' displays an icon in the notification area when updates are available. It will display a pop-up message and an icon in the notification area on your GNOME desktop. | '''Update-Notifier''' displays an icon in the notification area when updates are available. It will display a pop-up message and an icon in the notification area on your GNOME desktop. | ||
https://help.ubuntu.com/community/SynapticHowto?action=AttachFile&do=get&target=update-notification.png | {{https://help.ubuntu.com/community/SynapticHowto?action=AttachFile&do=get&target=update-notification.png%7D%7D | ||
If you right click on the icon you see all the functions available, including what I think is a sensible default, Show Updates. This option runs another new program, '''Upgrade-Manager'''. The upgrade manager shows what packages the system wants to upgrade, which you can deselect from being upgraded if you wish. | If you right click on the icon you see all the functions available, including what I think is a sensible default, Show Updates. This option runs another new program, '''Upgrade-Manager'''. The upgrade manager shows what packages the system wants to upgrade, which you can deselect from being upgraded if you wish. | ||
To update your system, click on the notification icon, enter your password and click OK. | To update your system, click on the notification icon, enter your password and click OK. | ||
Once all the packages are downloaded, the dpkg system installs the packages in the hidden terminal. Questions that previously required interaction with the terminal now provide a Debconf interface using the GNOME frontend. The upgrade process never requires the user to access a terminal, which helps new users become comfortable with upgrading their system. | Once all the packages are downloaded, the dpkg system installs the packages in the hidden terminal. Questions that previously required interaction with the terminal now provide a Debconf interface using the GNOME frontend. The upgrade process never requires the user to access a terminal, which helps new users become comfortable with upgrading their system. | ||
Ubuntu also makes basic APT configuration much easier for new users. It offers an interface to add or edit the entries in /etc/apt/sources.list which can be accessed through Synaptic or the preferences menu of the update-notifier. It shows the repositories that are currently listed, and provides an interface to edit them or add new repositories. | Ubuntu also makes basic APT configuration much easier for new users. It offers an interface to add or edit the entries in /etc/apt/sources.list which can be accessed through Synaptic or the preferences menu of the update-notifier. It shows the repositories that are currently listed, and provides an interface to edit them or add new repositories. | ||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=info.png You can change the frequency of update checks in the '''Software Preferences''' panel. Choose '''Repositories''' from the '''Settings''' menu, then click on the '''Internet Updates''' tab and adjust the ''Check for updates'' entry. | {{https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=info.png%7D%7D You can change the frequency of update checks in the '''Software Preferences''' panel. Choose '''Repositories''' from the '''Settings''' menu, then click on the '''Internet Updates''' tab and adjust the ''Check for updates'' entry. | ||
https://help.ubuntu.com/community/SynapticHowto?action=AttachFile&do=get&target=synaptic-check4updates.png | {{https://help.ubuntu.com/community/SynapticHowto?action=AttachFile&do=get&target=synaptic-check4updates.png%7D%7D | ||
The only function that is somewhat lacking with the new Synaptic frontend is application installation. There is a new program called '''[[UbuntuHelp: | The only function that is somewhat lacking with the new Synaptic frontend is application installation. There is a new program called '''[[UbuntuHelp:gnome-app-install]]''' that shows a simple list of common GNOME programs with a checkbox for installation or removal. gnome-app-install will list every package that provides a .desktop icon in the GNOME application menu. In other words, basically every major gui program will be listed. | ||
== Locating software on your system == | == Locating software on your system == | ||
Synaptic can tell you about every file that belongs to a software package it knows about and show you where it is located on your system. Search the database for the software package you are interested in and select it in Synaptic's main window. Next, click on the ''Installed Files'' tab to see a list of all files and where they are. | Synaptic can tell you about every file that belongs to a software package it knows about and show you where it is located on your system. Search the database for the software package you are interested in and select it in Synaptic's main window. Next, click on the ''Installed Files'' tab to see a list of all files and where they are. | ||
== View the Changelog of a Package == | == View the Changelog of a Package == | ||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png Applies to native Debian ('''.deb''') packages only | {{https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png%7D%7D Applies to native Debian ('''.deb''') packages only | ||
You can view the changelog of a package with Synaptic. Select a package, then choose '''Download Changelog''' from the '''Package''' menu. | You can view the changelog of a package with Synaptic. Select a package, then choose '''Download Changelog''' from the '''Package''' menu. | ||
== View History == | == View History == | ||
You can easily keep track of all changes made to your system's software configuration. To view the history log file, choose ''History'' from the ''File'' menu. | You can easily keep track of all changes made to your system's software configuration. To view the history log file, choose ''History'' from the ''File'' menu. | ||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png The history log only shows changes made with Synaptic. | {{https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png%7D%7D The history log only shows changes made with Synaptic. | ||
== How to force the installation of a package version == | == How to force the installation of a package version == | ||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png ''To be added: Why you would (and would not) want to force a specific version'' | {{https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png%7D%7D ''To be added: Why you would (and would not) want to force a specific version'' | ||
* To force the installation of a package different from the one chosen by Synaptic, do the following: | * To force the installation of a package different from the one chosen by Synaptic, do the following: | ||
* Click '''Reload''' or press '''Ctrl + R''' to make Synaptic aware of the latest updates. | * Click '''Reload''' or press '''Ctrl + R''' to make Synaptic aware of the latest updates. | ||
第84行: | 第84行: | ||
* Click '''Apply''' on the toolbar or press '''Ctrl + P'''. A dialog appears with a summary of the changes that will be made to your system. To confirm, press '''Apply'''. | * Click '''Apply''' on the toolbar or press '''Ctrl + P'''. A dialog appears with a summary of the changes that will be made to your system. To confirm, press '''Apply'''. | ||
== How to fix broken packages == | == How to fix broken packages == | ||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=warning.png 'Broken packages' are packages that have unsatisfied dependencies. If broken packages are detected, Synaptic will not allow any further changes to the system until all broken packages have been fixed. | {{https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=warning.png%7D%7D 'Broken packages' are packages that have unsatisfied dependencies. If broken packages are detected, Synaptic will not allow any further changes to the system until all broken packages have been fixed. | ||
* '''To fix broken packages''' | * '''To fix broken packages''' | ||
* Choose '''Edit''' > '''Fix Broken Packages''' from the menu. | * Choose '''Edit''' > '''Fix Broken Packages''' from the menu. | ||
* Choose '''Apply Marked Changes''' from the '''Edit''' menu or press '''Ctrl + P'''. | * Choose '''Apply Marked Changes''' from the '''Edit''' menu or press '''Ctrl + P'''. | ||
* Confirm the summary of changes and click '''Apply'''. | * Confirm the summary of changes and click '''Apply'''. | ||
<<Anchor(statusicons)>> | |||
== Status Icons == | == Status Icons == | ||
The following icons are used to indicate the status of a package in the package list: | The following icons are used to indicate the status of a package in the package list: | ||
https://help.ubuntu.com/community/SynapticHowto?action=AttachFile&do=get&target=synaptic-icon-legend.png | {{https://help.ubuntu.com/community/SynapticHowto?action=AttachFile&do=get&target=synaptic-icon-legend.png%7D%7D | ||
== Keyboard shortcuts for Synaptic == | == Keyboard shortcuts for Synaptic == | ||
{|border="1" cellspacing="0" | {|border="1" cellspacing="0" | ||
第130行: | 第130行: | ||
== Troubleshooting == | == Troubleshooting == | ||
* What to do if an installation process fails and you find it is no longer possible to install or remove packages: | * What to do if an installation process fails and you find it is no longer possible to install or remove packages: | ||
* Open a Terminal and type the following | * Open a Terminal and type the following commands, pressing the Return or Enter key after each (you may have to type in your [[UbuntuHelp:RootSudo|password]]): | ||
<pre><nowiki> | <pre><nowiki> | ||
apt-get install -f </nowiki></pre> | sudo dpkg --configure -a | ||
sudo apt-get install -f | |||
</nowiki></pre> | |||
* Browser works, Synaptic will not ''(note: probably inaccurate or outdated)'' | * Browser works, Synaptic will not ''(note: probably inaccurate or outdated)'' | ||
* If the router is set to auto discover DNS then Synaptic will fail. Resolve this by setting up a static ip address and manually set DNS ip in router. Now Ubuntu (system-administration-networking) config static ip and enter your ISP dns ip and delete router DNS ip which will look something like 192.168.1.1 | * If the router is set to auto discover DNS then Synaptic will fail. Resolve this by setting up a static ip address and manually set DNS ip in router. Now Ubuntu (system-administration-networking) config static ip and enter your ISP dns ip and delete router DNS ip which will look something like 192.168.1.1 | ||
== See also == | == See also == | ||
* General: [[UbuntuHelp:InstallingSoftware|InstallingSoftware]] . | * General: [[UbuntuHelp:SoftwareManagement|SoftwareManagement]] and [[UbuntuHelp:InstallingSoftware|InstallingSoftware]] . | ||
* [[UbuntuHelp: | * [[UbuntuHelp:Synaptic/PackageDownloadScript]] | ||
* [[UbuntuHelp: | * [[UbuntuHelp:Synaptic/Offline]] | ||
* [http://www.debianadmin.com/simple-package-management-with-synaptic-package-manager-in-ubuntu.html Complete Detailed Step By Step Guide how to Use Synaptic Package Manager with Screenshots] | * [http://www.debianadmin.com/simple-package-management-with-synaptic-package-manager-in-ubuntu.html Complete Detailed Step By Step Guide how to Use Synaptic Package Manager with Screenshots] | ||
* [http://www.debian.org/doc/FAQ/ch-pkg_basics Basics of the Debian Package Management System] | * [http://www.debian.org/doc/FAQ/ch-pkg_basics Basics of the Debian Package Management System] | ||
* [http://www.debian.org/doc/user-manuals#apt-howto Debian Apt User Manual] | * [http://www.debian.org/doc/user-manuals#apt-howto Debian Apt User Manual] | ||
* [[UbuntuWiki:aptgetinstallprotocol| Apt-Get Web Protocol]] | * [[UbuntuWiki:aptgetinstallprotocol|Apt-Get|Web Protocol]] | ||
* [http://www.nongnu.org/synaptic/ Synaptic home page] | * [http://www.nongnu.org/synaptic/ Synaptic home page] | ||
* [http://dabar.selfip.org/synaptic.html A Synaptic tutorial] based on Ubuntu 5.10 (Breezy Badger) | * [http://dabar.selfip.org/synaptic.html A Synaptic tutorial] based on Ubuntu 5.10 (Breezy Badger) | ||
第150行: | 第151行: | ||
* [[UbuntuHelp:Repositories/Ubuntu| Managing Repositories in Ubuntu]] | * [[UbuntuHelp:Repositories/Ubuntu| Managing Repositories in Ubuntu]] | ||
* [http://wiki.debian.org/SecureApt An introduction to SecureApt] on the Debian Wiki | * [http://wiki.debian.org/SecureApt An introduction to SecureApt] on the Debian Wiki | ||
== Other Languages == | == Other Languages == | ||
* [[UbuntuHelp:ComoSynaptic|ComoSynaptic]] | * [[UbuntuHelp:ComoSynaptic|ComoSynaptic]] |
2008年10月19日 (日) 17:28的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/SynapticHowto }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/af | • {{#if: UbuntuHelp:SynapticHowto|Afrikaans| [[::SynapticHowto/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/ar | • {{#if: UbuntuHelp:SynapticHowto|العربية| [[::SynapticHowto/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/az | • {{#if: UbuntuHelp:SynapticHowto|azərbaycanca| [[::SynapticHowto/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/bcc | • {{#if: UbuntuHelp:SynapticHowto|جهلسری بلوچی| [[::SynapticHowto/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/bg | • {{#if: UbuntuHelp:SynapticHowto|български| [[::SynapticHowto/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/br | • {{#if: UbuntuHelp:SynapticHowto|brezhoneg| [[::SynapticHowto/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/ca | • {{#if: UbuntuHelp:SynapticHowto|català| [[::SynapticHowto/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/cs | • {{#if: UbuntuHelp:SynapticHowto|čeština| [[::SynapticHowto/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/de | • {{#if: UbuntuHelp:SynapticHowto|Deutsch| [[::SynapticHowto/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/el | • {{#if: UbuntuHelp:SynapticHowto|Ελληνικά| [[::SynapticHowto/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/es | • {{#if: UbuntuHelp:SynapticHowto|español| [[::SynapticHowto/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/fa | • {{#if: UbuntuHelp:SynapticHowto|فارسی| [[::SynapticHowto/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/fi | • {{#if: UbuntuHelp:SynapticHowto|suomi| [[::SynapticHowto/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/fr | • {{#if: UbuntuHelp:SynapticHowto|français| [[::SynapticHowto/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/gu | • {{#if: UbuntuHelp:SynapticHowto|ગુજરાતી| [[::SynapticHowto/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/he | • {{#if: UbuntuHelp:SynapticHowto|עברית| [[::SynapticHowto/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/hu | • {{#if: UbuntuHelp:SynapticHowto|magyar| [[::SynapticHowto/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/id | • {{#if: UbuntuHelp:SynapticHowto|Bahasa Indonesia| [[::SynapticHowto/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/it | • {{#if: UbuntuHelp:SynapticHowto|italiano| [[::SynapticHowto/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/ja | • {{#if: UbuntuHelp:SynapticHowto|日本語| [[::SynapticHowto/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/ko | • {{#if: UbuntuHelp:SynapticHowto|한국어| [[::SynapticHowto/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/ksh | • {{#if: UbuntuHelp:SynapticHowto|Ripoarisch| [[::SynapticHowto/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/mr | • {{#if: UbuntuHelp:SynapticHowto|मराठी| [[::SynapticHowto/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/ms | • {{#if: UbuntuHelp:SynapticHowto|Bahasa Melayu| [[::SynapticHowto/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/nl | • {{#if: UbuntuHelp:SynapticHowto|Nederlands| [[::SynapticHowto/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/no | • {{#if: UbuntuHelp:SynapticHowto|norsk| [[::SynapticHowto/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/oc | • {{#if: UbuntuHelp:SynapticHowto|occitan| [[::SynapticHowto/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/pl | • {{#if: UbuntuHelp:SynapticHowto|polski| [[::SynapticHowto/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/pt | • {{#if: UbuntuHelp:SynapticHowto|português| [[::SynapticHowto/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/ro | • {{#if: UbuntuHelp:SynapticHowto|română| [[::SynapticHowto/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/ru | • {{#if: UbuntuHelp:SynapticHowto|русский| [[::SynapticHowto/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/si | • {{#if: UbuntuHelp:SynapticHowto|සිංහල| [[::SynapticHowto/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/sq | • {{#if: UbuntuHelp:SynapticHowto|shqip| [[::SynapticHowto/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/sr | • {{#if: UbuntuHelp:SynapticHowto|српски / srpski| [[::SynapticHowto/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/sv | • {{#if: UbuntuHelp:SynapticHowto|svenska| [[::SynapticHowto/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/th | • {{#if: UbuntuHelp:SynapticHowto|ไทย| [[::SynapticHowto/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/tr | • {{#if: UbuntuHelp:SynapticHowto|Türkçe| [[::SynapticHowto/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/vi | • {{#if: UbuntuHelp:SynapticHowto|Tiếng Việt| [[::SynapticHowto/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/yue | • {{#if: UbuntuHelp:SynapticHowto|粵語| [[::SynapticHowto/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/zh | • {{#if: UbuntuHelp:SynapticHowto|中文| [[::SynapticHowto/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/zh-hans | • {{#if: UbuntuHelp:SynapticHowto|中文(简体)| [[::SynapticHowto/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticHowto | UbuntuHelp:SynapticHowto | {{#if: | :}}SynapticHowto}}/zh-hant | • {{#if: UbuntuHelp:SynapticHowto|中文(繁體)| [[::SynapticHowto/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:SynapticHowto|:SynapticHowto|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :SynapticHowto/zh | | {{#ifexist: SynapticHowto/zh | | {{#ifeq: {{#titleparts:SynapticHowto|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:SynapticHowto|1|-1|}} | zh | | }}
- title Synaptic Package Manager
What is Synaptic ?
Synaptic is a graphical front-end to apt, the package management system in Ubuntu. It combines the point-and-click simplicity of the graphical user interface with the power of the apt-get command line tool. You can install, remove, configure, or upgrade software packages, browse, sort and search the list of available software packages, manage repositories, or upgrade the whole system. You can queue up a number of actions before you execute them. Synaptic will inform you about dependencies (additional packages required by the software package you have chosen) as well as conflicts with other packages that are already installed on your system. {{https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png%7D%7D Synaptic's sibling on the Kubuntu desktop is Adept. If you prefer to use the command line instead of a graphical user interface, apt-get and aptitude are available. For information on these alternatives see InstallingSoftware.
Getting Started
To launch Synaptic, choose System > Administration > Synaptic Package Manager. {{https://help.ubuntu.com/community/SynapticHowto?action=AttachFile&do=get&target=Synaptic-Package-Manager.png%7D%7D And if you would like to see more details about a package, Right Click on a package > Properties {{https://help.ubuntu.com/community/SynapticHowto?action=AttachFile&do=get&target=Screenshot-apt-Properties.png%7D%7D The main window is divided into three sections: a package browser on the left, the package list on the upper right, and package details on the lower right. The status bar shows you the system state at a glance.
Browsing the package database
To browse the (very large) list of available packages by category, section, package status, custom filters, or recent searches. Click on the corresponding button at the bottom of the left window pane. You can also create your own filters. See the [[UbuntuHelp:[filters|Filters]]] section for details. To search for packages by name or description, click on the Search button in the toolbar: {{https://help.ubuntu.com/community/SynapticHowto?action=AttachFile&do=get&target=synaptic-find.png%7D%7D You can examine a number of package details in the lower right window pane such as its size, its dependencies, recommended or suggested additional packages, and a short description. <<Anchor(filters)>>
How to apply filters
- To be added
Adding or Removing Software
- To install a package
- Click Reload or press Ctrl + R to make Synaptic aware of the latest updates.
- Right-click on the package and choose Mark for Installation from the context menu, or press Ctrl + I. If the package requires the installation of another package, a dialog box appears:
{{https://help.ubuntu.com/community/SynapticHowto?action=AttachFile&do=get&target=synaptic-confirm-mk.png%7D%7D {{https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png%7D%7D Synaptic will warn you if your choices conflict with packages that are already installed on your system. If this is the case, the dialog box will show you any packages that need to be removed. If you are not sure you don't need the package(s) that will be removed, make sure you look up its function and use before you apply the changes you've made.
- Click Mark to allow the installation of the additional package(s).
- Once you're satisfied with your choices, click on Apply in the toolbar or press Ctrl + P.
- A dialog box appears with a summary of changes that will be made.
- Confirm the changes by clicking on Apply.
- To remove or 'completely remove' a package
- Right-click on the package and choose Mark for Removal from the context menu
- Once you're satisfied with your choices, click on Apply in the toolbar or press Ctrl + P.
- A dialog box appears with a summary of changes that will be made. Confirm the changes by clicking on Apply.
{{https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png%7D%7D The Mark for Complete Removal option instructs Synaptic to remove any configuration files associated with the package as well.
- To upgrade a package
- Click Reload or press Ctrl + R to make Synaptic aware of the latest updates.
- Right-click on the package and choose Mark for Upgrade from the context menu, or press Ctrl + U.
- Once you're satisfied with your choices, click on Apply in the toolbar or press Ctrl + P.
- A dialog box appears with a summary of changes that will be made. Confirm the changes by clicking on Apply.
Managing Repositories
You can manage the list of repositories or software archives from the Software Preferences Panel. To learn more about managing repositories in Ubuntu, see the Ubuntu Repositories wiki page. You can call up the software preferences panel from within Synaptic by selecting Repositories from the Settings menu. {{https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png%7D%7D As a front-end to apt, Synaptic uses the system-wide list of software repositories file located at
/etc/apt/sources.list
For more on managing software repositories, see the Repositories wiki page.
Updating the Package List
Synaptic maintains a database of packages on your system in order to keep track of installed software. This list is checked against the software repositories to inform you of new packages or updates. Synaptic checks for new software packages when you launch Synaptic. It's a good idea to update the database from time to time while running Synaptic. In particular, you may want to do so if you have made changes to the list of software channels or if you have made changes to Synaptic's configuration. Just click on the Reload button or press Ctrl + R.
How to keep your system up-to-date, including the Kernel
Synaptic provides two methods for upgrading your system:
- Smart Upgrade (Dist-Upgrade) -- recommended <
> The smart upgrade method tries to resolve package conflicts. This includes installing additional dependencies (required packages) if needed and preferring packages with higher priority. Smart Upgrade has the same effect as the apt-get dist-upgrade tool on the command line. - Default Upgrade <
> The default upgrade method marks upgrades of installed packages only. If the new version of a package depends on not installed packages or coflicts with an already installed package, it will not be upgraded.
{{https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png%7D%7D Dist-upgrade is the default upgrade method used by Synaptic. To change the upgrade method, choose Preferences from the Settings menu, then click on the General tab and adjust the System upgrade entry.
- To upgrade your system with Synaptic:
- Click Reload or press Ctrl + R to make Synaptic aware of the latest updates.
- Click Mark all Upgrades or press Ctrl + G.
- Click Apply on the toolbar or press Ctrl + P. A dialog appears with a summary of the changes that will be made to your system.
- Click Apply to confirm the changes and go ahead with the upgrade.
{{https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=info.png%7D%7D Synaptic works hand-in-hand with Update-Notifier and Update-Manager to inform you about updates to the software installed on your system. Update-Notifier displays an icon in the notification area when updates are available. It will display a pop-up message and an icon in the notification area on your GNOME desktop. {{https://help.ubuntu.com/community/SynapticHowto?action=AttachFile&do=get&target=update-notification.png%7D%7D If you right click on the icon you see all the functions available, including what I think is a sensible default, Show Updates. This option runs another new program, Upgrade-Manager. The upgrade manager shows what packages the system wants to upgrade, which you can deselect from being upgraded if you wish. To update your system, click on the notification icon, enter your password and click OK. Once all the packages are downloaded, the dpkg system installs the packages in the hidden terminal. Questions that previously required interaction with the terminal now provide a Debconf interface using the GNOME frontend. The upgrade process never requires the user to access a terminal, which helps new users become comfortable with upgrading their system. Ubuntu also makes basic APT configuration much easier for new users. It offers an interface to add or edit the entries in /etc/apt/sources.list which can be accessed through Synaptic or the preferences menu of the update-notifier. It shows the repositories that are currently listed, and provides an interface to edit them or add new repositories. {{https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=info.png%7D%7D You can change the frequency of update checks in the Software Preferences panel. Choose Repositories from the Settings menu, then click on the Internet Updates tab and adjust the Check for updates entry. {{https://help.ubuntu.com/community/SynapticHowto?action=AttachFile&do=get&target=synaptic-check4updates.png%7D%7D The only function that is somewhat lacking with the new Synaptic frontend is application installation. There is a new program called UbuntuHelp:gnome-app-install that shows a simple list of common GNOME programs with a checkbox for installation or removal. gnome-app-install will list every package that provides a .desktop icon in the GNOME application menu. In other words, basically every major gui program will be listed.
Locating software on your system
Synaptic can tell you about every file that belongs to a software package it knows about and show you where it is located on your system. Search the database for the software package you are interested in and select it in Synaptic's main window. Next, click on the Installed Files tab to see a list of all files and where they are.
View the Changelog of a Package
{{https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png%7D%7D Applies to native Debian (.deb) packages only You can view the changelog of a package with Synaptic. Select a package, then choose Download Changelog from the Package menu.
View History
You can easily keep track of all changes made to your system's software configuration. To view the history log file, choose History from the File menu. {{https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png%7D%7D The history log only shows changes made with Synaptic.
How to force the installation of a package version
{{https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=eyes.png%7D%7D To be added: Why you would (and would not) want to force a specific version
- To force the installation of a package different from the one chosen by Synaptic, do the following:
- Click Reload or press Ctrl + R to make Synaptic aware of the latest updates.
- Select the package. Choose Force Version from the Package menu.
- Select the version you would like to use. To confirm your decision, click Force.
- Click Apply on the toolbar or press Ctrl + P. A dialog appears with a summary of the changes that will be made to your system. To confirm, press Apply.
How to fix broken packages
{{https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=warning.png%7D%7D 'Broken packages' are packages that have unsatisfied dependencies. If broken packages are detected, Synaptic will not allow any further changes to the system until all broken packages have been fixed.
- To fix broken packages
- Choose Edit > Fix Broken Packages from the menu.
- Choose Apply Marked Changes from the Edit menu or press Ctrl + P.
- Confirm the summary of changes and click Apply.
<<Anchor(statusicons)>>
Status Icons
The following icons are used to indicate the status of a package in the package list: {{https://help.ubuntu.com/community/SynapticHowto?action=AttachFile&do=get&target=synaptic-icon-legend.png%7D%7D
Keyboard shortcuts for Synaptic
Command | Key Combination |
Update the list of available packages | Ctrl + R |
Open the package search dialog | Ctrl + F |
Show the Properties window for the selected package | Ctrl + O |
Mark the selected package(s) for installation | Ctrl + I |
Mark the selected package(s) for upgrade | Ctrl + U |
Mark the selected package(s) for removal | Delete |
Mark the selected package(s) for complete removal | Shift + Delete |
Unmark any changes to packages | Ctrl + N |
Mark all possible upgrades | Ctrl + G |
Force the installation of a specific version of the package | Ctrl + E |
Undo the last change | Ctrl + Z |
Redo the last change | Ctrl + Shift + Z |
Apply all marked changes | Ctrl + P |
Quit Synaptic | Ctrl + Q |
How to free disk space
Settings -> Preferences -> Files -> Delete downloaded packages after installation then click Delete Cached Package Files.
Troubleshooting
- What to do if an installation process fails and you find it is no longer possible to install or remove packages:
- Open a Terminal and type the following commands, pressing the Return or Enter key after each (you may have to type in your password):
sudo dpkg --configure -a sudo apt-get install -f
- Browser works, Synaptic will not (note: probably inaccurate or outdated)
- If the router is set to auto discover DNS then Synaptic will fail. Resolve this by setting up a static ip address and manually set DNS ip in router. Now Ubuntu (system-administration-networking) config static ip and enter your ISP dns ip and delete router DNS ip which will look something like 192.168.1.1
See also
- General: SoftwareManagement and InstallingSoftware .
- UbuntuHelp:Synaptic/PackageDownloadScript
- UbuntuHelp:Synaptic/Offline
- Complete Detailed Step By Step Guide how to Use Synaptic Package Manager with Screenshots
- Basics of the Debian Package Management System
- Debian Apt User Manual
- Apt-Get|Web Protocol
- Synaptic home page
- A Synaptic tutorial based on Ubuntu 5.10 (Breezy Badger)
- Point-n-Click Software Management with Synaptic (Debian Universe)
- The apt-get wiki page
- Managing Repositories in Ubuntu
- An introduction to SecureApt on the Debian Wiki