RH4AS 安裝yum

來源:互聯網
上載者:User

 

ftp://mirror.switch.ch/mirror/scientificlinux/40rolling/x86_64/SL/RPMS/
或者http://rpmfind.net/linux/rpm2html/search.php?query=yum&submit=Search+...&system=&arch=
http://updates.mistral.net/centos/4/local/等rpm包資來源站點下載相關rpm包
$rpm -ivh sqlite-*.rpm$rpm -ivh python-elementtree-*.rpm$rpm -ivh python-sqlite-*.rpm$rpm -ivh python-urlgrabber-*.rpm$rpm -ivh yum-2.4.2-*.rpm
$rpm -ivh rpmforge-release*.rpm
1.yum源配置#wget http://centos.ustc.edu.cn/CentOS-Base.repo.5
#mv CentOS-Base.repo.5 CentOS-Base.repo#vi CentOS-Base.repo:1,$s/$releasever/4/g                 ;將$releasever替換為4即可。 2.運行update: 

yum update 


3.升級: 

yum upgrade 安裝編譯環境yum -y install glibc-devel gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel curl curl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel openldap openldap-devel nss_ldap openldap-clients openldap-servers gettext

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.