openSUSE Leap 15.0 初始配置

添加源:

# 禁用原有软件源 
sudo zypper mr -da

# 添加阿里镜像源
sudo zypper ar -fc https://mirrors.aliyun.com/opensuse/distribution/leap/15.0/repo/oss openSUSE-Aliyun-OSS

sudo zypper ar -fc https://mirrors.aliyun.com/opensuse/distribution/leap/15.0/repo/non-oss openSUSE-Aliyun-NON-OSS

sudo zypper ar -fc https://mirrors.aliyun.com/opensuse/update/leap/15.0/oss openSUSE-Aliyun-UPDATE-OSS

sudo zypper ar -fc https://mirrors.aliyun.com/opensuse/update/leap/15.0/non-oss openSUSE-Aliyun-UPDATE-NON-OSS

# 第三方源
sudo zypper ar -fc https://mirrors.aliyun.com/packman/openSUSE_Leap_15.0 openSUSE-Aliyun-Packman

sudo zypper ar -fc https://download.opensuse.org/repositories/home:/opensuse_zh/openSUSE_Leap_15.0 openSUSE-zh

sudo zypper ar -fc https://download.opensuse.org/repositories/M17N/openSUSE_Leap_15.0 M17N

sudo zypper ar -fc https://download.videolan.org/pub/SuSE/Leap_15.0 VLC

# 刷新软件源
sudo zypper ref

# 软件升级
sudo zypper up

# 系统升级
sudo zypper dup

安装软件

# 安装 sogou-pinyin
sudo zypper in sogou-pinyin

# 安装浏览器
sudo zypper in chromium

sudo zypper in falkon

# 安装WPS
sudo zypper in wps-office

# 安装Pinta
sudo zypper in pinta

# 安装网易云音乐
sudo zypper in netease-cloud-music

# 安装git
sudo zypper install git

# 安装redshift 
sudo zypper in redshift redshift-gtk

# 安装rar的解压与压缩
sudo zypper in rar unrar

# 安装VScode 
sudo rpm --import  https://packages.microsoft.com/keys/microsoft.asc
sudo sh -c 'echo -e "[code]\nname=Visual StudioCode\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ntype=rpmmd\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/zypp/repos.d/vscode.repo'
sudo zypper refresh       
sudo zypper in code

安装驱动

NVIDIA显卡驱动 

添加软件源:
sudo zypper addrepo -f https://download.nvidia.com/opensuse/leap/15.0 NVIDIA

安装驱动:
zypper install-new-recommends

备注:

问题:安装搜狗拼音输入法时,遇到无法输入汉字

解决方案:在命令行中依次执行fcitx,sogou-qimpanel ,查看缺失的lib并安装(sudo zypper in libQtWebKit4)

待续。。。。。。

猜你喜欢

转载自www.cnblogs.com/WangBoBlog/p/9150405.html