标签 yum 下的文章

用yum安装Linux常用的开发包开发库

很多情况下,我们需要用到devel开发包,怎么用yum安装Linux常用的开发包/devel开发库?如下命令即可

yum -y install ntp make openssl openssl-devel pcre pcre-devel libpng libpng-devel libjpeg-6b libjpeg-devel-6b freetype freetype-devel gd gd-devel zlib zlib-devel gcc gcc-c++ libXpm libXpm-devel ncurses ncurses-devel libmcrypt libmcrypt-devel libxml2 libxml2-devel imake autoconf automake screen sysstat compat-libstdc++-33 curl curl-devel

这样,大部分常用的devel开发包都安装了。

Install wine (the Solution to No package wine available When yum install wine)

Install wine (the Solution to No package wine available When yum install wine) Attention: I found that when installing wine with yum from EPEL repo, there will be a blackscreen after rebooting. Remember to download all the i686 packages from EPEL and install it half-locally~(I don’t know why but it works!) Problem: When using view plain $ sudo yum install wine it reports view plain No package wine available. Solution: CentOS is lack of EPEL(Extra Packages for Enterprise Linux). A ...

Redhat6安装CentOS的yum源

1、删除redhat原有的yum rpm -aq|grep yum|xargs rpm -e –nodeps 2、下载yum安装文件 wget http://mirrors.163.com/centos/6/os/x86_64/Packages/yum-3.2.27-14.el6.centos.noarch.rpm wget http://mirrors.163.com/centos/6/os/x86_64/Packages/yum-metadata-parser-1.1.2-14.1.el6.x86_64.rpm wget http://mirrors.163.com/centos/6/os/x86_64/Packages/yum-plugin-fastestmirror-1.1.26-11.el6.noarch.rpm wget http://mirrors.163.com/centos/6/os/x86_64/Packages/python-iniparse-0.3.1-2.1.el6.noarch.rpm 3、进行安装yu ...