创建/etc/yum.repos.d/emacs.repo文件
[emacs]
name=Emacs 24.5 repo
baseurl=http://pj.freefaculty.org/EL/6/x86_64/
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=http://pj.freefaculty.org/EL/PaulJohnson-BinaryPackageSigningKey
运行下面的命令安装
yum install emacs --nogpgcheck
参数是必须的,否则会遇到下面的错误
[plain] view plain copy print?
Package liblockfile-1.08-9.el6.x86_64.rpm is not signed