Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Building Shoes on Linux

steveklabnik edited this page May 8, 2011 · 41 revisions

Building Shoes on Linux

Note on Ruby versions

You should build Shoes with 1.9.1 or 1.9.2, 1.8.7 may work, but isn't guaranteed right now.

Some other details

One should note that in the following, ${SHOES_HOME} is just wherever you want to install your shoes installation to. If you are unsure what to use, just use ~/shoes here.

Linux users should install dependencies through the distro’s package manager (these are the yum, apt-get and so on commands you will see below).

Building on Fedora

The following has been tested on Fedora 7, but should work on Fedora 6, CentOS v5 and RHEL5 as well:

git clone git://github.com/shoes/shoes.git ${SHOES_DIR}
cd ${SHOES_DIR} 
gem install bundler
sudo yum install -y giflib-devel cairo-devel libpixman-devel pango-devel libjpeg-devel gtk2-devel libcurl-devel ruby-devel portaudio-devel
rake

Building on Debian

git clone git://github.com/shoes/shoes.git ${SHOES_DIR} 
cd ${SHOES_DIR} 
gem install bundler
sudo apt-get install libcairo2-dev libpixman-1-dev libpango1.0-dev libungif4-dev libjpeg62-dev libgtk2.0-dev libsqlite3-dev libcurl4-openssl-dev portaudio19-dev ruby1.8-dev rake 
rake

Building on Ubuntu

sudo apt-get install git-core libcairo2-dev libpixman-1-dev libpango1.0-dev libungif4-dev libjpeg62-dev libgtk2.0-dev vlc libvlc-dev portaudio19-dev libsqlite3-dev libcurl4-openssl-dev makeself curl

Generically:

git clone git://github.com/shoes/shoes.git 
cd shoes 
gem install bundler
gem install mechanize
rake

Older Ubuntus may get apt-get errors with portaudio19-dev, which was previously known as libportaudio19-dev.

Building on Arch Linux

There is a package available in AUR. If you have yaourt installed, just

$ yaourt -S shoes-git

Otherwise, build it like any other package from the AUR.

How to Run

Once installed (wherever you set #{SHOES_HOME} to), you can run shoes by entering the command #{SHOES_HOME}/dist/shoes.

If you would prefer a desktop link that will start shoes for you, you can create a custom application launcher which points to this command. In Ubuntu, you can do this by right clicking on the desktop and selecting "Create Launcher" from the drop-down. Enter in "Shoes" for the name and the command #{SHOES_HOME}/dist/shoes into the "command" section. Note though that if you use a ~ in #{SHOES_NAME}, you must replace that with the actual location of your home folder. If your username is bob on the computer, then you would replace ~ with /home/bob/ in the command you enter into this field. Once you click "OK" you should be able to run shoes straight from your desktop. (You can also go through a similar process in order to make the application launchable from you Applications Menu).