How to install nkf with rpm file on Red Hat Enterprise Linux 7.7 (for non-internet environment)

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.

environment

1. Preparation

1.1. Get epel's GPG public key

Download RPM-GPG-KEY-EPEL-7 from the following page. Index of /pub/epel 01.png

1.2. Get nkf rpm file

Download nkf-2.1.3-5.el7.x86_64.rpm from the following page. Index of /pub/epel/7/x86_64/Packages/n 02.png

2. File placement

2.1 RPM-GPG-KEY-EPEL-7 File placement

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]#

2.2. nkf-2.1.3-5.el7.x86_64.rpm File placement

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]#

3. Installation

3.1. Install EPEL's GPG public key

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 ~]#

3.2. Installing nkf

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 ~]#

4. Confirmation

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 ~]#

Link

RepoForge Mirror
that's all

Recommended Posts

How to install nkf with rpm file on Red Hat Enterprise Linux 7.7 (for non-internet environment)
How to install VMware-Tools on Linux
How to install aws-session-manager-plugin on Manajro Linux
How to install packages on Alpine Linux
How to install Anisble on Amazon Linux 2
How to install php7.4 on Linux (Ubuntu)
How to install OpenGM on OSX with macports
How to install Camunda Modeler on Manjaro Linux
How to build Java environment on Ubuntu (Linux)
Useful for changing permissions on Linux! How to count up to 31 with one hand.
How to prepare an environment with different python version and package for each project with pyenv-virtualenv on Amazon Linux
How to install Linux on a 32bit UEFI PC
How to install caffe on OS X with macports
[AWS EC2] How to install Maven on Amazon Linux 2
How to install git on Linux such as EC2
How to build a Python environment on amazon linux 2
How to pass args or environment variables with Makefile and make command on #Linux
A memo on how to easily prepare a Linux exercise environment
[Linux] How to install a package on a server that does not have a network environment (standalone)
How to set up WSL2 on Windows 10 and create a study environment for Linux commands
[For beginners] How to use for statements on Linux (variables, etc.)
How to create an ISO file (CD image) on Linux
How to install Theano on Mac OS X with homebrew
How to install pandas on EC2 (How to deal with MemoryError and PermissionError)
How to get all traffic through VPN with OpenVPN on Linux
How to automatically install Chrome Driver for Chrome version with Python + Selenium + Chrome
It's time to install DB with Docker! DB installation for beginners on Docker
Red Hat Enterprise Linux 8.3 Various confirmations
How to install mysql-connector-python on mac
How to install python-pip with ubuntu20.04LTS
How to install graph-tool on macOS
How to install wkhtmltopdf (Amazon Linux2)
How to install pycrypto on Windows
How to install OpenCV on Mac
How to install MBDyn (Linux Ubuntu)
How to install PyPy on CentOS
How to install TensorFlow on CentOS 7
How to install mysql-connector with pip3
How to install Maven on CentOS
How to install Go on Ubuntu
How to install music 21 on windows
How to install Anaconda with pyenv
Procedure for building a kube environment on amazon linux2 (aws) ~ (with bonus)
How to read environment variables from .env file in PyCharm (on Mac)
Build Linux on a Windows environment. Steps to install Laradock and migrate
How to install drobertadams / toggl-cli on Mac
[Kivy] How to install Kivy on Windows [Python]
How to install DLIB with 2020 / CUDA enabled
How to update php on Amazon linux 2
Steps to install Python environment on Ubuntu
How to display emoji on Manjaro Linux
5 reasons to install Linux on your laptop.
How to install richzhang / colorization on Windows 10
Install Mecab on Linux (CentOS) with brew
How to power off Linux with Ultra96-V2
How to update security on CentOS Linux 8
How to install Apache (httpd) on CentOS7
How to install Eclipse GlassFish 5.1.0 on CentOS 7
How to install Apache (httpd) on CentOS8
Install rJava on Linux in R3.6 environment.
How to find large files on Linux