1. 安装gtk3
正想学习gtk,随便装上
安装gtk3.0
yum -y install gtk3-devel gtk3-devel-docs
2. 安装codeblocks
用贯了codeblocks,先安装codeblocks开发环境
在Fedora好像可以直接yum install codeblocks安装,在centos要先装wxGTK,因为codeblocks依赖于它
安装wxGTK
yum -y install wxGTK
安装codeblock (这样安装的好像是13.12版本)
yum -y install codeblocks
3. 添加常用源
CentOS为了稳定,没有多少软件可装,所以安装上常用的第三方源,扩展一下软件安装源
用 yum repolist 查看
安装epel-release源
yum -y install epel-release
很多源或软件直接用yum install XXX是安装不了的,在https://centos.pkgs.org/里有很多rpm,下载到本地后用rpm -ivh XXX安装就好,很多软件或插件如果不安装第三方源,直接用yum install安装不了,要添加一些第三方源后才有得安装
安装rpmforge源
在https://centos.pkgs.org/里查找到rpmforge-release,下载到本地,安装,在下载页面有怎样安装的方法(Install Howto)
**********************************************查找之后像这样的*********************************************
Search on Name and Provides
CentOS 7
Repoforge (RPMforge) x86_64
- rpmforge-release-0.5.3-1.el7.rf.x86_64.rpmRPMforge release file and RPM repository configuration
CentOS 6
CentOS 5
*****************************************************************************************************************
********************点进链接像这样的,在Download下面下载Binary的rpm包*************************
Description
rpmforge-release - RPMforge release file and RPM repository configuration
Distribution: CentOS 7
Repository: Repoforge (RPMforge) x86_64
Package name: rpmforge-release
Package version: 0.5.3
Package release: 1.el7.rf
Package architecture: x86_64
Package type: rpm
Installed size: 13.19 KB
Download size: 12.23 KB
Official Mirror: ftp.tu-chemnitz.de
RPMforge.net release file. This package contains apt, yum and smart configuration for the RPMforge RPM Repository, as well as the public GPG keys used to sign them.
Alternatives
- rpmforge-release All Repositories
Requires
Provides
- config(rpmforge-release) = 0.5.3-1.el7.rf
- rpmforge-release = 0.5.3-1.el7.rf
- rpmforge-release(x86-64) = 0.5.3-1.el7.rf
Required By
Download
Binary package: rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
Source package: rpmforge-release-0.5.3-1.el7.rf.src.rpm
Install Howto
- Download the latest rpmforge-release rpm from
http://ftp.tu-chemnitz.de/pub/linux/dag/redhat/el7/en/x86_64/rpmforge/RPMS/
- Install rpmforge-release rpm:
# rpm -Uvh rpmforge-release*rpm
- Install rpmforge-release rpm package:
# yum install rpmforge-release
*******************************************************************************************************************
sudo rpm -Uvh rpmforge-release*rpm # *号表示不知道后面接着的是什么,下载的每个包的名字都不一样 # -U -- 升级 sudo yum -y install rpmforge-relesase
安装nux-dextop-release源,有一些媒体的解码器需要用到这个源,如mpeg-1 layer 3解码器,打开RhythmBox听音乐时提示没有XXX解码器,如果没有安装这个源,可能会找不到资源下载的,装了之后一般就能找到的
同样在https://centos.pkgs.org/查找下载rpm包,安装,在下载页面有怎样安装的方法(Install Howto)
sudo rpm -ivh XXX
这样就添加了3个常用的源epel、rpmforge、nux-dextop
4. 安装chrome
在/etc/yum.repo.d/新建文件google-chrome.repo
写入下面这些
[google-chrome] name=google-chrome baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch enable=1 gpgcheck=1 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key_pub
然后用yum安装
yum install google-chrome-stable #(应该是不行的,因为Google官方源在中国可能无法使用) # 所以加上--nogpgcheck参数 yum install google-chrome-stable --nogpgcheck
能用了,在应用程序菜单里就能找到了
5. 安装qbittorrent代替迅雷
yum -y install qbittorrent
qbittorrent不支持迅雷协议的链接,就是thunder://XXXXX
支持种子,磁力链接
原文地址:https://www.cnblogs.com/kkxiaoyuan/p/8689123.html