I will show you how to install * nkf * with * rpm * files on * Red Hat Enterprise Linux 7.7 * in an environment that is not connected to the Internet.
Download RPM-GPG-KEY-EPEL-7
from the following page.
Index of /pub/epel
Download nkf-2.1.3-5.el7.x86_64.rpm
from the following page.
Index of /pub/epel/7/x86_64/Packages/n
Place the acquired RPM-GPG-KEY-EPEL-7
file under / etc / pki / rpm-gpg
.
Execution result
[root@RHEL-DEMO ~]# cd /etc/pki/rpm-gpg
[root@RHEL-DEMO rpm-gpg]# ls
RPM-GPG-KEY-EPEL-7 RPM-GPG-KEY-redhat-legacy-release
RPM-GPG-KEY-redhat-beta RPM-GPG-KEY-redhat-legacy-rhx
RPM-GPG-KEY-redhat-legacy-former RPM-GPG-KEY-redhat-release
[root@RHEL-DEMO rpm-gpg]#
Place the obtained nkf-2.1.3-5.el7.x86_64.rpm
file in an arbitrary location (here, under / root / tmp
).
Execution result
[root@RHEL-DEMO ~]# cd /root/tmp
[root@RHEL-DEMO tmp]# ls
nkf-2.1.3-5.el7.x86_64.rpm
[root@RHEL-DEMO tmp]#
Execute the following command to install EPEL's GPG public key.
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Execution result
[root@RHEL-DEMO ~]# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
[root@RHEL-DEMO ~]#
Execute the following command to install nkf.
rpm -ivh /root/tmp/nkf-2.1.3-5.el7.x86_64.rpm
Execution result
[root@RHEL-DEMO ~]# rpm -ivh /root/tmp/nkf-2.1.3-5.el7.x86_64.rpm
Preparing... ################################# [100%]
Updating/During installation...
1:nkf-1:2.1.3-5.el7 ################################# [100%]
[root@RHEL-DEMO ~]#
Check the version of * nkf * installed with the following command.
nkf -version
Execution result
[root@RHEL-DEMO ~]# nkf -version
Network Kanji Filter Version 2.1.3 (2013-11-22)
Copyright (C) 1987, FUJITSU LTD. (I.Ichikawa).
Copyright (C) 1996-2013, The nkf Project.
[root@RHEL-DEMO ~]#
RepoForge Mirror
that's all
Recommended Posts