在CentOS上安装第三方软件库EPEL
编程技术  /  houtizong 发布于 3年前   71
[root@localhost ~]# rpm -q epel-releasepackage epel-release is not installed
[root@localhost ~]# rpm -ivh http://mirrors.ustc.edu.cn/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpmRetrieving http://mirrors.ustc.edu.cn/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpmPreparing... ########################################### [100%] 1:epel-release ########################################### [100%]
[root@localhost ~]# rpm -ivh http://mirrors.ustc.edu.cn/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpmRetrieving http://mirrors.ustc.edu.cn/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpmcurl: (22) The requested URL returned error: 404 Not Founderror: skipping http://mirrors.ustc.edu.cn/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm - transfer failed
[root@localhost ~]# rpm -q epel-releaseepel-release-6-8.noarch
[root@localhost ~]# rpm -qR epel-release /bin/sh /bin/sh config(epel-release) = 6-8redhat-release >= 6rpmlib(CompressedFileNames) <= 3.0.4-1rpmlib(FileDigests) <= 4.6.0-1rpmlib(PayloadFilesHavePrefix) <= 4.0-1rpmlib(PayloadIsXz) <= 5.2-1
[root@localhost ~]# rpm -e epel-releasewarning: /etc/yum.repos.d/epel.repo saved as /etc/yum.repos.d/epel.repo.rpmsave
[root@localhost ~]# vi /etc/yum.repos.d/epel.repo设置 /etc/yum.repos.d/epel.repo 中源的级别为 priority=11
[root@localhost ~]# yum search gitLoaded plugins: fastestmirror, refresh-packagekit, securityLoading mirror speeds from cached hostfile * base: mirrors.aliyun.com * epel: mirrors.hust.edu.cn * extras: mirrors.aliyun.com * updates: mirror.bit.edu.cn============================== N/S Matched: git ===============================nodejs-github-url-from-git.noarch : Parse a GitHub git URL and return the GitHub repository URLphp-phpunit-git.noarch : Simple wrapper for Gittrac-git-plugin.noarch : GIT version control plugin for TracGitPython.noarch : Python Git Librarycgit.x86_64 : A fast web interface for gitgit-annex.x86_64 : Manage files with git, without checking their contents into gitgit-ftp.noarch : Git powered FTP client written as shell scriptgit-gui.noarch : Git GUI toolgit-review.noarch : A git helper for integration with Gerritgit2cl.noarch : Converts git logs to GNU style ChangeLog formatgitolite.noarch : Highly flexible server for git directory version trackergitosis.noarch : Git repository hosting applicationgitstats.noarch : Generates statistics based on GIT repository activity// ……(略)tkgate-fr.x86_64 : Locales and examples for tkgate, Digital Circuit Simulatortkgate-it.x86_64 : Locales and examples for tkgate, Digital Circuit Simulatortkgate-ja.x86_64 : Locales and examples for tkgate, Digital Circuit Simulatortuxpaint.x86_64 : Drawing program designed for young childrenxmlsec1-devel.i686 : Libraries, includes, etc. to develop applications with XML Digital : Signatures and XML Encryption support.xmlsec1-devel.x86_64 : Libraries, includes, etc. to develop applications with XML Digital : Signatures and XML Encryption support. Name and summary matches only, use "search all" for everything.
[root@localhost ~]# yum install gitLoaded plugins: fastestmirror, refresh-packagekit, securityLoading mirror speeds from cached hostfileepel/metalink | 5.5 kB 00:00 * base: mirrors.aliyun.com * epel: ftp.sjtu.edu.cn * extras: mirrors.aliyun.com * updates: mirror.bit.edu.cnepel | 4.4 kB 00:00 epel/primary_db | 6.0 MB 01:19 Setting up Install ProcessResolving Dependencies--> Running transaction check---> Package git.x86_64 0:1.7.1-3.el6_4.1 will be installed--> Processing Dependency: perl-Git = 1.7.1-3.el6_4.1 for package: git-1.7.1-3.el6_4.1.x86_64--> Processing Dependency: perl(Git) for package: git-1.7.1-3.el6_4.1.x86_64--> Processing Dependency: perl(Error) for package: git-1.7.1-3.el6_4.1.x86_64--> Running transaction check---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed---> Package perl-Git.noarch 0:1.7.1-3.el6_4.1 will be installed--> Finished Dependency ResolutionDependencies Resolved================================================================================== Package Arch Version Repository Size==================================================================================Installing: git x86_64 1.7.1-3.el6_4.1 base 4.6 MInstalling for dependencies: perl-Error noarch 1:0.17015-4.el6 base 29 k perl-Git noarch 1.7.1-3.el6_4.1 base 28 kTransaction Summary==================================================================================Install 3 Package(s)Total download size: 4.7 MInstalled size: 15 MIs this ok [y/N]: yDownloading Packages:(1/3): git-1.7.1-3.el6_4.1.x86_64.rpm | 4.6 MB 00:33 (2/3): perl-Error-0.17015-4.el6.noarch.rpm | 29 kB 00:00 (3/3): perl-Git-1.7.1-3.el6_4.1.noarch.rpm | 28 kB 00:00 ----------------------------------------------------------------------------------Total 140 kB/s | 4.7 MB 00:34 warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEYRetrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6Importing GPG key 0xC105B9DE: Userid : CentOS-6 Key (CentOS 6 Official Signing Key) <[email protected]> Package: centos-release-6-4.el6.centos.10.x86_64 (@anaconda-CentOS-201303020151.x86_64/6.4) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6Is this ok [y/N]: y (注:这里为输入的内容,导入GPG key)Running rpm_check_debugRunning Transaction TestTransaction Test SucceededRunning TransactionWarning: RPMDB altered outside of yum. Installing : 1:perl-Error-0.17015-4.el6.noarch 1/3 Installing : perl-Git-1.7.1-3.el6_4.1.noarch 2/3 Installing : git-1.7.1-3.el6_4.1.x86_64 3/3 Verifying : git-1.7.1-3.el6_4.1.x86_64 1/3 Verifying : perl-Git-1.7.1-3.el6_4.1.noarch 2/3 Verifying : 1:perl-Error-0.17015-4.el6.noarch 3/3 Installed: git.x86_64 0:1.7.1-3.el6_4.1 Dependency Installed: perl-Error.noarch 1:0.17015-4.el6 perl-Git.noarch 0:1.7.1-3.el6_4.1 Complete!
请勿发布不友善或者负能量的内容。与人为善,比聪明更重要!
技术博客集 - 网站简介:
前后端技术:
后端基于Hyperf2.1框架开发,前端使用Bootstrap可视化布局系统生成
网站主要作用:
1.编程技术分享及讨论交流,内置聊天系统;
2.测试交流框架问题,比如:Hyperf、Laravel、TP、beego;
3.本站数据是基于大数据采集等爬虫技术为基础助力分享知识,如有侵权请发邮件到站长邮箱,站长会尽快处理;
4.站长邮箱:[email protected];
文章归档
文章标签
友情链接