个人工具

待删/Index/guide/AptgetViaEasy

来自Ubuntu中文

跳转至: 导航, 搜索

How to apt-get the easy way (Synaptic)?(如何容易地使用 apt-get (Synaptic)?)

  • Read [[[../GeneralNotes|General Notes]]]
    请参阅 [[[../GeneralNotes|简介]]]

  • System -> Administration -> Synaptic Package Manager
    系统 -> 系统管理 -> 新立得软件包管理器

Synaptic Package Manager
新立得软件包管理器

    • To enable the extra Universe and Multiverse repositories
      使用额外的 Universe 和 Multiverse 软件库
    • Settings -> Repositories
      设置 -> 软件库
    • Click the Settings button
      点击设置按钮
    • Tick Show disabled software sources
      点击显示禁用的软件源
    • On the Repositories dialog box click Add. There are three separate repositories; Breezy Badger, Security Updates and Updates. Select each repository and check Officially supported, Restricted copyright, Community maintained (Universe) and Non-free (Multiverse). Ensure you click OK between each repository to save your changes
      在软件库对话框中点击添加,分别有三个软件库:Breezy Badger,Security Updates 和 Updates。选择每个软件库并勾选官方支持,版权限制,社区维护(Universe)和非自由(Multiverse)。确定你在每个软件库中都点击OK以保存你的改动
    • You should now see checkboxes next to each repository, scroll through the list and ensure they are all checked
      接下来你将看到在每个软件库前都有一个检查框,滚动列表以确定所有软件库都被勾选
  • To add backports (new versions of many applications)
    添加 backports 库(许多应用程序的新版本)
    • Settings -> Repositories
      设置 -> 软件库
    • Click on Add and then Custom
      点击添加,然后是自定义按钮
    • Paste the following line into the box:
      将下列行粘贴到文本框中
deb http://archive.ubuntu.com/ubuntu breezy-backports main universe multiverse restricted
  • To refresh the list of known packages (equivalent to apt-get update)
    刷新已知软件包列表(相当于 apt-get update)
Edit Menu -> Reload Package Information
编辑 -> 重新载入软件包信息
  • To install all possible upgrades (equivalent to apt-get upgrade)
    安装所有可用的软件包升级 (相当于 apt-get upgrade)
Edit Menu -> Mark All Upgrades... -> Default Upgrade
编辑 -> 标识全部软件包以便升级 -> 缺省升级
Edit Menu -> Apply Marked Changes
编辑 -> 实施标识的更新
  • To search for a package (equivalent to apt-cache search package_name)
    搜寻软件包 (相当于 apt-cache search package_name))
Edit Menu -> Search... Specify the package name
编辑 -> 搜索... 输入软件包名
  • To install the selected package (equivalent to apt-get install package_name)
    安装选定的软件包 (相当于 apt-get install package_name))
Select "package_name"
选择 "package_name"

Package Menu -> Mark for Installation
软件包 -> 标识以便安装
Edit Menu -> Apply Marked Changes
编辑 -> 实施标识的更新
  • To remove installed package (equivalent to 编辑 -> 实施标识的更新)
    删除已安装的软件包(相当于 编辑 -> 实施标识的更新)
Select "package_name"
选择 "package_name"

Package Menu -> Mark for Removal
软件包 -> 标识以便删除
Edit Menu -> Apply Marked Changes
编辑 -> 实施标识的更新