-
Notifications
You must be signed in to change notification settings - Fork 168
Building Shoes on Linux
You should build Shoes with 1.9.1 or 1.9.2, 1.8.7 may work, but isn't guaranteed right now.
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).
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
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
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
gem install bundler
git clone git://github.com/shoes/shoes.git ${SHOES_DIR}
cd ${SHOES_DIR}
rake
-
Older Ubuntus may get apt-get errors with portaudio19-dev, which was previously known as libportaudio19-dev.
-
Ubuntu 11.04 added some architecture-specific directories in /usr/lib that may require manual intervention. For a 32-bit install:
sudo ln -s /usr/lib/i386-linux-gnu/libjpeg.so /usr/lib/libjpeg.so sudo ln -s /usr/lib/i386-linux-gnu/libsqlite3.so /usr/lib/libsqlite3.so
On a 64-bit install, try (untested):
sudo ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib/libjpeg.so sudo ln -s /usr/lib/x86_64-linux-gnu/libsqlite3.so /usr/lib/libsqlite3.so
git clone git://github.com/shoes/shoes.git
cd shoes
gem install bundler
gem install mechanize
rake
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.
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).