Ubuntu 18.04: How to install Ruby1.9.1(ruby1.9.1-full, rubygems1.9.1, ruby1.9.1-dev)?











up vote
0
down vote

favorite












I have followed below steps to install Ruby1.9.1 on ubuntu 18.04 but it is showing latest ubuntu version after installation:



Steps:



sudo apt-get install ruby1.9.1-full
sudo apt-get install rubygems1.9.1
sudo apt-get install ruby1.9.1-dev
sudo update-alternatives --install /usr/bin/ruby ruby /usr/bin/ruby1.9.1 1


Response:



Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ruby1.9.1-full
E: Couldn't find any package by glob 'ruby1.9.1-full'
E: Couldn't find any package by regex 'ruby1.9.1-full'
Ruby apt-get installation failed, make sure that apt is working correctly and try again
./install_opentest.sh: line 135: break: only meaningful in a `for', `while', or `until' loop
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package rubygems1.9.1
E: Couldn't find any package by glob 'rubygems1.9.1'
E: Couldn't find any package by regex 'rubygems1.9.1'
rubygems apt-get installation failed, make sure that apt is working correctly and try again
./install_opentest.sh: line 135: break: only meaningful in a `for', `while', or `until' loop
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ruby1.9.1-dev
E: Couldn't find any package by glob 'ruby1.9.1-dev'
E: Couldn't find any package by regex 'ruby1.9.1-dev'


Is it possible to install ruby1.9.1 on Ubuntu 18.04?










share|improve this question




























    up vote
    0
    down vote

    favorite












    I have followed below steps to install Ruby1.9.1 on ubuntu 18.04 but it is showing latest ubuntu version after installation:



    Steps:



    sudo apt-get install ruby1.9.1-full
    sudo apt-get install rubygems1.9.1
    sudo apt-get install ruby1.9.1-dev
    sudo update-alternatives --install /usr/bin/ruby ruby /usr/bin/ruby1.9.1 1


    Response:



    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package ruby1.9.1-full
    E: Couldn't find any package by glob 'ruby1.9.1-full'
    E: Couldn't find any package by regex 'ruby1.9.1-full'
    Ruby apt-get installation failed, make sure that apt is working correctly and try again
    ./install_opentest.sh: line 135: break: only meaningful in a `for', `while', or `until' loop
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package rubygems1.9.1
    E: Couldn't find any package by glob 'rubygems1.9.1'
    E: Couldn't find any package by regex 'rubygems1.9.1'
    rubygems apt-get installation failed, make sure that apt is working correctly and try again
    ./install_opentest.sh: line 135: break: only meaningful in a `for', `while', or `until' loop
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package ruby1.9.1-dev
    E: Couldn't find any package by glob 'ruby1.9.1-dev'
    E: Couldn't find any package by regex 'ruby1.9.1-dev'


    Is it possible to install ruby1.9.1 on Ubuntu 18.04?










    share|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I have followed below steps to install Ruby1.9.1 on ubuntu 18.04 but it is showing latest ubuntu version after installation:



      Steps:



      sudo apt-get install ruby1.9.1-full
      sudo apt-get install rubygems1.9.1
      sudo apt-get install ruby1.9.1-dev
      sudo update-alternatives --install /usr/bin/ruby ruby /usr/bin/ruby1.9.1 1


      Response:



      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      E: Unable to locate package ruby1.9.1-full
      E: Couldn't find any package by glob 'ruby1.9.1-full'
      E: Couldn't find any package by regex 'ruby1.9.1-full'
      Ruby apt-get installation failed, make sure that apt is working correctly and try again
      ./install_opentest.sh: line 135: break: only meaningful in a `for', `while', or `until' loop
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      E: Unable to locate package rubygems1.9.1
      E: Couldn't find any package by glob 'rubygems1.9.1'
      E: Couldn't find any package by regex 'rubygems1.9.1'
      rubygems apt-get installation failed, make sure that apt is working correctly and try again
      ./install_opentest.sh: line 135: break: only meaningful in a `for', `while', or `until' loop
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      E: Unable to locate package ruby1.9.1-dev
      E: Couldn't find any package by glob 'ruby1.9.1-dev'
      E: Couldn't find any package by regex 'ruby1.9.1-dev'


      Is it possible to install ruby1.9.1 on Ubuntu 18.04?










      share|improve this question















      I have followed below steps to install Ruby1.9.1 on ubuntu 18.04 but it is showing latest ubuntu version after installation:



      Steps:



      sudo apt-get install ruby1.9.1-full
      sudo apt-get install rubygems1.9.1
      sudo apt-get install ruby1.9.1-dev
      sudo update-alternatives --install /usr/bin/ruby ruby /usr/bin/ruby1.9.1 1


      Response:



      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      E: Unable to locate package ruby1.9.1-full
      E: Couldn't find any package by glob 'ruby1.9.1-full'
      E: Couldn't find any package by regex 'ruby1.9.1-full'
      Ruby apt-get installation failed, make sure that apt is working correctly and try again
      ./install_opentest.sh: line 135: break: only meaningful in a `for', `while', or `until' loop
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      E: Unable to locate package rubygems1.9.1
      E: Couldn't find any package by glob 'rubygems1.9.1'
      E: Couldn't find any package by regex 'rubygems1.9.1'
      rubygems apt-get installation failed, make sure that apt is working correctly and try again
      ./install_opentest.sh: line 135: break: only meaningful in a `for', `while', or `until' loop
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      E: Unable to locate package ruby1.9.1-dev
      E: Couldn't find any package by glob 'ruby1.9.1-dev'
      E: Couldn't find any package by regex 'ruby1.9.1-dev'


      Is it possible to install ruby1.9.1 on Ubuntu 18.04?







      apt package-management software-installation ruby






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 21 hours ago









      N0rbert

      19k54088




      19k54088










      asked 23 hours ago









      Swapnil

      11




      11






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          According to search on http://packages.ubuntu.com Ruby 1.9.1 is available only for Ubuntu 14.04 LTS.



          According to official Ruby Maintenance Branches page 1.9.3 (as also 2.0.0, 2.1, 2.2) is EOL.



          Consider to install supported version of Ruby 2.5.1 for your Ubuntu 18.04 LTS:



          sudo apt install ruby2.5 ruby2.5-dev




          If you really need to install 1.9.1 - then compile it manually. But make sure that you want to use end-of-life and insecure version.






          share|improve this answer





















          • Thanks! Yes, I have dependency on ruby1.9.1 or ruby1.9.3. Is it possible for you to share steps to install ruby1.9.1-full, rubygems1.9.1, ruby1.9.1-dev, please? ruby1.9.3 will also work.
            – Swapnil
            18 hours ago











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














           

          draft saved


          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1093390%2fubuntu-18-04-how-to-install-ruby1-9-1ruby1-9-1-full-rubygems1-9-1-ruby1-9-1%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote













          According to search on http://packages.ubuntu.com Ruby 1.9.1 is available only for Ubuntu 14.04 LTS.



          According to official Ruby Maintenance Branches page 1.9.3 (as also 2.0.0, 2.1, 2.2) is EOL.



          Consider to install supported version of Ruby 2.5.1 for your Ubuntu 18.04 LTS:



          sudo apt install ruby2.5 ruby2.5-dev




          If you really need to install 1.9.1 - then compile it manually. But make sure that you want to use end-of-life and insecure version.






          share|improve this answer





















          • Thanks! Yes, I have dependency on ruby1.9.1 or ruby1.9.3. Is it possible for you to share steps to install ruby1.9.1-full, rubygems1.9.1, ruby1.9.1-dev, please? ruby1.9.3 will also work.
            – Swapnil
            18 hours ago















          up vote
          0
          down vote













          According to search on http://packages.ubuntu.com Ruby 1.9.1 is available only for Ubuntu 14.04 LTS.



          According to official Ruby Maintenance Branches page 1.9.3 (as also 2.0.0, 2.1, 2.2) is EOL.



          Consider to install supported version of Ruby 2.5.1 for your Ubuntu 18.04 LTS:



          sudo apt install ruby2.5 ruby2.5-dev




          If you really need to install 1.9.1 - then compile it manually. But make sure that you want to use end-of-life and insecure version.






          share|improve this answer





















          • Thanks! Yes, I have dependency on ruby1.9.1 or ruby1.9.3. Is it possible for you to share steps to install ruby1.9.1-full, rubygems1.9.1, ruby1.9.1-dev, please? ruby1.9.3 will also work.
            – Swapnil
            18 hours ago













          up vote
          0
          down vote










          up vote
          0
          down vote









          According to search on http://packages.ubuntu.com Ruby 1.9.1 is available only for Ubuntu 14.04 LTS.



          According to official Ruby Maintenance Branches page 1.9.3 (as also 2.0.0, 2.1, 2.2) is EOL.



          Consider to install supported version of Ruby 2.5.1 for your Ubuntu 18.04 LTS:



          sudo apt install ruby2.5 ruby2.5-dev




          If you really need to install 1.9.1 - then compile it manually. But make sure that you want to use end-of-life and insecure version.






          share|improve this answer












          According to search on http://packages.ubuntu.com Ruby 1.9.1 is available only for Ubuntu 14.04 LTS.



          According to official Ruby Maintenance Branches page 1.9.3 (as also 2.0.0, 2.1, 2.2) is EOL.



          Consider to install supported version of Ruby 2.5.1 for your Ubuntu 18.04 LTS:



          sudo apt install ruby2.5 ruby2.5-dev




          If you really need to install 1.9.1 - then compile it manually. But make sure that you want to use end-of-life and insecure version.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 21 hours ago









          N0rbert

          19k54088




          19k54088












          • Thanks! Yes, I have dependency on ruby1.9.1 or ruby1.9.3. Is it possible for you to share steps to install ruby1.9.1-full, rubygems1.9.1, ruby1.9.1-dev, please? ruby1.9.3 will also work.
            – Swapnil
            18 hours ago


















          • Thanks! Yes, I have dependency on ruby1.9.1 or ruby1.9.3. Is it possible for you to share steps to install ruby1.9.1-full, rubygems1.9.1, ruby1.9.1-dev, please? ruby1.9.3 will also work.
            – Swapnil
            18 hours ago
















          Thanks! Yes, I have dependency on ruby1.9.1 or ruby1.9.3. Is it possible for you to share steps to install ruby1.9.1-full, rubygems1.9.1, ruby1.9.1-dev, please? ruby1.9.3 will also work.
          – Swapnil
          18 hours ago




          Thanks! Yes, I have dependency on ruby1.9.1 or ruby1.9.3. Is it possible for you to share steps to install ruby1.9.1-full, rubygems1.9.1, ruby1.9.1-dev, please? ruby1.9.3 will also work.
          – Swapnil
          18 hours ago


















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1093390%2fubuntu-18-04-how-to-install-ruby1-9-1ruby1-9-1-full-rubygems1-9-1-ruby1-9-1%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          數位音樂下載

          格利澤436b

          When can things happen in Etherscan, such as the picture below?