语法:# zypper addrepo [root@linuxprobe ~] # zypper addrepo --check --refresh --name "Mozilla-repo" http://download.opensuse.org/repositories/mozilla/SLE_11/ "Mozillarepo" Adding repository 'Mozilla-repo' [done] Repository 'Mozilla-repo' successfully added Enabled: Yes Autorefresh: Yes URI:...
MINI-G06-ts-01:~ # zypper lr --url Repository priorities are without effect. All enabled repositories share the same priority.#| Alias | Name | Enabled | GPG Check | Refresh | URI--+---+---+---+---+---+---
1 | Mozillarepo | Mozilla-repo | Yes | Yes | http://download.opensuse.org/repositories/mozilla/SLE_11/ 2 | SUSE-Linux-Enterprise-Server-11-SP1 11.1.1-1.152 | SUSE-Linux-Enterprise-Server-11-SP1 11.1.1-1.152 | Yes | Yes | http://19.106.65.64/FUSELinux/600RC0 13. 在库中搜索包 列...
1 I. 用zypper管理软件包1. 安装包语法: # zypper install 示例:安装Mozilla firefox[root@linuxprobe ~]# zypper install MozillaFirefox Loading repository data... Reading installed packages... Resolving package dependencies... The following NEW packages are going to be installed: MozillaFirefox Mozil...
[root@linuxprobe ~]# zypper addrepo--check--refresh--name"Mozilla-repo" http://download.opensuse.org/repositories/mozilla/SLE_11/"Mozillarepo"Adding repository'Mozilla-repo'[done] Repository'Mozilla-repo'successfully added Enabled: Yes Autorefresh: Yes ...
Repository 'openSUSE-13.1-Update' is up to date. Repository 'openSUSE-13.1-Update-Non-Oss' is up to date. All repositories have been refreshed. 例子6:修改zypper仓库 zypper仓库可以通过别名、数字或者URI或者通过‘–all、 –remote、 –local、 –medium-type’这些选项修改。
--disable-repositories 不从安装源读取元数据。 --no-refresh 不刷新安装源。目标选项: --root, -R 在不同的根目录下操作。 --disable-system-sources、 -D 不读取系统安装的可解析项。命令: help, ? 打印帮助。 shell, sh 一次接受多个命令 . 安装源操作: repos, lr 列出所有定义的安装源。 addrepo...
zypper update 您还可以使用 list-updates 选项查看所有可用更新,如下所示。 zypper list-updates 4. 全系统全分发升级 要在系统上执行完整的发行版升级,请使用 dup 选项和 zypper,如下所示: # zypper dup Warning:You are about todoa distribution upgradewithall enabled repositories.Make sure these repositories...
--disable-repositories 不从安装源读取元数据。 --no-refresh 不刷新安装源。 目标选项: --root, -R 在不同的根目录下操作。 --disable-system-sources、-D 不读取系统安装的可解析项。 命令: help, ? 打印帮助。 shell, sh 一次接受多个命令. 安装源...
Repository 'update' successfully added URI : file:/iso Enabled : Yes GPG Check : Yes Autorefresh : No Priority : 99 (default priority) Repository priorities are without effect. All enabled repositories share the same priority. 五、查看zypper源 ...