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: 709
Joined: Mon Jan 13, 2014 11:13 pm

Installing FreeCiv from Linux repository

Postby Corbeau » Mon Jun 19, 2017 4:06 pm

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?

cazfi
Elite
Posts: 1461
Joined: Tue Jan 29, 2013 6:54 pm

Re: Installing FreeCiv from Linux repository

Postby cazfi » Mon Jun 19, 2017 4:18 pm

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: 709
Joined: Mon Jan 13, 2014 11:13 pm

Re: Installing FreeCiv from Linux repository

Postby Corbeau » Mon Jun 19, 2017 4:25 pm

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.

cazfi
Elite
Posts: 1461
Joined: Tue Jan 29, 2013 6:54 pm

Re: Installing FreeCiv from Linux repository

Postby cazfi » Mon Jun 19, 2017 4:26 pm

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: 709
Joined: Mon Jan 13, 2014 11:13 pm

Re: Installing FreeCiv from Linux repository

Postby Corbeau » Mon Jun 19, 2017 4:29 pm

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.

User avatar
Corbeau
Elite
Posts: 709
Joined: Mon Jan 13, 2014 11:13 pm

Re: Installing FreeCiv from Linux repository

Postby Corbeau » Mon Jun 19, 2017 5:22 pm

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)

cazfi
Elite
Posts: 1461
Joined: Tue Jan 29, 2013 6:54 pm

Re: Installing FreeCiv from Linux repository

Postby cazfi » Mon Jun 19, 2017 6:12 pm

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: 1461
Joined: Tue Jan 29, 2013 6:54 pm

Re: Installing FreeCiv from Linux repository

Postby cazfi » Mon Jun 19, 2017 7:21 pm

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: 709
Joined: Mon Jan 13, 2014 11:13 pm

Re: Installing FreeCiv from Linux repository

Postby Corbeau » Mon Jun 19, 2017 8:12 pm

Ok, I just downloaded it, thanks.

User avatar
Corbeau
Elite
Posts: 709
Joined: Mon Jan 13, 2014 11:13 pm

Re: Installing FreeCiv from Linux repository

Postby Corbeau » Mon Jun 19, 2017 9:15 pm

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.