SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Zealot
    Join Date
    Oct 2004
    Location
    North America
    Posts
    173
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Installing Ruby on Linux

    How do I install ruby on linux, what is the cmd to get the the desktop

    cd $Home?

  2. #2
    SitePoint Addict
    Join Date
    Jan 2006
    Posts
    268
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    are you SSHing into linux or are you infront of the workstation with a GUI?

  3. #3
    SitePoint Addict
    Join Date
    Mar 2005
    Posts
    251
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Most distros come with ruby installed as standard. Try typing 'which ruby' and see if you get an answer.

  4. #4
    SitePoint Zealot
    Join Date
    Oct 2004
    Location
    North America
    Posts
    173
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Im using ubuntu linux

  5. #5
    SitePoint Enthusiast Wicksie's Avatar
    Join Date
    Aug 2002
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    _i think under Ubuntu you won't have it installed

    _as mentioned type 'which ruby' in your terminal and if you see something like /usr/bin/which: no ruby in (...) then you need to obtain it

    http://ruby-lang.org

    _if installed type 'ruby -v' in your terminal to see which version

    _something akin to the following should see you right

    $ tar -xvzf ruby-1.8.3.tar.gz
    go into the directory and configure your build
    $ cd ruby-1.8.3
    $ ./configure
    then run make and test if you wish
    $ make
    $ make test
    $ sudo make install

    _now, try 'ruby -v' once more and see what it returns. I am running SuSE 10.1 so it is all nicely set for me but i believe the above should help you out

  6. #6
    SitePoint Evangelist
    Join Date
    Apr 2005
    Posts
    485
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by thebillionaire
    Im using ubuntu linux
    can you synaptic it?

    also, iirc, debian doesn't install some useful package - so you have to install it separately. i'll check my notes tonight. not sure if this impacts ubuntu.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •