OpenSUSE是微魔日常生活中的第二桌面系统(第一当然是Windows),因为OpenSUSE之前和其他发行版一样都是大概都是一年更新(或更短,一般是大版本下有三个小版本,如12.1,12.2,12.3;13.1,13.2…),直到去年的12月,官方开始合并了Factory版和TumbleWeed,所谓的滚动更新版,即不必再等待官方的大版本的更新,也不用重装来获得新版本,只需要配置Tumbleweed的源,即可享受最新(且稳定)的OpenSUSE了,例如,更新Tumbleweed版本之后,即可使用plasma 5桌面了。
注意:如果你是独立显卡用户,需要注意,由于Linux内核更新频繁,因此Tumbleweed版本的更新会明显增加更新显卡驱动的频率(附教程:NVIDIA和ATI)
1.备份旧的repo
mkdir /etc/zypp/repos.d/old mv /etc/zypp/repos.d/*.repo /etc/zypp/repos.d/old
2.增添tumbleweed的更新源
zypper ar -f -c http://download.opensuse.org/tumbleweed/repo/oss repo-oss zypper ar -f -c http://download.opensuse.org/tumbleweed/repo/non-oss repo-non-oss zypper ar -f -c http://download.opensuse.org/tumbleweed/repo/debug repo-debug zypper ar -f -c http://download.opensuse.org/update/tumbleweed/ repo-update
3.【可选】增添source源
zypper ar -f -d -c http://download.opensuse.org/tumbleweed/repo/src-oss repo-src-oss zypper ar -f -d -c http://download.opensuse.org/tumbleweed/repo/src-non-oss repo-src-non-oss
4.查看更新源
zypper lr -u
# | Alias | Name | Enabled | Refresh | URI --+-------------------+-------------------+---------+---------+-------------------------------------------------------- 1 | repo-debug | repo-debug | Yes | Yes | http://download.opensuse.org/tumbleweed/repo/debug 2 | repo-non-oss | repo-non-oss | Yes | Yes | http://download.opensuse.org/tumbleweed/repo/non-oss 3 | repo-oss | repo-oss | Yes | Yes | http://download.opensuse.org/tumbleweed/repo/oss 4 | repo-src-non-oss | repo-src-non-oss | No | Yes | http://download.opensuse.org/tumbleweed/repo/src-non-oss 5 | repo-src-oss | repo-src-oss | No | Yes | http://download.opensuse.org/tumbleweed/repo/src-oss 6 | update | repo-update | Yes | Yes | http://download.opensuse.org/update/tumbleweed/
5.更新系统
zypper dup