jueves, 15 de enero de 2015

Install gpgme-devel on redhat 7


4 commands are needed:

Need to install rpmforce and gpgme03-devel

# wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm

# rpm -Uvh rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm

# wget http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt

# rpm --import RPM-GPG-KEY.dag.txt

# yum install gpgme03-devel



Executing those commands you get:


[root@rhel7 navencrypt]# wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
--2015-01-15 09:27:57--  http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
Resolving pkgs.repoforge.org (pkgs.repoforge.org)... 78.46.17.228
Connecting to pkgs.repoforge.org (pkgs.repoforge.org)|78.46.17.228|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://rpmforge.sw.be/redhat/el7/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm [following]
--2015-01-15 09:27:57--  http://rpmforge.sw.be/redhat/el7/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
Resolving rpmforge.sw.be (rpmforge.sw.be)... 78.46.17.228
Connecting to rpmforge.sw.be (rpmforge.sw.be)|78.46.17.228|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://tree.repoforge.org/redhat/el7/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm [following]
--2015-01-15 09:27:58--  http://tree.repoforge.org/redhat/el7/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
Resolving tree.repoforge.org (tree.repoforge.org)... 78.46.17.228
Connecting to tree.repoforge.org (tree.repoforge.org)|78.46.17.228|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://apt.sw.be/redhat/el7/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm [following]
--2015-01-15 09:27:58--  http://apt.sw.be/redhat/el7/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
Resolving apt.sw.be (apt.sw.be)... 193.1.193.67
Connecting to apt.sw.be (apt.sw.be)|193.1.193.67|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12520 (12K) [application/x-redhat-package-manager]
Saving to: ‘rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm’

100%[==========================================================================================================================================================================================================================================>] 12,520      39.9KB/s   in 0.3s  

2015-01-15 09:27:59 (39.9 KB/s) - ‘rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm’ saved [12520/12520]

[root@rhel7 navencrypt]# rpm -Uvh rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
warning: rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:rpmforge-release-0.5.3-1.el7.rf  ################################# [100%]
[root@rhel7 navencrypt]# wget http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
--2015-01-15 09:28:17--  http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
Resolving dag.wieers.com (dag.wieers.com)... 148.251.123.139
Connecting to dag.wieers.com (dag.wieers.com)|148.251.123.139|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://dag.wiee.rs/rpm/packages/RPM-GPG-KEY.dag.txt [following]
--2015-01-15 09:28:17--  http://dag.wiee.rs/rpm/packages/RPM-GPG-KEY.dag.txt
Resolving dag.wiee.rs (dag.wiee.rs)... 148.251.123.139
Connecting to dag.wiee.rs (dag.wiee.rs)|148.251.123.139|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://apt.sw.be/RPM-GPG-KEY.dag.txt [following]
--2015-01-15 09:28:18--  http://apt.sw.be/RPM-GPG-KEY.dag.txt
Resolving apt.sw.be (apt.sw.be)... 193.1.193.67
Connecting to apt.sw.be (apt.sw.be)|193.1.193.67|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1672 (1.6K) [text/plain]
Saving to: ‘RPM-GPG-KEY.dag.txt’

100%[==========================================================================================================================================================================================================================================>] 1,672       --.-K/s   in 0s     

2015-01-15 09:28:18 (179 MB/s) - ‘RPM-GPG-KEY.dag.txt’ saved [1672/1672]

[root@rhel7 navencrypt]# rpm --import RPM-GPG-KEY.dag.txt
[root@rhel7 navencrypt]# yum search gpgme-devel
Loaded plugins: amazon-id, rhui-lb
Warning: No matches found for: gpgme-devel
No matches found
[root@rhel7 navencrypt]# yum search gpg
Loaded plugins: amazon-id, rhui-lb
================================================================================================================================= N/S matched: gpg =================================================================================================================================
kgpg.x86_64 : Manage GPG encryption keys
gpgme.i686 : GnuPG Made Easy - high level crypto API
gpgme03-devel.x86_64 : Static libraries and header files from GPGME, GnuPG Made Easy
libgpg-error.i686 : Library for error values used by GnuPG components
libgpg-error-devel.i686 : Development files for the libgpg-error package
libgpg-error-devel.x86_64 : Development files for the libgpg-error package
mingw32-libgpg-error.noarch : MinGW Windows libgpg-error compression library for the win32 target
mingw32-libgpg-error-static.noarch : Static library for mingw32-libgpg-error development
mingw64-libgpg-error.noarch : MinGW Windows libgpg-error compression library for the win64 target
mingw64-libgpg-error-static.noarch : Static library for mingw64-libgpg-error development
perl-Crypt-GPG.noarch : Object Oriented Interface to GnuPG
gpgme.x86_64 : GnuPG Made Easy - high level crypto API
gpgme03.x86_64 : GnuPG Made Easy
libgpg-error.x86_64 : Library for error values used by GnuPG components
nasty.x86_64 : Recover the passphrase of a PGP or GPG key
perl-Crypt-RSA.noarch : RSA public-key cryptosystem
perl-GnuPG-Interface.noarch : Perl interface to GnuPG
perl-Mail-GPG.noarch : Handling of GnuPG encrypted / signed mails
perl-Mail-GnuPG.noarch : Process email with GPG
pygpgme.x86_64 : Python module for working with OpenPGP messages
python-GnuPGInterface.noarch : A Python module to interface with GnuPG
python-pgpdump.noarch : PGP packet parser library in Python 2.x
seahorse.x86_64 : A GNOME application for managing encryption keys
thunderbird-enigmail.x86_64 : Authentication and encryption extension for Mozilla Thunderbird

  Name and summary matches only, use "search all" for everything.
[root@rhel7 navencrypt]# yum install gpgme03-devel
Loaded plugins: amazon-id, rhui-lb
Resolving Dependencies
--> Running transaction check
---> Package gpgme03-devel.x86_64 0:0.3.16-1.el6.rf will be installed
--> Processing Dependency: gpgme03 = 0.3.16 for package: gpgme03-devel-0.3.16-1.el6.rf.x86_64
--> Processing Dependency: libgpgme.so.6()(64bit) for package: gpgme03-devel-0.3.16-1.el6.rf.x86_64
--> Running transaction check
---> Package gpgme03.x86_64 0:0.3.16-1.el6.rf will be installed
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================================================================================================================================================================
 Package                                                              Arch                                                          Version                                                                   Repository                                                       Size
====================================================================================================================================================================================================================================================================================
Installing:
 gpgme03-devel                                                        x86_64                                                        0.3.16-1.el6.rf                                                           rpmforge                                                        119 k
Installing for dependencies:
 gpgme03                                                              x86_64                                                        0.3.16-1.el6.rf                                                           rpmforge                                                        161 k

Transaction Summary
====================================================================================================================================================================================================================================================================================
Install  1 Package (+1 Dependent package)

Total size: 280 k
Installed size: 792 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
  Installing : gpgme03-0.3.16-1.el6.rf.x86_64                                                                                                                                                                                                                                   1/2
  Installing : gpgme03-devel-0.3.16-1.el6.rf.x86_64                                                                                                                                                                                                                             2/2
  Verifying  : gpgme03-devel-0.3.16-1.el6.rf.x86_64                                                                                                                                                                                                                             1/2
  Verifying  : gpgme03-0.3.16-1.el6.rf.x86_64                                                                                                                                                                                                                                   2/2

Installed:
  gpgme03-devel.x86_64 0:0.3.16-1.el6.rf                                                                                                                                                                                                                                           

Dependency Installed:
  gpgme03.x86_64 0:0.3.16-1.el6.rf                                                                                                                                                                                                                                                 

Complete!
[root@rhel7 navencrypt]#

P.S. Libya and Burma changed their flags recently

No hay comentarios:

Publicar un comentario