- yum install alien :查看有没有epel源
- yum install epel-release :安装epel源
- yum repolist :查看仓库列表,有Extra Packages ……正常
没有:
umount /dev/sr0 :删除挂载
cd /etc/yum.repos.d/
wget http://mirrors.tuna.tsinghua.edu.cn
vi /etc/yum.repos.d/Centos-Media.ropo
vi /etc/yum.repos.d/Centos-Base.ropo - yum install alien :下载deb转RMP软件
- yum install qtwebkit :下载依赖关系软件
- cd /home/用户名/下载
- ls
- alien -r sougoupinyin-2.2.0.0108-amd64.deb :把deb类型转换为rpm
- rmp -ivh sougoupinyin-2.2.0.0108-amd64.rpm :安装搜狗输入法
如果有依赖性:yum install qtwebkit
如果还有依赖性:yum install fcitx
rmp -ivh --force sougoupinyin-2.2.0.0108-amd64.rpm :强制安装搜狗