OpenSUSE 初始化

添加源

添加三个源,中科大镜像、Packman镜像和openSUSE_zh:

1
2
3
4
5
sudo zypper ar -f http://mirrors.ustc.edu.cn/opensuse/distribution/leap/42.1/repo/oss/ ustc-leap-oss
sudo zypper ar -f http://mirrors.ustc.edu.cn/opensuse/distribution/leap/42.1/repo/non-oss/ ustc-leap-non-oss
# official website is: http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_Leap_42.1/
sudo zypper ar -f http://mirrors.hust.edu.cn/packman/suse/openSUSE_Leap_42.1/ packman
sudo zypper ar -f http://download.opensuse.org/repositories/home:/opensuse_zh/openSUSE_Leap_42.1/ opensuse_zh

刷新:

1
sudo zypper ref

开启:ALT + F2 -> yast -> software repositories -> enable and disable (u like)

安装软件

Thunderbird

1
sudo zypper in thunderbird

VirtualBox

1
sudo zypper in virtualbox

Konsole

修改配色和文字大小:
Settings -> Manage Profiles -> New Profiles -> Custom the profiles and set to default

ALL DONE!

安装Chrome浏览器

导入Google的Key:

1
2
wget https://dl.google.com/linux/linux_signing_key.pub
sudo rpm --import linux_signing_key.pub

添加源:

1
2
3
4
5
6
7
8
# 64 bit
sudo zypper ar http://dl.google.com/linux/chrome/rpm/stable/x86_64 google-chrome
sudo zypper ref
sudo zypper in google-chrome-stable
# 32 bit
sudo zypper ar http://dl.google.com/linux/chrome/rpm/stable/i386 google-chrome
sudo zypper ref
sudo zypper in google-chrome-stable

安装其他版本:

1
2
sudo zypper in google-chrome-beta
sudo zypper in google-chrome-unstable

安装开源chromium

1
sudo zypper in chromium

Docker

1
2
3
sudo zypper in docker
sudo systemctl start docker
sudo systemctl enable docker

Install latest version:

1
2
3
4
5
6
# try https://get.docker.com
curl -sSL https://get.docker.com/ | sh
wget -qO- https://get.docker.com/ | sh

# or add repositories yourself
# http://download.opensuse.org/repositories/Virtualization:/containers/openSUSE_Leap_42.1/ Virtualization:containers

Uninstall:

1
2
sudo zypper rm docker
rm -rf /var/lib/docker

媒体

http://opensuse-community.org/codecs-kde.ymp