Skip to content

Instantly share code, notes, and snippets.

@boardstretcher
Last active October 4, 2019 02:15
Show Gist options
  • Star 12 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save boardstretcher/bae7dc3383cc829422ae to your computer and use it in GitHub Desktop.
Save boardstretcher/bae7dc3383cc829422ae to your computer and use it in GitHub Desktop.
Install FPM on centos 6.5
# install ruby, rubygems and all requirements, then install FPM (effing package manager)
# fpm: https://github.com/jordansissel/fpm
# as root
# update system, install requirements
yum update -y
yum install ruby-devel gcc curl libyaml-devel
# get the ruby version manager and install
curl -L get.rvm.io | bash -s stable
source /etc/profile.d/rvm.sh
# install ruby 1.9.3
rvm requirements
rvm install 1.9.3
rvm use 1.9.3 --default
# install rubygems
rvm rubygems current
# install effing package manager
gem install fpm
@v6
Copy link

v6 commented Mar 18, 2017

// , Thanks, this worked on CEntOS 6.7.

@apoorva11029
Copy link

Hey can you please update this for Centos 7.2?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment