Upgrade GnuPG 2.2.x on CentOS/RHEL
1. Overview
CentOS7에서 gpg기본버전을 gpg 2.2.x
로 업그레이드 하는 방법 입니다.
2. Prerequisites
OS : CentOS7
Arch : x86
3. How to Upgrade
gpg버전확인
$ gpg --version
Set up Build Environment on Linux
CentOS/RHEL은 더 최신 repository가 필요하므로 새로 repository를 추가해줍니다.
$ vim /etc/yum.repos.d/gpg.repo
[copr:copr.fedorainfracloud.org:bugzy:keepassxc]
name=Copr repo for keepassxc owned by bugzy
baseurl=https://copr-be.cloud.fedoraproject.org/results/bugzy/keepassxc/epel-7-$basearch/
type=rpm-md
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://copr-be.cloud.fedoraproject.org/results/bugzy/keepassxc/pubkey.gpg
repo_gpgcheck=0
enabled=1
enabled_metadata=1
패키지 정보 : bugzy/keepassxc
$ sudo yum update
각종 디펜던시 설치
$ sudo yum install make autoamke gcc-c++ cmake
$ sudo yum install qt5-qtbase-devel qt5-linguist qt5-qttools qt5-qtsvg-devel libgcrypt-devel libargon2-devel qrencode-devel zlib-devel
$ sudo yum install bzip2
$ sudo yum update && sudo yum upgrade
Upgrade to 2.2.x
$ curl -OL "https://gist.githubusercontent.com/simbo1905/ba3e8af9a45435db6093aea35c6150e8/raw/83561e214e36f6556fd6b1ec0a384cf28cb2debf/install-gnupg22.sh" && sudo -H bash ./install-gnupg22.sh
참고링크 : simbo1905/GnuPG-2.2.md
혹시 스크립트파일이 없어지면 쓸 백업용 링크 : GunPG-2.2.sh
확인
리부팅후, 버전확인
$ gpg --version
댓글남기기