{"id":3285,"date":"2023-04-21T16:34:37","date_gmt":"2023-04-21T13:34:37","guid":{"rendered":"https:\/\/www.virtono.com\/community\/?p=3285"},"modified":"2023-04-20T11:09:45","modified_gmt":"2023-04-20T08:09:45","slug":"how-to-install-rubygems-on-linux","status":"publish","type":"post","link":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-rubygems-on-linux\/","title":{"rendered":"How To Install RubyGems on Linux"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In this article, we will discuss how to install RubyGems on Linux. RubyGems is a package manager that allows you to easily install and manage Ruby software packages on your Linux machine.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Before we begin, it is important to note that RubyGems comes pre-installed with Ruby, so if you have Ruby installed on your machine, you should already have RubyGems. However, if you do not have Ruby installed, you can install it using your distribution package manager.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once you have Ruby installed, you can check whether or not RubyGems is installed by running the following command in your terminal:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>gem --version<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If you see a version number returned, then RubyGems is already installed on your machine. If not, you will need to install it manually.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To install RubyGems on Linux, follow the steps below:<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_73 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-rubygems-on-linux\/#Install_the_RubyGems_on_Linux_Ubuntu\" title=\"Install the RubyGems on Linux (Ubuntu)\">Install the RubyGems on Linux (Ubuntu)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-rubygems-on-linux\/#Update_RubyGems_on_Linux\" title=\"Update RubyGems on Linux\">Update RubyGems on Linux<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-rubygems-on-linux\/#Install_RubyGems_dependencies\" title=\"Install RubyGems dependencies\">Install RubyGems dependencies<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-rubygems-on-linux\/#Verify_the_installation\" title=\"Verify the installation\">Verify the installation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-rubygems-on-linux\/#Install_a_gem\" title=\"Install a gem\">Install a gem<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-rubygems-on-linux\/#Install_the_RubyGems_on_Linux_CentOS\" title=\"Install the RubyGems on Linux (CentOS)\">Install the RubyGems on Linux (CentOS)<\/a><\/li><\/ul><\/nav><\/div>\n<h3 class=\"wp-block-heading has-header-gradient-color has-text-color\"><span class=\"ez-toc-section\" id=\"Install_the_RubyGems_on_Linux_Ubuntu\"><\/span>Install the RubyGems on Linux (Ubuntu)<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The first step in installing RubyGems on Linux is to install the RubyGems package. To do this, open your terminal and type the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>sudo apt-get install rubygems<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This command will install the RubyGems package on <a href=\"https:\/\/www.virtono.com\/cloud-vps\">your machine<\/a>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"193\" data-attachment-id=\"3286\" data-permalink=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-rubygems-on-linux\/attachment\/screenshot-2023-04-19-at-16-29-14\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-19-at-16.29.14.png?fit=1407%2C361&amp;ssl=1\" data-orig-size=\"1407,361\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-2023-04-19-at-16.29.14\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-19-at-16.29.14.png?fit=750%2C193&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-19-at-16.29.14.png?resize=750%2C193&#038;ssl=1\" alt=\"Install the RubyGems on Linux\" class=\"wp-image-3286\" srcset=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-19-at-16.29.14.png?resize=1024%2C263&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-19-at-16.29.14.png?resize=300%2C77&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-19-at-16.29.14.png?resize=768%2C197&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-19-at-16.29.14.png?w=1407&amp;ssl=1 1407w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading has-header-gradient-color has-text-color\"><span class=\"ez-toc-section\" id=\"Update_RubyGems_on_Linux\"><\/span>Update RubyGems on Linux<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Once RubyGems is installed, you should update it to the latest version. To do this, run the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>sudo gem update --system<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This command will update RubyGems to the latest version available.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"338\" data-attachment-id=\"3287\" data-permalink=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-rubygems-on-linux\/attachment\/screenshot-2023-04-19-at-16-30-39\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-19-at-16.30.39.png?fit=809%2C365&amp;ssl=1\" data-orig-size=\"809,365\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-2023-04-19-at-16.30.39\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-19-at-16.30.39.png?fit=750%2C338&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-19-at-16.30.39.png?resize=750%2C338&#038;ssl=1\" alt=\"Update RubyGems on Linux\" class=\"wp-image-3287\" srcset=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-19-at-16.30.39.png?w=809&amp;ssl=1 809w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-19-at-16.30.39.png?resize=300%2C135&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-19-at-16.30.39.png?resize=768%2C347&amp;ssl=1 768w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading has-header-gradient-color has-text-color\"><span class=\"ez-toc-section\" id=\"Install_RubyGems_dependencies\"><\/span>Install RubyGems dependencies<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">RubyGems requires some dependencies to function properly. To install these dependencies, run the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>sudo apt-get install build-essential<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>sudo apt install ruby-full<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This command will install the necessary dependencies for RubyGems to function.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-header-gradient-color has-text-color\"><span class=\"ez-toc-section\" id=\"Verify_the_installation\"><\/span>Verify the installation<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">To verify that RubyGems is installed correctly, run the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>gem -v<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This command should return the version number of RubyGems that you just installed.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-header-gradient-color has-text-color\"><span class=\"ez-toc-section\" id=\"Install_a_gem\"><\/span>Install a gem<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Now that RubyGems is installed and functioning properly, you can use it to install gems. To install a gem, run the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>sudo gem install &lt;gemname&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Replace <code>&lt;gemname&gt;<\/code> with the name of the gem you want to install. For example, to install the <code>rails<\/code> gem, you would run the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>sudo gem install rails<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This command will install the <code>rails<\/code> gem and any necessary dependencies.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-header-gradient-color has-text-color\"><span class=\"ez-toc-section\" id=\"Install_the_RubyGems_on_Linux_CentOS\"><\/span>Install the RubyGems on Linux (CentOS)<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Update your system<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Before installing RubyGems, it is recommended to update your system to ensure that you have the latest software packages installed. To update your CentOS system, run the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>sudo yum update<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Install Ruby and RubyGems<\/strong> on Linux<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">CentOS comes with a version of Ruby installed by default, but it may not include RubyGems. To install Ruby and RubyGems on CentOS, run the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>sudo yum install ruby rubygems<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This command will install both Ruby and RubyGems on your system.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"368\" data-attachment-id=\"3290\" data-permalink=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-rubygems-on-linux\/attachment\/screenshot-2023-04-20-104544\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-20-104544.png?fit=844%2C414&amp;ssl=1\" data-orig-size=\"844,414\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-2023-04-20-104544\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-20-104544.png?fit=750%2C368&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-20-104544.png?resize=750%2C368&#038;ssl=1\" alt=\"Install the RubyGems on Linux (CentOS)\" class=\"wp-image-3290\" srcset=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-20-104544.png?w=844&amp;ssl=1 844w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-20-104544.png?resize=300%2C147&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-20-104544.png?resize=768%2C377&amp;ssl=1 768w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong>Verify the installation<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After installing Ruby and RubyGems, you can verify that they are installed correctly by running the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>&#91;root@Virtono-Tutorials ~]# ruby -v\r\nruby 2.0.0p648 (2015-12-16) &#91;x86_64-linux]\r\n&#91;root@Virtono-Tutorials ~]# gem -v\r\n2.0.14.1\r\n&#91;root@Virtono-Tutorials ~]#\r<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">These commands should return the version numbers of Ruby and RubyGems respectively.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Install a gem<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To install a gem using RubyGems on CentOS, you can use the same command as on other Linux distributions:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>sudo gem install &lt;gemname><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Replace <code>&lt;gemname><\/code> with the name of the gem, you want to install. For example, to install the <code>rails<\/code> gem, you would run the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>sudo gem install rails<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This command will install the <code>rails<\/code> gem and any necessary dependencies.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">How to fix the following error:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>&#91;root@Virtono-Tutorials ~]# sudo gem install rails<br>Fetching: concurrent-ruby-1.2.2.gem (100%)<br>ERROR: Error installing rails:<br>concurrent-ruby requires Ruby version &gt;= 2.3.<br>&#91;root@Virtono-Tutorials ~]#<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Install a newer version of Ruby<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If your version of Ruby is older than 2.3, you will need to install a newer version. There are several ways to do this, but one of the most common is to use a Ruby version manager such as <code>rvm<\/code> or <code>rbenv<\/code>.<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code># sudo yum install -y git curl zlib-devel gcc-c++ patch readline readline-devel \\\nlibyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison sqlite-devel\n\n# git clone https:\/\/github.com\/rbenv\/rbenv.git ~\/.rbenv\necho 'export PATH=\"$HOME\/.rbenv\/bin:$PATH\"' >> ~\/.bashrc\necho 'eval \"$(rbenv init -)\"' >> ~\/.bashrc\nsource ~\/.bashrc\n\n# git clone https:\/\/github.com\/rbenv\/ruby-build.git ~\/.rbenv\/plugins\/ruby-build\n\n# rbenv install 2.3.8\n\n#rbenv global 2.3.8\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Note: Remove &#8220;#&#8221;<\/em><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, we will discuss how to install RubyGems on Linux. RubyGems is a package manager that allows you to easily install and manage Ruby software packages on your Linux machine. Before we begin, it is important to note that RubyGems comes pre-installed with Ruby, so if you have<\/p>\n","protected":false},"author":8,"featured_media":3291,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[3],"tags":[315,320,318,319,317,314,316],"class_list":["post-3285","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorial-how-to","tag-install-a-gem","tag-install-ruby","tag-ruby-on-centos","tag-ruby-on-ubuntu","tag-rubygems-dependencies","tag-rubygems-on-centos","tag-rubygems-on-ubuntu"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/How-To-Install-RubyGems-on-Linux.png?fit=600%2C330&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7ISfL-QZ","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":3420,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-tensorflow-on-linux\/","url_meta":{"origin":3285,"position":0},"title":"How to Install TensorFlow On Linux","author":"George B.","date":"May 29, 2023","format":false,"excerpt":"Whether you're an aspiring data scientist or a seasoned professional, knowing how to install TensorFlow on Linux distribution is crucial. In this tutorial, we will guide you through the installation process on popular Linux distributions such as CentOS, Ubuntu, AlmaLinux, and Rocky Linux. TensorFlow is a versatile and powerful open-source\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/How-to-Install-TensorFlow-On-Linux.png?fit=600%2C330&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/How-to-Install-TensorFlow-On-Linux.png?fit=600%2C330&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/How-to-Install-TensorFlow-On-Linux.png?fit=600%2C330&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":3438,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-apache-spark-on-ubuntu-22-04-and-centos\/","url_meta":{"origin":3285,"position":1},"title":"How to install Apache Spark on Ubuntu 22.04 and CentOS","author":"George B.","date":"June 1, 2023","format":false,"excerpt":"We will guide you through the process of installing Apache Spark on Ubuntu 22.04, 20.04, and CentOS, ensuring you have all the necessary tools to leverage this incredible technology. Apache Spark is a powerful open-source framework for distributed computing that has become a go-to solution for big data processing. With\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/How-to-install-Apache-Spark-on-Ubuntu-22.04-and-CentOS.png?fit=600%2C330&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/How-to-install-Apache-Spark-on-Ubuntu-22.04-and-CentOS.png?fit=600%2C330&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/How-to-install-Apache-Spark-on-Ubuntu-22.04-and-CentOS.png?fit=600%2C330&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":3448,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-gitlab-on-linux\/","url_meta":{"origin":3285,"position":2},"title":"How to Install GitLab on Linux","author":"George B.","date":"June 3, 2023","format":false,"excerpt":"We will walk you through the step-by-step process of installing GitLab on Linux. Whether you are an Ubuntu or CentOS user, this guide has got you covered! GitLab is a powerful web-based Git repository manager that provides a complete DevOps platform for managing code repositories, continuous integration\/continuous deployment (CI\/CD), issue\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/How-to-Install-GitLab-on-Linux.png?fit=600%2C330&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/How-to-Install-GitLab-on-Linux.png?fit=600%2C330&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/How-to-Install-GitLab-on-Linux.png?fit=600%2C330&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":3904,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-flask-on-ubuntu-and-centos\/","url_meta":{"origin":3285,"position":3},"title":"How to Install Flask on Ubuntu and CentOS","author":"George B.","date":"September 20, 2023","format":false,"excerpt":"Flask, a micro web framework written in Python, is an excellent tool for developers looking to create robust web applications. Its simplicity and flexibility make it a popular choice among developers worldwide. This article will guide you through the process of installing Flask on Ubuntu and CentOS. Prerequisites Make sure\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/How-to-Install-Flask-on-Ubuntu-and-CentOS.png?fit=360%2C240&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":3472,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-apache-maven-on-centos-7\/","url_meta":{"origin":3285,"position":4},"title":"How to install Apache Maven on CentOS 7","author":"George B.","date":"June 8, 2023","format":false,"excerpt":"We will walk you through the process of installing Apache Maven on CentOS Linux. We will cover the installation of the necessary packages, configuring the environment variables, and demonstrate how to build projects using Maven. Apache Maven is a powerful build automation tool that plays a crucial role in managing\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/06\/How-to-install-Apache-Maven-on-CentOS-7.png?fit=600%2C330&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/06\/How-to-install-Apache-Maven-on-CentOS-7.png?fit=600%2C330&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/06\/How-to-install-Apache-Maven-on-CentOS-7.png?fit=600%2C330&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":3264,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-ansible-on-centos\/","url_meta":{"origin":3285,"position":5},"title":"How to install Ansible on CentOS","author":"George B.","date":"April 18, 2023","format":false,"excerpt":"In this article, we will discuss how to install Ansible on CentOS, one of the most popular Linux distributions used in server environments. Ansible is a powerful automation tool that can be used to manage configurations, deploy applications, and perform various administrative tasks on remote servers. Step 1: Update Your\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/How-To-Install-Ansible-CentOS.png?fit=600%2C330&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/How-To-Install-Ansible-CentOS.png?fit=600%2C330&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/How-To-Install-Ansible-CentOS.png?fit=600%2C330&ssl=1&resize=525%2C300 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/3285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/comments?post=3285"}],"version-history":[{"count":2,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/3285\/revisions"}],"predecessor-version":[{"id":3292,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/3285\/revisions\/3292"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/media\/3291"}],"wp:attachment":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/media?parent=3285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/categories?post=3285"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/tags?post=3285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}