# Running Cata on Linux

**URL:** <https://discourse.cataclysmdda.org/t/running-cata-on-linux/8427>\
**Category:** The Bunker\
**Created:** [December 25, 2014, 10:46pm UTC](https://discourse.cataclysmdda.org/t/running-cata-on-linux/8427 "2014-12-25T22:46:44Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![bahihs](https://avatars.discourse-cdn.com/v4/letter/b/3d9bf3/32.png) [@bahihs](https://discourse.cataclysmdda.org/u/bahihs)\
**Post date:** [December 25, 2014, 10:46pm UTC](https://discourse.cataclysmdda.org/t/running-cata-on-linux/8427/1 "2014-12-25T22:46:44Z")

</div>

I have Linux Mint 17, I’m trying to run Cataclysm DDA Brin.

I’m new to Linux though, so I’m not sure how to go about doing this. I downloaded the linux version, but upon trying to run the CDDA-tiles a grey window will come up and then disappear.

I assume I have to compile, a set of instructions would be very helpful.

---

<div class="post-metadata">

**Author:** ![KA101](https://avatars.discourse-cdn.com/v4/letter/k/278dde/32.png) [@KA101](https://discourse.cataclysmdda.org/u/KA101)\
**Post date:** [December 26, 2014, 1:09am UTC](https://discourse.cataclysmdda.org/t/running-cata-on-linux/8427/2 "2014-12-26T01:09:01Z")

</div>

Dunno if the Gentoo and Ubuntu notes on the [wiki](http://www.wiki.cataclysmdda.com/index.php?title=How_to_compile#Linux) would be of any help; unfortunately, they’re all I’ve got. :-/

---

<div class="post-metadata">

**Author:** ![jokermatt999](https://avatars.discourse-cdn.com/v4/letter/j/e9bcb4/32.png) [@jokermatt999](https://discourse.cataclysmdda.org/u/jokermatt999)\
**Post date:** [December 26, 2014, 1:23am UTC](https://discourse.cataclysmdda.org/t/running-cata-on-linux/8427/3 "2014-12-26T01:23:37Z")

</div>

Try cd’ing to the Cata directory and do ./cataclysm-launcher

That’s always worked for me, but I usually do terminal mode on my lil Linux netbook.

---

<div class="post-metadata">

**Author:** ![Daidalon](https://avatars.discourse-cdn.com/v4/letter/d/77aa72/32.png) [@Daidalon](https://discourse.cataclysmdda.org/u/Daidalon)\
**Post date:** [December 26, 2014, 1:46am UTC](https://discourse.cataclysmdda.org/t/running-cata-on-linux/8427/4 "2014-12-26T01:46:38Z")

</div>

Failing that, cd to the directory and run “sudo ./cataclysm-launcher”

---

<div class="post-metadata">

**Author:** ![Coolthulhu](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/coolthulhu/32/2446_2.png) [@Coolthulhu](https://discourse.cataclysmdda.org/u/Coolthulhu)\
**Post date:** [December 26, 2014, 3:03am UTC](https://discourse.cataclysmdda.org/t/running-cata-on-linux/8427/5 "2014-12-26T03:03:58Z")

</div>

[ol][li]Open console[/li]  
[li]Run this command: `git clone https://github.com/CleverRaven/Cataclysm-DDA.git`[/li]  
[li]Go into the directory (`cd Cataclysm-DDA`)[/li]  
[li]`make RELEASE=1` (no tiles) or `make RELEASE=1 TILES=1` (with tiles), add LOCALIZE=0 if you don’t want languages other than english[/li]  
[li]When it finishes, run with `./cataclysm`[/li][/ol]

If it complains about not knowing what is git (I think it shouldn’t, but it can), run `sudo apt-get install git`.  
If it complains about missing SDL in the part with `make`, run `sudo apt-get install libsdl2-dev`. If about missing gettext, I think it should be `sudo apt-get install gettext` or add LOCALIZE=0 to line with `make`.

---

<div class="post-metadata">

**Author:** ![bahihs](https://avatars.discourse-cdn.com/v4/letter/b/3d9bf3/32.png) [@bahihs](https://discourse.cataclysmdda.org/u/bahihs)\
**Post date:** [January 2, 2015, 1:35am UTC](https://discourse.cataclysmdda.org/t/running-cata-on-linux/8427/6 "2015-01-02T01:35:23Z")

</div>

Thanks for the help, but it doesn’t seem to be working.

If try cd’ing and then running using terminal I get this:

‘Couldn’t find Cataclysm game binary in [directory]’

If I try doing Coolthulu’s method I get stuck on the ‘make RELEASE=0’ getting an error saying:

make: g++ command not found

I’m using the Linux SDL/tiles version if that helps, should I be using Linux curses?

---

<div class="post-metadata">

**Author:** ![Coolthulhu](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/coolthulhu/32/2446_2.png) [@Coolthulhu](https://discourse.cataclysmdda.org/u/Coolthulhu)\
**Post date:** [January 2, 2015, 3:09am UTC](https://discourse.cataclysmdda.org/t/running-cata-on-linux/8427/7 "2015-01-02T03:09:20Z")

</div>

> [@bahihs](#):
>
> make: g++ command not found

There’s no g++ in mint by default. That’s easy to fix, though.

First try `sudo apt-get install g++`. Then retry points 3 and 4.

If that doesn’t work, find the actual name of your g++. To do this, open a console, write g++ and then press escape or tab twice so that it tries to autocomplete it. It should autocomplete to something like g+±4.1. Then execute `ln -s [that g++ name you just found] g++`. For example, `ln -s g++-4.1 g++`. Then once again retry 3 and 4.

I forgot to mention: when you want to update, go to the directory from point 3, execute `git pull` and then the `make` command from 4. No need for the `git clone` part.  
Command from point 4 can take a lot of time (an hour), but if it keeps writing text every few seconds, it is working. You want to always have RELEASE=1 in the line with `make` or your game will be the debug version and debug version is incredibly slow.

You don’t need to give up tiles, your problem isn’t related to them.

---

<div class="post-metadata">

**Author:** ![bahihs](https://avatars.discourse-cdn.com/v4/letter/b/3d9bf3/32.png) [@bahihs](https://discourse.cataclysmdda.org/u/bahihs)\
**Post date:** [January 3, 2015, 7:10pm UTC](https://discourse.cataclysmdda.org/t/running-cata-on-linux/8427/8 "2015-01-03T19:10:15Z")

</div>

Thanks alot for the help Cool,

I installed g++ successfully but am now getting the following error when trying to run step 4 (step 1-3, runs fine):

`g++ -DLOCALIZE -Os -Wall -Wextra -Werror --std=c++11 -MMD -I/usr/include/ncursesw -c src/action.cpp -o obj/action.o
In file included from src/color.h:5:0,
                 from src/output.h:4,
                 from src/action.cpp:2:
src/cursesdef.h:10:20: fatal error: curses.h: No such file or directory
 #include <curses.h>
                    ^
compilation terminated.
make: *** [obj/action.o] Error 1`

---

<div class="post-metadata">

**Author:** ![dovla](https://avatars.discourse-cdn.com/v4/letter/d/9e8a1a/32.png) [@dovla](https://discourse.cataclysmdda.org/u/dovla)\
**Post date:** [January 4, 2015, 10:56am UTC](https://discourse.cataclysmdda.org/t/running-cata-on-linux/8427/9 "2015-01-04T10:56:28Z")

</div>

Try typing the following in your terminal:

```auto

```

---

<div class="post-metadata">

**Author:** ![wad67](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/wad67/32/7_2.png) [@wad67](https://discourse.cataclysmdda.org/u/wad67)\
**Post date:** [January 9, 2015, 8:03pm UTC](https://discourse.cataclysmdda.org/t/running-cata-on-linux/8427/10 "2015-01-09T20:03:06Z")

</div>

You will need a working toolchain and the libraries to compile. I would recommend simply downloading a binary instead.  
The latest experimentals have been incredibly broken lately and the SDL version now appears to be running slower.
