Skip to content

Instantly share code, notes, and snippets.

@crofty
Created September 4, 2009 17:52
Show Gist options
  • Save crofty/181005 to your computer and use it in GitHub Desktop.
Save crofty/181005 to your computer and use it in GitHub Desktop.
Tokyo Cabinet / Tyrant install
# First do a check to see what versions of TC/TT are supported by the ruby gem
# http://rufus.rubyforge.org/rufus-tokyo/
# Install tokyo cabinet
wget http://sourceforge.net/projects/tokyocabinet/files/tokyocabinet/1.4.29/tokyocabinet-1.4.29.tar.gz/download
tar xvf tokyocabinet-1.4.29
cd tokyocabinet-1.4.29
./configure
make
sudo make install
wget http://sourceforge.net/projects/tokyocabinet/files/tokyotyrant/1.1.33/tokyotyrant-1.1.33.tar.gz/download
tar xvf tokyotyrant-1.1.33.tar.gz
cd tokyotyrant-1.1.33
./configure
make
sudo make install
cd ~/src
wget http://tokyocabinet.sourceforge.net/rubypkg/tokyocabinet-ruby-1.29.tar.gz
tar xvzf tokyocabinet-ruby-1.29.tar.gz
cd tokyocabinet-ruby-1.29/
ruby extconf.rb
make
sudo make install
# start with ttserver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment