Originally Posted by
Overlordz
The Ubuntu 14.10 instructions on lichproject.org worked for me, more or less, but... it wasn't trivial.
For whatever reason something failed on the 'sudo gem install sqlite3 gtk2 --no-ri --no-rdoc' step. I continued on anyway, and the command line eventually told me to run 'sudo gem install gtk2' which succeeded that time (?) and then Lich started running.
But since I have ruby 2.3, there were problems there:
>;go2 town
--- Lich: go2 active.
--- Lich: error: $SAFE=2 to 4 are obsolete
lich.rbw:2533:in `block (3 levels) in <class:Script>'
lich.rbw:2533:in `block (2 levels) in <class:Script>'
--- Lich: go2 has exited.
That can be fixed by monkey patching your lich.rbw, but I'd not recommend that unless you know what you're doing. Seems Tillmen will need to do something to support ruby2.3 or higher eventually (set $SAFE to 1 instead of 3 iff ruby version is 2.3 or higher?). There's probably a way (PPA probably) to get specifically ruby 2.0 in ubuntu 16.04 but I wouldn't know how (beyond googling...).
tl;dr it can work in ubuntu 16.04 but it's not trivial because ruby 2.3 needs some love