linux 도구 설치-FPM 패키지 도구 설치

https://fpm.readthedocs.io/en/latest/ http://gems.ruby-china.org/ https://github.com/jordansissel/fpm
설치 환경
$ cat /etc/redhat-release 
CentOS Linux release 7.5.1804 (Core) 
$ uname -a
Linux Test01 3.10.0-862.2.3.el7.x86_64 #1 SMP Wed May 9 18:05:47 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

설치 안내서
1.설치 준비
yum install ruby-devel gcc make rpm-build rubygems
gem sources --add https://gems.ruby-china.org/ --remove https://rubygems.org/   #    gem 

2、gem 설치 사용
$ gem install --no-ri --no-rdoc fpm
Fetching: cabin-0.9.0.gem (100%)
Successfully installed cabin-0.9.0
Fetching: backports-3.10.3.gem (100%)
Successfully installed backports-3.10.3
Fetching: arr-pm-0.0.10.gem (100%)
Successfully installed arr-pm-0.0.10
Fetching: clamp-1.0.1.gem (100%)
Successfully installed clamp-1.0.1
Fetching: ffi-1.9.25.gem (100%)
Building native extensions.  This could take a while...
Successfully installed ffi-1.9.25
Fetching: childprocess-0.9.0.gem (100%)
Successfully installed childprocess-0.9.0
Fetching: io-like-0.3.0.gem (100%)
Successfully installed io-like-0.3.0
Fetching: ruby-xz-0.2.3.gem (100%)
Successfully installed ruby-xz-0.2.3
Fetching: stud-0.0.23.gem (100%)
Successfully installed stud-0.0.23
Fetching: mustache-0.99.8.gem (100%)
Successfully installed mustache-0.99.8
Fetching: insist-1.0.0.gem (100%)
Successfully installed insist-1.0.0
Fetching: dotenv-2.4.0.gem (100%)
Successfully installed dotenv-2.4.0
Fetching: pleaserun-0.0.30.gem (100%)
Successfully installed pleaserun-0.0.30
Fetching: fpm-1.10.0.gem (100%)
Successfully installed fpm-1.10.0
14 gems installed

3.설치 버 전 확인
$ fpm --version
1.10.0

좋은 웹페이지 즐겨찾기