# Installing tk after the fact?

**URL:** <https://www.ruby-forum.com/t/installing-tk-after-the-fact/135641>\
**Category:** Ruby\
**Created:** [April 23, 2008, 8:38pm UTC](https://www.ruby-forum.com/t/installing-tk-after-the-fact/135641 "2008-04-23T20:38:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kyle\_s](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f6c823/32.png) [@kyle\_s](https://www.ruby-forum.com/u/kyle_s)\
**Post date:** [April 23, 2008, 8:38pm UTC](https://www.ruby-forum.com/t/installing-tk-after-the-fact/135641/1 "2008-04-23T20:38:55Z")

</div>

Is it even possible to install tk support after the fact for ruby 1.8?

Most of the boxes at work are running CentOS (RHEL clone), and I was  
going to write some small frontends in ruby/tk this morning. Lo and  
behold, there isn’t any ruby/tk library on here!

Ruby, Tcl & TK are both installed from the distro supplied rpms. I’ve  
done some searches for how to install ruby/tk, but so far all I’ve  
found were some notes stating to rebuild ruby with it.

Isn’t there any better way?

Thanks,  
Kyle

---

<div class="post-metadata">

**Author:** ![kyle\_s](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f6c823/32.png) [@kyle\_s](https://www.ruby-forum.com/u/kyle_s)\
**Post date:** [April 23, 2008, 8:42pm UTC](https://www.ruby-forum.com/t/installing-tk-after-the-fact/135641/2 "2008-04-23T20:42:27Z")

</div>

email[“both “]=””

---

<div class="post-metadata">

**Author:** ![kyle\_s](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f6c823/32.png) [@kyle\_s](https://www.ruby-forum.com/u/kyle_s)\
**Post date:** [April 23, 2008, 9:57pm UTC](https://www.ruby-forum.com/t/installing-tk-after-the-fact/135641/3 "2008-04-23T21:57:10Z")

</div>

My Ubuntu’s ruby, too, didn’t come installed with ruby-tk. I used my  
package manager to install it. Your package manager is ‘yum’, I think.  
Have you tried somethng along of ‘yum install ruby-tk’ ?

---

<div class="post-metadata">

**Author:** ![kyle\_s](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f6c823/32.png) [@kyle\_s](https://www.ruby-forum.com/u/kyle_s)\
**Post date:** [April 23, 2008, 10:18pm UTC](https://www.ruby-forum.com/t/installing-tk-after-the-fact/135641/4 "2008-04-23T22:18:30Z")

</div>

“yum list available ruby\*”  
did indeed show ruby-tcltk.i386

I’m kindof surprised here, as the centos installer didn’t show or make  
that available at all.

Hu.

Thanks a lot!

Although it does make me wonder, if you can add this after the fact  
with a package, shouldn’t there be instructions somewhere to build it  
on your own after the fact?

–Kyle
