How To Install ruby-devel.x86_64 on Amazon Linux 2
In this tutorial we learn how to install ruby-devel.x86_64 in Amazon Linux 2. ruby-devel.x86_64 is A Ruby development environment
Introduction
In this tutorial we learn how to install ruby-devel.x86_64 on Amazon Linux 2.
What is ruby-devel.x86_64
Header files and libraries for building an extension library for the Ruby or an application embedding Ruby.
We can use yum to install ruby-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install ruby-devel.x86_64.
Install ruby-devel.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install ruby-devel.x86_64 using yum by running the following command:
sudo yum -y install ruby-devel.x86_64
How To Uninstall ruby-devel.x86_64 on Amazon Linux 2
To uninstall only the ruby-devel.x86_64 package we can use the following command:
sudo yum remove ruby-devel.x86_64
ruby-devel.x86_64 Package Contents on Amazon Linux 2
/etc/rpm/macros.ruby
/usr/include/ruby
/usr/include/ruby.h
/usr/include/ruby/backward
/usr/include/ruby/backward/classext.h
/usr/include/ruby/backward/rubyio.h
/usr/include/ruby/backward/rubysig.h
/usr/include/ruby/backward/st.h
/usr/include/ruby/backward/util.h
/usr/include/ruby/config-x86_64.h
/usr/include/ruby/config.h
/usr/include/ruby/debug.h
/usr/include/ruby/defines.h
/usr/include/ruby/digest.h
/usr/include/ruby/dl.h
/usr/include/ruby/encoding.h
/usr/include/ruby/intern.h
/usr/include/ruby/io.h
/usr/include/ruby/missing.h
/usr/include/ruby/oniguruma.h
/usr/include/ruby/re.h
/usr/include/ruby/regex.h
/usr/include/ruby/ruby.h
/usr/include/ruby/st.h
/usr/include/ruby/subst.h
/usr/include/ruby/thread.h
/usr/include/ruby/util.h
/usr/include/ruby/version.h
/usr/include/ruby/vm.h
/usr/lib64/libruby.so
/usr/lib64/pkgconfig/ruby.pc
/usr/share/doc/ruby-devel-2.0.0.648
/usr/share/doc/ruby-devel-2.0.0.648/COPYING
/usr/share/doc/ruby-devel-2.0.0.648/COPYING.ja
/usr/share/doc/ruby-devel-2.0.0.648/GPL
/usr/share/doc/ruby-devel-2.0.0.648/LEGAL
/usr/share/doc/ruby-devel-2.0.0.648/README.EXT
/usr/share/doc/ruby-devel-2.0.0.648/README.EXT.ja
References
Summary
In this tutorial we learn how to install ruby-devel.x86_64 on Amazon Linux 2 using yum.