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
[[email protected] ~]# cd /etc/pki/rpm-gpg
[[email protected] 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
[[email protected] 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
[[email protected] ~]# cd /root/tmp
[[email protected] tmp]# ls
nkf-2.1.3-5.el7.x86_64.rpm
[[email protected] 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
[[email protected] ~]# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
[[email protected] ~]#
Execute the following command to install nkf.
rpm -ivh /root/tmp/nkf-2.1.3-5.el7.x86_64.rpm
Execution result
[[email protected] ~]# 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%]
[[email protected] ~]#
Check the version of * nkf * installed with the following command.
nkf -version
Execution result
[[email protected] ~]# 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.
[[email protected] ~]#
RepoForge Mirror
that's all
Recommended Posts