<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://gswiki.play.net/index.php?action=history&amp;feed=atom&amp;title=Lich%3ASoftware%2FInstallation%2FLinux</id>
	<title>Lich:Software/Installation/Linux - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://gswiki.play.net/index.php?action=history&amp;feed=atom&amp;title=Lich%3ASoftware%2FInstallation%2FLinux"/>
	<link rel="alternate" type="text/html" href="https://gswiki.play.net/index.php?title=Lich:Software/Installation/Linux&amp;action=history"/>
	<updated>2026-11-14T22:19:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.12</generator>
	<entry>
		<id>https://gswiki.play.net/index.php?title=Lich:Software/Installation/Linux&amp;diff=267885&amp;oldid=prev</id>
		<title>HORIBU1: Merge Debian/Arch/Fedora Lich install into one Linux guide</title>
		<link rel="alternate" type="text/html" href="https://gswiki.play.net/index.php?title=Lich:Software/Installation/Linux&amp;diff=267885&amp;oldid=prev"/>
		<updated>2026-11-14T17:38:49Z</updated>

		<summary type="html">&lt;p&gt;Merge Debian/Arch/Fedora Lich install into one Linux guide&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{3rd-party}}&lt;br /&gt;
{{Lich install nav}}&lt;br /&gt;
This guide installs Lich on &amp;#039;&amp;#039;&amp;#039;Linux&amp;#039;&amp;#039;&amp;#039; and on &amp;#039;&amp;#039;&amp;#039;Chromebooks&amp;#039;&amp;#039;&amp;#039; (through ChromeOS&amp;#039;s Linux environment). Only the first step is different for each distribution. Every other step is the same for all of them. You will type commands into a terminal; copy each block, paste it, press Enter, and let it finish before you go on. Allow 30 to 60 minutes, most of which is spent waiting for Ruby to build.&lt;br /&gt;
&lt;br /&gt;
{{blue|These instructions are for GemStone IV. DragonRealms players: see the [https://elanthipedia.play.net/Lich_script_repository#Setup_and_Installation DragonRealms Lich setup guide] on Elanthipedia.}}&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Already have Lich?&amp;#039;&amp;#039;&amp;#039; See [[Lich:Software/Installation/Upgrading|Upgrading Lich]] instead.&lt;br /&gt;
&lt;br /&gt;
==What you need==&lt;br /&gt;
* A Simutronics account.&lt;br /&gt;
* A Linux system that you can run &amp;lt;code&amp;gt;sudo&amp;lt;/code&amp;gt; on.&lt;br /&gt;
* A front end. On Linux that is [[Saga]] (official, in beta), [[Lich:Profanity|Profanity]] (in the terminal) or Warlock. You set it up at the end, in [[#Step_7:_Set_up_a_front_end|step 7]].&lt;br /&gt;
&lt;br /&gt;
==Step 1: Install the required packages==&lt;br /&gt;
Run the commands for your distribution only, then go on to step 2.&lt;br /&gt;
&amp;lt;span id=&amp;quot;Chromebook_&amp;amp;_Debian_variants&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span id=&amp;quot;Chromebook_.26_Debian_variants&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span id=&amp;quot;Arch_Linux_&amp;amp;_Arch-based_distributions&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span id=&amp;quot;Arch_Linux_.26_Arch-based_distributions&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Debian, Ubuntu and Chromebook===&lt;br /&gt;
On a Chromebook, first turn on Linux: open &amp;#039;&amp;#039;&amp;#039;Settings &amp;amp;rarr; About ChromeOS &amp;amp;rarr; Developers &amp;amp;rarr; Linux development environment&amp;#039;&amp;#039;&amp;#039; and click &amp;#039;&amp;#039;&amp;#039;Turn on&amp;#039;&amp;#039;&amp;#039;. Then open the &amp;#039;&amp;#039;&amp;#039;Terminal&amp;#039;&amp;#039;&amp;#039; app.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y update&lt;br /&gt;
sudo apt-get -y install autoconf bison build-essential curl libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm6 libgdbm-dev libsqlite3-dev git unzip libcairo2-dev libgirepository1.0-dev libgtk-3-dev gobject-introspection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Arch, Manjaro, EndeavourOS and other Arch-based distributions===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo pacman -Syu&lt;br /&gt;
sudo pacman -S --needed base-devel openssl libyaml readline zlib ncurses libffi gdbm sqlite git unzip curl gtk3 gobject-introspection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Fedora===&lt;br /&gt;
Fedora&amp;#039;s own Ruby is too old for Lich ({{Lich version|ruby-series}} or newer is required; Fedora 41 ships Ruby 3.3, and Fedora 42 and 43 ship Ruby 3.4). Install these packages, then step 3 installs a newer Ruby alongside Fedora&amp;#039;s.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dnf -y update&lt;br /&gt;
sudo dnf -y install git autoconf bison cairo-devel curl gcc gdbm gdbm-devel gdk-pixbuf2-devel glib2-devel gobject-introspection-devel gtk3-devel libyaml-devel libffi-devel make ncurses-devel openssl-devel readline-devel redhat-rpm-config sqlite-devel unzip zlib-devel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Step 2: Install rbenv==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;[https://github.com/rbenv/rbenv rbenv]&amp;#039;&amp;#039;&amp;#039; is a Ruby version manager. It lets you install the Ruby version Lich needs without changing the Ruby your system uses. These commands download it, add it to your &amp;lt;code&amp;gt;PATH&amp;lt;/code&amp;gt; so the terminal can find it, and set it to load each time you open a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/rbenv/rbenv.git ~/.rbenv&lt;br /&gt;
echo &amp;#039;export PATH=&amp;quot;$HOME/.rbenv/bin:$PATH&amp;quot;&amp;#039; &amp;gt;&amp;gt; ~/.bashrc&lt;br /&gt;
echo &amp;#039;eval &amp;quot;$(rbenv init -)&amp;quot;&amp;#039; &amp;gt;&amp;gt; ~/.bashrc&lt;br /&gt;
source ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:&amp;lt;small&amp;gt;These lines assume the bash shell, the default on all the distributions above. If you use another shell such as zsh, add the two &amp;lt;code&amp;gt;echo&amp;lt;/code&amp;gt; lines to that shell&amp;#039;s startup file (for example &amp;lt;code&amp;gt;~/.zshrc&amp;lt;/code&amp;gt;) instead.&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Step 3: Install Ruby {{Lich version|ruby}}==&lt;br /&gt;
Download &amp;#039;&amp;#039;&amp;#039;ruby-build&amp;#039;&amp;#039;&amp;#039;, the rbenv plugin that builds Ruby. Then install Ruby {{Lich version|ruby}} and make it your default. Building Ruby takes several minutes.&lt;br /&gt;
{{#tag:pre|&lt;br /&gt;
git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build&lt;br /&gt;
rbenv install {{Lich version|ruby}} -v&lt;br /&gt;
rbenv global {{Lich version|ruby}}&lt;br /&gt;
ruby -v&lt;br /&gt;
}}&lt;br /&gt;
The last command should print a line that starts with &amp;lt;code&amp;gt;ruby {{Lich version|ruby}}&amp;lt;/code&amp;gt;. If it does not, close the terminal, open a new one and run &amp;lt;code&amp;gt;ruby -v&amp;lt;/code&amp;gt; again.&lt;br /&gt;
&lt;br /&gt;
==Step 4: Download Lich==&lt;br /&gt;
This puts Lich in a &amp;lt;code&amp;gt;Lich5&amp;lt;/code&amp;gt; folder in your home directory (&amp;lt;code&amp;gt;~/Lich5&amp;lt;/code&amp;gt;):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
curl -L &amp;quot;https://github.com/elanthia-online/lich-5/releases/latest/download/lich-5.zip&amp;quot; -o temp.zip &amp;amp;&amp;amp; unzip temp.zip -d ./ &amp;amp;&amp;amp; rm temp.zip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Step 5: Install the gems Lich needs==&lt;br /&gt;
Lich lists the gems (Ruby add-on libraries) it needs in a file named &amp;lt;code&amp;gt;Gemfile&amp;lt;/code&amp;gt;, and &amp;#039;&amp;#039;&amp;#039;Bundler&amp;#039;&amp;#039;&amp;#039; installs them for you. The first line below stops Ruby from building documentation for each gem, which is slow, and the documentation is online anyway. The &amp;lt;code&amp;gt;bundle config&amp;lt;/code&amp;gt; line skips gems that only Lich&amp;#039;s developers need (the &amp;lt;code&amp;gt;development&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;vscode&amp;lt;/code&amp;gt; groups).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
echo &amp;quot;gem: --no-document&amp;quot; &amp;gt; ~/.gemrc&lt;br /&gt;
cd ~/Lich5&lt;br /&gt;
bundle config set --local without &amp;#039;development vscode&amp;#039;&lt;br /&gt;
bundle install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When it finishes you should see a line that starts with &amp;lt;code&amp;gt;Bundle complete!&amp;lt;/code&amp;gt;. This also installs the gems Profanity uses.&lt;br /&gt;
:&amp;lt;small&amp;gt;Older guides use &amp;lt;code&amp;gt;bundle install --without ...&amp;lt;/code&amp;gt;. That option was removed from the Bundler that comes with Ruby {{Lich version|ruby-series}}, so use &amp;lt;code&amp;gt;bundle config set&amp;lt;/code&amp;gt; as shown above.&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Step 6: Start Lich==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ruby ~/Lich5/lich.rbw&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The Lich login window opens. The first time Lich connects to the game, it downloads its map files; wait for that to finish. How you log in depends on your front end, which is the next step.&lt;br /&gt;
&lt;br /&gt;
==Step 7: Set up a front end==&lt;br /&gt;
Lich needs a front end to show you the game. Follow the setup for the one you want on the [[Lich:Software/Front ends|Front ends]] page:&lt;br /&gt;
* [[Lich:Software/Front ends#Saga|Saga]]: the official graphical front end. Saga can start Lich for you.&lt;br /&gt;
* [[Lich:Software/Front ends#Profanity|Profanity]]: runs in the terminal.&lt;br /&gt;
* [[Lich:Software/Front ends#Warlock|Warlock]]: a third-party graphical front end.&lt;br /&gt;
&amp;lt;span id=&amp;quot;Frontends&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Getting help==&lt;br /&gt;
Ask in the #scripting or #help channel of the [https://discord.gg/KF9Wr8u GemStone IV Discord]. Say which distribution you use and which step failed, and copy the exact error message.&lt;br /&gt;
&lt;br /&gt;
{{Third-Party Software}}&lt;br /&gt;
[[Category:New Player]]&lt;/div&gt;</summary>
		<author><name>HORIBU1</name></author>
	</entry>
</feed>