# Installing FileUtils Module

**URL:** <https://www.ruby-forum.com/t/installing-fileutils-module/82491>\
**Category:** Ruby\
**Created:** [January 19, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/installing-fileutils-module/82491 "2007-01-19T16:30:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lmcilwain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/ac91a4/32.png) [@lmcilwain](https://www.ruby-forum.com/u/lmcilwain)\
**Post date:** [January 19, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/installing-fileutils-module/82491/1 "2007-01-19T16:30:54Z")

</div>

Does anyone know how I can install the fileutils module for ruby? or  
tell me how I can check to see if I already have it installed be  
default?

---

<div class="post-metadata">

**Author:** ![lmcilwain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/ac91a4/32.png) [@lmcilwain](https://www.ruby-forum.com/u/lmcilwain)\
**Post date:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/installing-fileutils-module/82491/2 "2007-01-19T16:31:31Z")

</div>

On 1/14/07, Lovell [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Does anyone know how I can install the fileutils module for ruby? or  
> tell me how I can check to see if I already have it installed be  
> default?

FileUtils is part of the Ruby standard library. You just need to  
‘require’ it at the top of your program:  
require ‘fileutils’
