Ruby package for Linux

Ok, I know nothing about linux packages.
Can someone tell me if there exists a package
for ruby with the version:

ruby 1.8.0 (2003-08-04) [i686-linux]

···


Jim Freeze

Oh, wow! Look at the moon!

— Jim Freeze jim@freeze.org wrote: > Ok, I know nothing about linux
packages.

Can someone tell me if there exists a package
for ruby with the version:

ruby 1.8.0 (2003-08-04) [i686-linux]

Depends on the distro, Jim (which you didn’t say). The lack of information
is appauling. If you’re using Debian Testing/Stable then I can say for
sure that there is.

Mind you, I’d be more inclined to download the source and compile it
yourself.

– Thomas Adam

···

=====
Thomas Adam

“The Linux Weekend Mechanic” – www.linuxgazette.com


Want to chat instantly with your online friends? Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk

Jim Freeze wrote:

Ok, I know nothing about linux packages.
Can someone tell me if there exists a package
for ruby with the version:

ruby 1.8.0 (2003-08-04) [i686-linux]

i always steal ruby rpms from this site:

http://www.caliban.org/ruby/

it’s impossible not to find if you spend a minute on google.

the above rpms work with redhat 7.x. grab the src rpm and rebuild (rpm
–rebuild) on your favorite distro/version.

ruby -v from this package prints:

ruby 1.8.0 (2003-08-04) [i686-linux-gnu]

PS: thanks, ian :slight_smile:

···


dave

It works with Red Hat 9, too - at least I am running it with no problems.
And I think it should work with most other distributions as well.

Cheers, Dario

···

On Tue, 23 Sep 2003 01:49:04 +0900 Thomas Adam wrote:

— Jim Freeze jim@freeze.org wrote:

Ok, I know nothing about linux packages.
Can someone tell me if there exists a package for ruby with the version:

ruby 1.8.0 (2003-08-04) [i686-linux]

Depends on the distro, Jim (which you didn’t say). The lack of information
is appauling. If you’re using Debian Testing/Stable then I can say for
sure that there is.

— Jim Freeze jim@freeze.org wrote: > Ok, I know nothing about linux
packages.

Can someone tell me if there exists a package
for ruby with the version:

ruby 1.8.0 (2003-08-04) [i686-linux]

Depends on the distro, Jim (which you didn’t say). The lack of information
is appauling. If you’re using Debian Testing/Stable then I can say for
sure that there is.

Like I said, I know nothing. I think the distro is Red Hat 7.1, but
I don’t know how to get the machine to tell me.

Mind you, I’d be more inclined to download the source and compile it
yourself.

Interesting.

···

On Tuesday, 23 September 2003 at 1:49:04 +0900, Thomas Adam wrote:


Jim Freeze

Your lucky color has faded.

Now that’s pretty neat.
Another stupid question: I noticed some binary rpm’s
for ruby. Do the binary installs have a fixed install
location?

If not, how to they modify the internal $LOAD_PATH’s
that are stored in the ruby binary?

···

On Tuesday, 23 September 2003 at 5:49:22 +0900, David Garamond wrote:

Jim Freeze wrote:

Ok, I know nothing about linux packages.
Can someone tell me if there exists a package
for ruby with the version:

ruby 1.8.0 (2003-08-04) [i686-linux]

i always steal ruby rpms from this site:

http://www.caliban.org/ruby/

it’s impossible not to find if you spend a minute on google.

the above rpms work with redhat 7.x. grab the src rpm and rebuild (rpm
–rebuild) on your favorite distro/version.


Jim Freeze

The law will never make men free; it is men who have got to make the
law free.
– Henry David Thoreau

— Jim Freeze jim@freeze.org wrote: > On Tuesday, 23 September 2003 at
1:49:04 +0900, Thomas Adam wrote:

— Jim Freeze jim@freeze.org wrote: > Ok, I know nothing about

Like I said, I know nothing. I think the distro is Red Hat 7.1, but
I don’t know how to get the machine to tell me.

``
uname -a
’’

And also doing:

``
less /etc/issue
’’

Will help ascertain this. If it is RH, try issuing:

``
rpm -qa | grep -i ruby
’’

to see if you do indeed have ruby installed.

Mind you, I’d be more inclined to download the source and compile it
yourself.

Interesting.

Yes, 'tis :slight_smile:

– Thomas Adam

···

=====
Thomas Adam

“The Linux Weekend Mechanic” – www.linuxgazette.com


Want to chat instantly with your online friends? Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk

Jim Freeze jim@freeze.org writes:

— Jim Freeze jim@freeze.org wrote: > Ok, I know nothing about linux
packages.

Can someone tell me if there exists a package
for ruby with the version:

ruby 1.8.0 (2003-08-04) [i686-linux]

Depends on the distro, Jim (which you didn’t say). The lack of information
is appauling. If you’re using Debian Testing/Stable then I can say for
sure that there is.

Like I said, I know nothing. I think the distro is Red Hat 7.1, but
I don’t know how to get the machine to tell me.

Mind you, I’d be more inclined to download the source and compile it
yourself.

Jim,

I just installed 1.8.0. All you have to do is grab the source from
ruby-lang.org and type “configure”, “make”, and “make install”. (You may
have to be root or use the “sudo” command to perform the install.)

I had problems with the CVS version because RedHat 7.1 is so old. The CVS
Ruby source comes without the configure script, which is generated by
autoconf. When I ran autoconf, it notified me that I needed a newer version
of autoconf. That’s when I tried the source from ruby-lang.org.

Jim

···

On Tuesday, 23 September 2003 at 1:49:04 +0900, Thomas Adam wrote:

Jim Menard, jimm@io.com, http://www.io.com/~jimm/
“The world is divided into one group: those who start counting at 0,
and those who don’t.” – Unknown

In article 20030922132254.A25494@freeze.org,

— Jim Freeze jim@freeze.org wrote: > Ok, I know nothing about linux
packages.

Can someone tell me if there exists a package
for ruby with the version:

ruby 1.8.0 (2003-08-04) [i686-linux]

Depends on the distro, Jim (which you didn’t say). The lack of information
is appauling. If you’re using Debian Testing/Stable then I can say for
sure that there is.

Like I said, I know nothing. I think the distro is Red Hat 7.1, but
I don’t know how to get the machine to tell me.

$ uname -a

Mind you, I’d be more inclined to download the source and compile it
yourself.

Interesting.

I’d second that. It’s very easy to just download the tarfile, untar it,
run:
(cd into the ruby directory)
$ ./configure
$ make

make install

Phil

···

Jim Freeze jim@freeze.org wrote:

On Tuesday, 23 September 2003 at 1:49:04 +0900, Thomas Adam wrote:

Jim Freeze wrote:

Now that’s pretty neat.
Another stupid question: I noticed some binary rpm’s
for ruby. Do the binary installs have a fixed install
location?

One can build “relocatable” RPMs for some packages, but in most cases
(including Ian’s ruby RPMs) they are always installed to a specific
location. In this case, ruby will be installed under the /usr prefix
(e.g. /usr/bin/ruby).

— Jim Freeze jim@freeze.org wrote: > On Tuesday, 23 September 2003 at
1:49:04 +0900, Thomas Adam wrote:

— Jim Freeze jim@freeze.org wrote: > Ok, I know nothing about

Like I said, I know nothing. I think the distro is Red Hat 7.1, but
I don’t know how to get the machine to tell me.

``
uname -a
’’

I did that one, but it didn’t tell me what I wanted to know:

Linux betty 2.4.20-20.7smp #1 SMP Mon Aug 18 14:46:14 EDT 2003 i686
unknown

And also doing:

``
less /etc/issue
’’

This one did the trick:

Red Hat Linux release 7.3 (Valhalla)
Kernel \r on an \m

Will help ascertain this. If it is RH, try issuing:

``
rpm -qa | grep -i ruby
’’

rpm -q ruby
ruby-1.6.7-2

Does Linux have a remote way to query what packages are
available or a URL with a listing?

···

On Tuesday, 23 September 2003 at 2:32:08 +0900, Thomas Adam wrote:


Jim Freeze

Hartley’s First Law:
You can lead a horse to water, but if you can get him to float
on his back, you’ve got something.

— Jim Menard jimm@io.com wrote: > Jim Freeze jim@freeze.org writes:

— Jim Freeze jim@freeze.org wrote: > Ok, I know nothing about
linux

packages.

Can someone tell me if there exists a package
for ruby with the version:

ruby 1.8.0 (2003-08-04) [i686-linux]

Depends on the distro, Jim (which you didn’t say). The lack of
information

is appauling. If you’re using Debian Testing/Stable then I can say
for

sure that there is.

Like I said, I know nothing. I think the distro is Red Hat 7.1, but
I don’t know how to get the machine to tell me.

Mind you, I’d be more inclined to download the source and compile it
yourself.

Jim,

Sigh…

I just installed 1.8.0. All you have to do is grab the source from
ruby-lang.org and type “configure”, “make”, and “make install”. (You may
have to be root or use the “sudo” command to perform the install.)

Nope. Sudo would require configuring first of all, and as Jim is a newbie,
I doubt that has been done yet. The steps I would take is:

``

cd $HOME && mkdir ./tmp
cp ./ruby-1.8.0.tar.gz ./tmp && cd ./tmp
tar xzvf ./ruby-1.8.0.tar.gz
cd ./ruby-*
./configure && make && su -c’make install’

‘’

HTH,

– Thomas Adam

···

On Tuesday, 23 September 2003 at 1:49:04 +0900, Thomas Adam wrote:

=====
Thomas Adam

“The Linux Weekend Mechanic” – www.linuxgazette.com


Want to chat instantly with your online friends? Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk

Like I said, I know nothing. I think the distro is Red Hat 7.1, but
I don’t know how to get the machine to tell me.

$ uname -a
cat /etc/issue
might help, too.

Ciao, -A.

···

Armin Roehrl, http://www.approximity.com
We manage risk

Doesn’t tell you the distro.

···

On Tuesday, 23 September 2003 at 5:51:30 +0900, Phil Tomson wrote:

In article 20030922132254.A25494@freeze.org,
Jim Freeze jim@freeze.org wrote:

On Tuesday, 23 September 2003 at 1:49:04 +0900, Thomas Adam wrote:

— Jim Freeze jim@freeze.org wrote: > Ok, I know nothing about linux
packages.

Can someone tell me if there exists a package
for ruby with the version:

ruby 1.8.0 (2003-08-04) [i686-linux]

Depends on the distro, Jim (which you didn’t say). The lack of information
is appauling. If you’re using Debian Testing/Stable then I can say for
sure that there is.

Like I said, I know nothing. I think the distro is Red Hat 7.1, but
I don’t know how to get the machine to tell me.

$ uname -a


Jim Freeze

I think that I shall never see
A billboard lovely as a tree.
Perhaps, unless the billboards fall
I’ll never see a tree at all.
– Ogden Nash

Does any distro actually put its name in uname? Just checked RedHat (9)
and Debian (3.0), and they only have the kernel info in uname, and the
distribution info in /etc/issue.

martin

···

Phil Tomson ptkwt@aracnet.com wrote:

$ uname -a

— Phil Tomson ptkwt@aracnet.com wrote:

In article 20030922132254.A25494@freeze.org,

— Jim Freeze jim@freeze.org wrote: > Ok, I know nothing about
linux

packages.

Can someone tell me if there exists a package
for ruby with the version:

ruby 1.8.0 (2003-08-04) [i686-linux]

Depends on the distro, Jim (which you didn’t say). The lack of
information

is appauling. If you’re using Debian Testing/Stable then I can say
for

sure that there is.

Like I said, I know nothing. I think the distro is Red Hat 7.1, but
I don’t know how to get the machine to tell me.

$ uname -a

No, Phil. If you read the archives, I had already replied about that, and
actually:

``
less /etc/issue
’’

is the one that worked in that instance.

Mind you, I’d be more inclined to download the source and compile it
yourself.

Interesting.

I’d second that. It’s very easy to just download the tarfile, untar it,

run:

[…elided…] – I’d also included instructions previously. Geez, you can’t
steal all my fame :slight_smile:

– Thomas Adam

···

Jim Freeze jim@freeze.org wrote:

On Tuesday, 23 September 2003 at 1:49:04 +0900, Thomas Adam wrote:

=====
Thomas Adam

“The Linux Weekend Mechanic” – www.linuxgazette.com


Want to chat instantly with your online friends? Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk

— Jim Freeze jim@freeze.org wrote:

— Jim Freeze jim@freeze.org wrote: > On Tuesday, 23 September
2003 at
1:49:04 +0900, Thomas Adam wrote:

— Jim Freeze jim@freeze.org wrote: > Ok, I know nothing about

This one did the trick:

Red Hat Linux release 7.3 (Valhalla)
Kernel \r on an \m

:slight_smile: Thought it might.

Will help ascertain this. If it is RH, try issuing:

``
rpm -qa | grep -i ruby
’’

rpm -q ruby
ruby-1.6.7-2

OK.

Does Linux have a remote way to query what packages are
available or a URL with a listing?

http://rpmfind.net

But in anycase, just download ruby-1.8.0 from source and compile it. The
instructions are in the README file.

– Thomas Adam

···

On Tuesday, 23 September 2003 at 2:32:08 +0900, Thomas Adam wrote:

=====
Thomas Adam

“The Linux Weekend Mechanic” – www.linuxgazette.com


Want to chat instantly with your online friends? Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk

— Jim Menard jimm@io.com wrote: > Jim Freeze jim@freeze.org writes:

— Jim Freeze jim@freeze.org wrote: > Ok, I know nothing about
linux

packages.

Nope. Sudo would require configuring first of all, and as Jim is a newbie,
I doubt that has been done yet. The steps I would take is:

I’m only a newbie to Linux packages. I have built Ruby many times
from source, for Linux, Sun and FreeBSD. What I don’t know about
is linux packages, hence the questions.

···

On Tuesday, 23 September 2003 at 2:56:56 +0900, Thomas Adam wrote:

On Tuesday, 23 September 2003 at 1:49:04 +0900, Thomas Adam wrote:


Jim Freeze

Today is the tomorrow you worried about yesterday

In article VTQbb.3784$UE6.3698@edtnps84,

$ uname -a

Does any distro actually put its name in uname? Just checked RedHat (9)
and Debian (3.0), and they only have the kernel info in uname, and the
distribution info in /etc/issue.

martin

Yeah, you’re right. I was looking at it on gentoo, here’s what it says:

uname -a

Linux traveller.home.com 2.4.19-gentoo #1 Mon Apr 29 14:24:34 PDT 2002
i686 GenuineIntel

A quick look made me think it was giving the distro, but closer inspection
reveals that gentoo is part of the kernel name.

Phil

···

Martin DeMello martindemello@yahoo.com wrote:

Phil Tomson ptkwt@aracnet.com wrote:

http://rpmfind.net

Thanks for the link.

But in anycase, just download ruby-1.8.0 from source and compile it. The
instructions are in the README file.

Boy, what a mess linux is with its multiple versions.
I think you are right. I’m not sure I can rely on a package,
especially when I need to keep a Sun version and a Linux
version in sync.

···

On Tuesday, 23 September 2003 at 2:48:36 +0900, Thomas Adam wrote:


Jim Freeze

A bird in the hand makes it awfully hard to blow your nose.