From: James Britt Date: 2009-06-11T01:01:55+09:00 Subject: Re: centos and ruby 1.9.1 - possible? �lph� Bl�� wrote: > James Britt wrote: >> ���lph��� Bl������ wrote: >>> I hate even typing the question but my vps template has centos >>> unfortunately. So, I'm looking for instructions on how to install ruby >>> with centos and yum... >>> >>> Anyone have some solutions for me - advice? >> >> Build from source? > > Again, my problem is there's very little documentation out there for > centos and how to accomplish this. > > For instance, on Ubuntu if I need to do this I know which apts I'll need > to get before compiling from source. On Centos, those same apts don't > appear to apply. > I have a Centos4 machine I look after. It is *really* annoying. What I've learned: yum is pretty much like apt-get. Try yum search to see what's available. Centos repos are way out of date (likely because they want to be sure all items play nice) If you want something new (such as MySQL 5), you need to add new repos to the repo lists. You have to Google around to get the details. I'm pretty sure that building ruby mostly means wget'ing the source and reading the INSTALL file. You *may* have trouble with zlib and ssl, but I *think* you can get the devel packages for those via yum. Google for help on installing Ruby 1.8.x on CentOS; it's pretty much the same deal. Also, for your Windows box, go grab a free version of VMWare and install CentOS 4 so you can play around safely. -- James Britt www.jamesbritt.com - Playing with Better Toys www.ruby-doc.org - Ruby Help & Documentation www.rubystuff.com - The Ruby Store for Ruby Stuff www.neurogami.com - Smart application development