Synaptic Package Manager

来源:互联网 发布:网页语音朗读软件 编辑:程序博客网 时间:2024/05/19 06:47
新立得软件包管理器起源于Debian。它是dpkg命令的图形化前端,或者说是前端软件套件管理工具。它能够在图形界面内完成LINUX系统软件的搜寻、安装和删除,相当于终端里的apt命令。

  在ubuntu最近的长期支持版里已经预装了新立得软件包管理器。在没有安装它的系统中,可以通过apt-get installsynaptic进行安装。使用新立得软件包管理器的同时不能使用终端,因为它们实质上是一样的。

   Getting Started(启动)

  To launch Synaptic, choose System >Administration > Synaptic Package Manager.

  要运行新立得,点击系统 > 系统管理 >新立得软件包管理器(System > Administration >Synaptic Package Manager)。

  The main window is divided into three sections: a packagebrowser on the left, the package list on the upper right, andpackage details on the lower right. The status bar shows you thesystem state at a glance.

  新立得的主窗口分为三个部分:左边是一个包浏览器,右上方是包列表以及右下方的包详细信息。状态栏显示您的系统的总体状态。

  Browsing the package database(浏览软件包数据库)

  To browse the (very large) list of available packages bycategory, section, package status, custom filters, or recentsearches. Click on the corresponding button at the bottom of theleft window pane. You can also create your own filters. See thefilters Filters section for details.

  如果要按分类、类别、状态、自定义过滤器或者最近搜索来浏览软件包列表(巨大)。点击窗口左下角相应的按钮。您也可以自定义过滤器。关于过滤器的详细信息,请参考filtersFilters一节。

  To search for packages by name or description, click on theSearch button in the toolbar:

  点击工具栏上的搜索(Search)以名称或者描述来搜索软件包:

  You can examine a number of package details in the lower rightwindow pane such as its size, its dependencies, recommended orsuggested additional packages, and a short description.

  您可以查看右下角面板上的一系列关于选定软件包的详细信息,例如大小、依赖关系、推荐或建议的额外软件包以及一段简短的描述。

  Adding or Removing Software(添加或删除软件)

  To install a package

  安装一个软件包 :

  Click Reload or press Ctrl + R to make Synaptic aware of thelatest updates.

  点击刷新(Reload)或者按下Ctrl + R来使新立得获得最新的软件包信息。

  Right-click on the package and choose Mark for Installationfrom the context menu, or press Ctrl + I. If the package requiresthe installation of another package, a dialog box appears:

  右键点击需要的软件包,然後在弹出的菜单中选择标记以便安装(Mark for Installation)或者按下 Ctrl +I.

  Synaptic will warn you if your choices conflict with packagesthat are already installed on your system. If this is the case, thedialog box will show you any packages that need to be removed. Ifyou are not sure you don't need the package(s) that will beremoved, make sure you look up its function and use before youapply the changes you've made.

  如果您所选择的软件包与系统中已经安装了的软件包有冲突,新立得会给予您警告。如果确有冲突发生,一个对话框将提示您需要删除的软件包。如果您不确定您已经不需要将要被删除的软件包,那么在您确认之前,请务必先查看这些软件包的功能和作用。

  Click Mark to allow the installation of the additionalpackage(s).

  点击标记(Mark)来安装所需的额外软件包。

  Once you're satisfied with your choices, click on Apply in thetoolbar or press Ctrl + P.

  当您满意您的选择後,点击工具栏上的应用(Apply)按钮或者按下Ctrl + P。

  A dialog box appears with a summary of changes that will bemade.

  这时会出现一个摘要您所作更改的对话框。

  Confirm the changes by clicking on Apply.

  点击应用(Apply)按钮来确认您的更改。

  To remove or 'completely remove' a package

  删除或者彻底删除一个软件包

  Right-click on the package and choose Mark for Removal fromthe context menu

  右键点击需要删除的软件包,然後在弹出的菜单中选择标记以便删除(Mark for Removal)。

  Once you're satisfied with your choices, click on Apply in thetoolbar or press Ctrl + P.

  当您满意您的选择後,点击工具栏上的应用(Apply)按钮或者按下Ctrl + P。

  A dialog box appears with a summary of changes that will bemade. Confirm the changes by clicking on Apply.

  这时会出现一个摘要您所作更改的对话框。点击应用(Apply)按钮来确认您的更改。

  The Mark for Complete Removal option instructs Synaptic toremove any configuration files associated with the package as well.标记以便彻底删除(Mark for Complete Removal)选项会使新立得同时删除所有与软件包相关的配置文件。

  To upgrade a package

  升级一个软件包

  Click Reload or press Ctrl + R to make Synaptic aware of thelatest updates.

  点击刷新(Reload)或者按下Ctrl + R来使新立得获得最新的软件包信息。

  Right-click on the package and choose Mark for Upgrade fromthe context menu, or press Ctrl + U.

  右键点击需要的软件包,然後在弹出的菜单中选择标记以便升级(Mark for Upgrade'''')或者按下 Ctrl +U.

  Once you're satisfied with your choices, click on Apply in thetoolbar or press Ctrl + P.

  当您满意您的选择後,点击工具栏上的应用(Apply)按钮或者按下Ctrl + P。

  A dialog box appears with a summary of changes that will bemade. Confirm the changes by clicking on Apply.

  这时会出现一个摘要您所作更改的对话框。点击应用(Apply)按钮来确认您的更改。

  Managing Repositories(管理软件仓库)

  You can manage the list of repositories or software channelsfrom the Software Preferences Panel. To learn more about managingsoftware channels in Ubuntu, see the Ubuntu Repositories wiki page.You can call up the software preferences panel from within Synapticby selecting Repositories from the Settings menu.

  您可以软件首选项面板来管理软件仓库或软件频道。您可以通过设置菜单中的软件库命令来打开软件软件首选项。

  As a front-end to apt, Synaptic uses the system-wide list ofsoftware repositories file located at

  /etc/apt/sources.list For more on managing software channels,see the Repositories wiki page. 作为apt的前端,新立得使用系统系统己的软件仓库配置文件:

  /etc/apt/sources.list

  Updating the Package List(更新软件包列表)

  Synaptic maintains a database of packages on your system inorder to keep track of installed software. This list is checkedagainst the software repositories to inform you of new packages orupdates. Synaptic checks for new software packages when you launchSynaptic. It's a good idea to update the database from time to timewhile running Synaptic. In particular, you may want to do so if youhave made changes to the list of software channels or if you havemade changes to Synaptic's configuration. Just click on the Reloadbutton or press Ctrl + R.

  新立得维护了一个关于您系统上所有软件包的数据库来追踪您系统上安装了的软件包。新立得通过检查软件仓库来更新数据库,这样它就可以提示您新的软件包或者已有软件包的升级。新立得在启动时检查新的软件包。在运行新立得时时常更新数据库是个不错的选择。特别是当您改变了软件仓库列表或者更改了新立得的设置时,您可能需要立即更新数据库。需要更新只需点击工具栏上的刷新(Reload)按钮或者按下Ctrl+ R。

  How to keep your system up-to-date(如何使您的系统保持最新)

  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 (requiredpackages) if needed and preferring packages with higher priority.Smart Upgrade has the same effect as the apt-get dist-upgrade toolon the command line. d

  智能升级(Dist-Upgrade) -- 推荐

  智能升级会试图解决软件包之间冲突的问题。这包括在需要时安装额外的依赖关系(需要的软件包)或者选择具有较高优先级的软件包。智能升级与命令行上的apt-getdist-upgrade具有同样的效果。

  Default Upgrade

  The default upgrade method marks upgrades of installedpackages only. If the new version of a package depends on notinstalled packages or coflicts with an already installed package,it will not be upgraded.

  默认升级

  默认升级仅仅标记所有已安装软件包的升级。如果新版本的软件包依赖于尚未安装的软件包或者于已安装的软件包冲突,升级将不会继续。

  Dist-upgrade is the default upgrade method used by Synaptic.To change the upgrade method, choose Preferences from the Settingsmenu, then click on the General tab and adjust the System upgradeentry.智能升级是新立得默认的升级方式。如果希望改变升级方式,选择设置(Settings)菜单下的首选项(Preferences),点击常规信息(General)选项卡,然後调整系统升级(Systemupgrade)项。

  To upgrade your system with Synaptic:

  要使用新立得升级您的系统:

  Click Reload or press Ctrl + R to make Synaptic aware of thelatest updates.

  点击刷新(Reload)或者按下Ctrl + R来使新立得获得最新的软件包信息。

  Click Mark all Upgrades or press Ctrl + G.

  点击工具栏上的标记所有软件包以便升级(Mark all Upgrades)按钮或者按下Ctrl + G。

  Click Apply on the toolbar or press Ctrl + P. A dialog appearswith a summary of the changes that will be made to your system.

  点击工具栏上的应用(Apply)按钮或者按下Ctrl + P。* 这时会出现一个摘要您所作更改的对话框。

  Click Apply to confirm the changes and go ahead with theupgrade.

  点击应用(Apply)来确认您的更改并继续升级。

  Integration with Update-Manager

  与更新管理器(Update-Manager)的集成

  Synaptic works hand-in-hand with Update-Manager to inform youabout updates to the software installed on your system. If softwareor security updates are available, Update-Manager will display apop-up message and an icon in the notification area on your GNOMEdesktop. To update your system, click on the notification icon,enter your password and click OK.

  新立得与更新管理器(Update-Manager)紧密合作来提示您您系统上安装的软件包的升级。如果有软件或者安全更新,更新管理器会在您的GNOME桌面的通知区域显示一个图标。要升级您的系统,点击通知区域的图表,输入您的密码,然後点击OK。

  You can change the frequency of update checks in the SoftwarePreferences panel. Choose Repositories from the Settings menu, thenclick on the Internet Updates tab and adjust the Check for updatesentry.

  您可以通过软件首选项面板(SoftwarePreferences)改变检查更新的频率。选择设置(Settings)菜单下的首选项(Preferences),点击InternetUpdates(Internet Updates)选项卡,然後调整自动检查更新(Check for updates)项。

  Locating software on your system(定位你系统上的软件)

  Synaptic can tell you about every file that belongs to asoftware package it knows about and show you where it is located onyour system. Search the database for the software package you areinterested in and select it in Synaptic's main window. Next, clickon the Installed Files tab to see a list of all files and wherethey are.

  新立得可以告诉您它所知道的一个包内所有的文件的位置。在数据库中搜索您感兴趣的软件包,然後在新立得的主窗口中选中它。接着,点击已安装的文件(InstalledFiles)选项卡来查看每个文件的位置。

  View the Changelog of a Package(查看软件包的变更日志)

  Applies to native Debian (.deb) packages only

  仅适用于原生Debian(.deb)包

  You can view the changelog of a package with Synaptic. Selecta package, then choose Download Changelog from the Packagemenu.

  您可以用新立得来查看一个软件包的变更日志。选定一个软件包,然後选择软件包(Package)菜单下的下载变更日志(DownloadChangelog)。

  View History(查看历史)

  You can easily keep track of all changes made to your system'ssoftware configuration. To view the history log file, chooseHistory from the File menu.

  您可以非常简单得追踪所有新立得对您的系统作的改动。要查看历史日志文件,选择文件(File)菜单下的历史(History)。

  The history log only shows changes made with Synaptic.

  历史日志仅仅显示新立得所作的更改。

  How to force the installation of a packageversion(如何强制安装某个版本的软件包)

  To be added: Why you would (and would not) want to force aspecific version

  将要添加:为什么您会希望(或者不再希望)强制安装某个版本的软件

  To force the installation of a package different from the onechosen by Synaptic, do the following:

  要强制安装一个软件包不同于新立得选择的版本,如下操作:

  Click Reload or press Ctrl + R to make Synaptic aware of thelatest updates.

  点击刷新(Reload)或者按下Ctrl + R来使新立得获得最新的软件包信息。

  Select the package. Choose Force Version from the Packagemenu.

  选定需要改变的软件包。选择软件包(Package)菜单下的强制版本(Force Version)。

  Select the version you would like to use. To confirm yourdecision, click Force.

  选择您想使用的版本。点击强制(Force)来确人您的决定。

  Click Apply on the toolbar or press Ctrl + P. A dialog appearswith a summary of the changes that will be made to your system. Toconfirm, press Apply.

  点击工具栏上的应用(Apply)按钮或者按下Ctrl +P。这时会出现一个摘要您所作更改的对话框。点击应用(Apply)来确认。

  How to fix broken packages(如何修复软件包)

  'Broken packages' are packages that have unsatisfieddependencies. If broken packages are detected, Synaptic will notallow any further changes to the system until all broken packageshave been fixed.

  '毁损的软件包'是指那些没有满足依赖关系的软件包。如果新立得检测到毁损的软件包,它将不允许在这些毁损的软件包被修复前对系统作任何改变。

  To fix broken packages

  修复毁损的软件包

  Choose Edit > Fix Broken Packages from themenu.

  选择编辑(Edit)菜单下的修正损毁的软件包(Fix Broken Packages)。

  Choose Apply Marked Changes from the Edit menu or press Ctrl +P.

  点击编辑(Edit)菜单下的实施标记的更新(Apply Marked Change)或者按下Ctrl + P。

  Confirm the summary of changes and click Apply.

  点击应用(Apply)按钮来确认您的更改。

  Anchor(statusicons)

  Status Icons(状态图标)

  The following icons are used to indicate the status of apackage in the package list:

  以下这些图标用于表示软件包列表中软件包的状态:

原创粉丝点击