Installing FreeCiv from Linux repository

You can get help here if Freeciv doesn't start on your computer, or if you keep getting fatal errors while playing etc.
User avatar
Corbeau
Elite
Posts: 1291
Joined: Mon Jan 13, 2014 11:13 pm

Installing FreeCiv from Linux repository

Post by Corbeau »

After trying to install it manually (Linux Mint 17), I gave up and went through Software Manager. However, the newest version of FreeCiv I can get through that is 2.5.1. Is there anything that can be done to get a newer version?
--
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
cazfi
Elite
Posts: 3069
Joined: Tue Jan 29, 2013 6:54 pm

Re: Installing FreeCiv from Linux repository

Post by cazfi »

Corbeau wrote:After trying to install it manually (Linux Mint 17)
Maybe we try to walk you through this? I can try installing Linux Mint 17 to a virtual machine and see how freeciv builds there myself. Which "Edition" you are using; https://www.linuxmint.com/release.php?id=22 ?
User avatar
Corbeau
Elite
Posts: 1291
Joined: Mon Jan 13, 2014 11:13 pm

Re: Installing FreeCiv from Linux repository

Post by Corbeau »

Well, we can try.

Linux Mint 17 Cinnamon 32-bit

(So I assume putting it on repository is requires an amount of work? It would be a better solution for the general public)
Last edited by Corbeau on Mon Jun 19, 2017 4:26 pm, edited 1 time in total.
--
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
cazfi
Elite
Posts: 3069
Joined: Tue Jan 29, 2013 6:54 pm

Re: Installing FreeCiv from Linux repository

Post by cazfi »

cazfi wrote:Maybe we try to walk you through this?
It would be handy if you would be around at #freeciv @ freenode IRC channel.
User avatar
Corbeau
Elite
Posts: 1291
Joined: Mon Jan 13, 2014 11:13 pm

Re: Installing FreeCiv from Linux repository

Post by Corbeau »

cazfi wrote:
cazfi wrote:Maybe we try to walk you through this?
It would be handy if you would be around at #freeciv @ freenode IRC channel.
Ok, I think I'm in.
--
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
User avatar
Corbeau
Elite
Posts: 1291
Joined: Mon Jan 13, 2014 11:13 pm

Re: Installing FreeCiv from Linux repository

Post by Corbeau »

I'll just archive this here for future reference, just in case...

mkdir freeciv
cd freeciv
wget http://files.freeciv.org/stable/freeciv-2.5.7.tar.bz2
tar xjf freeciv-2.5.7.tar.bz2
mkdir build
cd build
sudo apt-get install autoconf automake libtool
../freeciv-2.5.7/autogen.sh
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install libreadline-dev
sudo apt-get install libgtk-3-dev
../freeciv-2.5.7/configure --enable-debug
make

./fcser
./fcgui


(not finished, but operable)
--
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
cazfi
Elite
Posts: 3069
Joined: Tue Jan 29, 2013 6:54 pm

Re: Installing FreeCiv from Linux repository

Post by cazfi »

Lesson 2: Building Qt-client to separate build-directory

Code: Select all

> sudo apt-get install qt5-default g++
> cd freeciv
> mkdir qt
> cd qt
> ../freeciv-2.5.7/configure --enable-debug --enable-client=qt
> make
> ./fcgui
cazfi
Elite
Posts: 3069
Joined: Tue Jan 29, 2013 6:54 pm

Re: Installing FreeCiv from Linux repository

Post by cazfi »

Now that you know how to build from a tarball, I created a tarball from the current tip of S2_6 branch in case you want to test the upcoming version. For now (but not infinitely) it's available at http://cazfi.net/freeciv/freeciv-2.6.0-beta0.tar.bz2
User avatar
Corbeau
Elite
Posts: 1291
Joined: Mon Jan 13, 2014 11:13 pm

Re: Installing FreeCiv from Linux repository

Post by Corbeau »

Ok, I just downloaded it, thanks.
--
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
User avatar
Corbeau
Elite
Posts: 1291
Joined: Mon Jan 13, 2014 11:13 pm

Re: Installing FreeCiv from Linux repository

Post by Corbeau »

That thing (2.5.7) isnt' really working as it should, but I assume it's just because it's a "build", not an installation? Tried loading an old game (huge, 50 AIs and roughly 50k tiles) and it stopped responding after a while.
--
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
Post Reply