如何将EPEl安装在Centos7上

How to install EPEL for Centos 7

[[email protected] ~]# cat  /etc/centos-release
CentOS Linux release 7 (Broken)

Download EPEL and install using yum:

yum install http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm

Or,

yum install epel-release

Sample output:

Loaded plugins: fastestmirror
epel-release-7-0.2.noarch.rpm                            |  13 kB     00:00     
Examining /var/tmp/yum-root-adCP8h/epel-release-7-0.2.noarch.rpm: epel-release-7-0.2.noarch
Marking /var/tmp/yum-root-adCP8h/epel-release-7-0.2.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:7-0.2 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package           Arch        Version    Repository                       Size
================================================================================
Installing:
 epel-release      noarch      7-0.2      /epel-release-7-0.2.noarch       22 k

Transaction Summary
================================================================================
Install  1 Package

Total size: 22 k
Installed size: 22 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : epel-release-7-0.2.noarch                                    1/1
  Verifying  : epel-release-7-0.2.noarch                                    1/1 

Installed:
  epel-release.noarch 0:7-0.2                                                   

Complete!

Check if EPEL repo Installed:

[[email protected] ~]# yum update
[[email protected] ~]# yum repolist
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * epel: nl.mirror.eurid.eu
repo id                                                                                           repo name                                                                                                                            status
epel/x86_64                                                                                       Extra Packages for Enterprise Linux 7 - x86_64                                                                                       4,572
repo                                                                                              Updates PRE Release                                                                                                                  8,465
repolist: 13,037
[[email protected] ~]#

Install packages:

Example: Thunderbird.

[[email protected] ~]# yum install  thunderbird
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * epel: be.mirror.eurid.eu
Resolving Dependencies
--> Running transaction check
---> Package thunderbird.x86_64 0:24.5.0-2.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================================================================================
 Package                                                     Arch                                                   Version                                                       Repository                                            Size
=============================================================================================================================================================================================================================================
Installing:
 thunderbird                                                 x86_64                                                 24.5.0-2.el7                                                  epel                                                  45 M

Transaction Summary
=============================================================================================================================================================================================================================================
Install  1 Package

Total download size: 45 M
Installed size: 86 M
Is this ok [y/d/N]:转载于   http://www.unixmen.com/install-epel-repository-centos-rhel-7/ 
时间: 2024-07-31 13:04:54

如何将EPEl安装在Centos7上的相关文章

jdk8u144安装在centos7上

卸载java    rpm -qa|grep jdk yum -y remove java 上面命令显示的项 到oracle网站上去下载安装文件:jdk-8u144-linux-x64.tar把安装文件复制到/usr下     cp jdk-8u144-linux-x64.tar.gz  /usr新建java文件夹    mkdir /usr/java解压安装文件    tar -zvxf jdk-8u144-linux-x64.tar.gz 把解压后的文件夹移动到/usr/java下    m

CentOS7上安装、配置、监控RabbitMQ

CentOS7上安装.配置.监控RabbitMQ RabbitMQ是流行的开源消息队列系统,是AMQP(Advanced Message Queuing Protocol高级消息队列协议)的标准实现,用erlang语言开发.RabbitMQ据说具有良好的性能和时效性,同时还能够非常好的支持集群和负 载部署,非常适合在较大规模的分布式系统中使用,具体特性还在验证中,待检验.由于项目需要,安装并配置了RabbitMQ,服务器操作系统是CentOS7. 环境:CentOS7.2 步骤 一.安装Erla

一次在CentOS7上安装部署Zabbix3.0版本及快速进行基本配置的实例

Zabbix3.0的安装.部署.配置,必须基于LAMP环境或是是LNMP环境. 关于LAMP环境的简单快速搭建,见博客:http://afterdawn.blog.51cto.com/7503144/1923139 注意:以下步骤都是在LAMP配置之后进行的. 本文不会再对zabbix-server和zabbix-agent理论知识再进行介绍,建议看完http://afterdawn.blog.51cto.com/7503144/1922502再进行zabbix实战. Zabbix3.0对软硬件

在 CentOS7 上安装 MySQL5.7

在 CentOS7 上安装 MySQL5.7 1 通过 SecureCRT 连接到阿里云 CentOS7 服务器: 2 进入到目录 /usr/local/ 中:cd /usr/local/ 3 创建目录 /usr/local/tools,如果有则忽略: mkdir -p tools 4 创建 /usr/local/mysql 目录,如果已存在则忽略:mkdir -p mysql 5 进入到目录 /usr/local/tools 中:cd tools/ 6 查看系统中是否已安装 MySQL 服务:

在 CentOS7 上安装 zookeeper-3.4.9 服务

在 CentOS7 上安装 zookeeper-3.4.9 服务 1.创建 /usr/local/services/zookeeper 文件夹: mkdir -p /usr/local/services/zookeeper 2.进入到 /usr/local/services/zookeeper 目录中: cd /usr/local/services/zookeeper 3.下载 zookeeper-3.4.9.tar.gz: wget https://mirrors.tuna.tsinghua.

CentOS7上安装稻壳CMS

CentOS7上安装稻壳CMS 1, 安装用途 为了给某公司建设一个小型网站,租用了一个阿里云ECS服务器,最基础的硬件配置,因此选择了CentOS7操作系统. 稻壳CMS(docCMS)源于深喉咙CMS,使用广泛,配置简单,因此采用其作为建站模板. 2,CentOS7环境安装 阿里云ECS中的CentOS7操作系统属于“裸”操作系统,没有配置基础的Web应用环境.为和稻壳CMS匹配,需安装配置的软件有: ²        Apache服务器Httpd ²        防火墙IPTables

CentOS7 上安装 Zookeeper-3.4.9 服务

在 CentOS7 上安装 zookeeper-3.4.9 服务 1.创建 /usr/local/services/zookeeper 文件夹:    mkdir -p /usr/local/services/zookeeper 2.进入到 /usr/local/services/zookeeper 目录中:    cd /usr/local/services/zookeeper 3.下载 zookeeper-3.4.9.tar.gz:    wget https://mirrors.tuna.

centOS7上部署安装coreseek及遇到的问题处理

# uname -r 3.10.0-229.4.2.el7.x86_64 安装步骤如下: 1 依赖包的安装 yum install gcc gcc-c++ libtool mysql-devel libxml2-devel expat-devel 2.下载软件包 wget http://www.coreseek.cn/uploads/csft/3.2/coreseek-3.2.14.tar.gz wget http://www.coreseek.cn/uploads/csft/4.0/cores

centos7上使用yum安装mysql

centos yum是没有mysql的,集成的是新的Mariadb,怎么用yum的方式在centos7上安装mysql呢? 1. 下载mysql的repo源 wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm 2. 安装mysql-community-release-el7-5.noarch.rpm包 sudo rpm -ivh mysql-community-release-el7-5.noarch.rpm 安