Linux freeorion executable
Moderator: Oberlus
Re: Linux freeorion executable
Thanks a lot for the update option! But why doesn't it work with sudo and I have to be superuser?
Cheers!
Cheers!
Re: Linux freeorion executable
It does also work with sudo of course.sebar wrote:Thanks a lot for the update option! But why doesn't it work with sudo and I have to be superuser?
Cheers!
Its just a little more cumbersome ihmo.
Re: Linux freeorion executable
Updated build to 5909. The original post has updated links to all the updated files. If you subscribed to the repo the update should show up automatically. Just remember that old savegames may not load in newer versions!
- shadowwraith
- Space Floater
- Posts: 28
- Joined: Tue Jan 29, 2013 3:05 pm
- Location: Scotland
Re: Linux freeorion executable
Nagilum wrote:Allright,
I managed to set up a repo today.
Nothing in there but the freeorion debs. In order to use it do:After that for installing:Code: Select all
echo 'deb http://www.nagilum.org/repo/ freeorion main' >>/etc/apt/sources.list.d/freeorion.list curl http://nagilum.org/repo/[email protected]|apt-key add -
And any updates should show up automagically...Code: Select all
apt-get update apt-get install freeorion
Nagilum the command line string you posted above does not work ass the >> triggers a permission denied error even if sudo us used before echo
instead to add a repo via terminal use
Code: Select all
sudo apt-add-repository 'deb http://www.nagilum.org/repo/ freeorion main'
Code: Select all
curl http://nagilum.org/repo/[email protected]|apt-key add
Code: Select all
shadowwraith@localhost:~$ sudo curl http://nagilum.org/repo/[email protected]|apt-key add
ERROR: This command can only be used by root.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1752 100 1752 0 0 10361 0 --:--:-- --:--:-- --:--:-- 20857
Other than that the game runs perfectly, although there is an interface niggle but i'll post that elsewhere in case a certain admin tries to complain.
Regards
Shadowwraith
Re: Linux freeorion executable
Now that you mention it, that line didn't work for me either, even as su. So instead I just fired up gedit as the superuser and added the line manually.shadowwraith wrote:Nagilum the command line string you posted above does not work ass the >> triggers a permission denied error even if sudo us used before echo
Warning: Antarans in dimensional portal are closer than they appear.
Re: Linux freeorion executable
Ok, updated the instructions to work with sudo.
Re: Linux freeorion executable
It works if you do it as root as I implied.shadowwraith wrote:Nagilum the command line string you posted above does not work ass the >> triggers a permission denied error even if sudo us used before echoNagilum wrote:Allright,
I managed to set up a repo today.
Nothing in there but the freeorion debs. In order to use it do:After that for installing:Code: Select all
echo 'deb http://www.nagilum.org/repo/ freeorion main' >>/etc/apt/sources.list.d/freeorion.list curl http://nagilum.org/repo/[email protected]|apt-key add -
And any updates should show up automagically...Code: Select all
apt-get update apt-get install freeorion
Again you misunderstand what is/needs to be done by sudo. The curl does not require root, the apt-key needs it. Unfortunately this pipe with sudo in front of apt-key will not work either because the curl output gets swallowed by sudo it seems.shadowwraith wrote:Code: Select all
shadowwraith@localhost:~$ sudo curl http://nagilum.org/repo/[email protected]|apt-key add ERROR: This command can only be used by root. % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1752 100 1752 0 0 10361 0 --:--:-- --:--:-- --:--:-- 20857
Posted the key to http://pgp.mit.edu/ - not sure how this will help but no harm in trying..shadowwraith wrote:you need to post your public key otherwise users are going to get constant "Not authenticated" complaints from apt/synaptic or Software centre.
Re: Linux freeorion executable
Updated builds to rev 5951.
- shadowwraith
- Space Floater
- Posts: 28
- Joined: Tue Jan 29, 2013 3:05 pm
- Location: Scotland
Re: Linux freeorion executable
Nagilum have you changed your repo?, as apt is now returning the following error whenever i run apt-get update
Failed to fetch http://www.nagilum.org/repo/dists/freeorion/Release Unable to find expected entry 'main/source/Sources' in Release file (Wrong sources.list entry or malformed file)
Some index files failed to download. They have been ignored, or old ones used instead.
Re: Linux freeorion executable
Yes, a few months back.shadowwraith wrote:Nagilum have you changed your repo?, as apt is now returning the following error whenever i run apt-get update
I think this means you have a "deb-src http://www.nagilum.org/repo/ freeorion main" line in your sources.list.shadowwraith wrote:Failed to fetch http://www.nagilum.org/repo/dists/freeorion/Release Unable to find expected entry 'main/source/Sources' in Release file (Wrong sources.list entry or malformed file)
Some index files failed to download. They have been ignored, or old ones used instead.
Just remove that and you should be good.
At the moment I don't provide any sources so when I recreated the repo I didn't include that section.
Last edited by Nagilum on Tue Apr 16, 2013 7:41 am, edited 1 time in total.
- santa_klausi
- Space Krill
- Posts: 8
- Joined: Sat Mar 30, 2013 3:50 pm
- Location: Hannover, Germany
Re: Linux freeorion executable
shadowwraith:
If you add the repository via
as you suggested, it automatically adds the source repository as well. So you have to delete it manually or do it the way nagilum suggests.
EDIT:
Thanks a lot for this rep! It looks like its running fine on my system (Linux Mint 14 64bit with Intel graphics), even sound is working (which wasn´t the case with the chrooted version). One funny thing i noticed is that when i use alt+tab to go out of the window, it duplicates my mouse pointer.
If you add the repository via
Code: Select all
sudo apt-add-repository
EDIT:
Thanks a lot for this rep! It looks like its running fine on my system (Linux Mint 14 64bit with Intel graphics), even sound is working (which wasn´t the case with the chrooted version). One funny thing i noticed is that when i use alt+tab to go out of the window, it duplicates my mouse pointer.
Re: Linux freeorion executable
Updated to builds to rev 5983.
Remember that your savegames may not to load any more with the updated version!
Remember that your savegames may not to load any more with the updated version!
Re: Linux freeorion executable
Tried to download the new build via the link in the original post, but got the following error message:Nagilum wrote:Updated to builds to rev 5983.
Code: Select all
Not Found
The requested URL /FreeOrion-5983-Linux-Test.tar.xz was not found on this server.
Re: Linux freeorion executable
Oops, sorry, I uploaded it into the wrong directory.
Please try again now.
Please try again now.
Re: Linux freeorion executable
Thanks for a Naglium repo! It's time to play FreeOrion in Debian / Ubuntu!
I was trying to compile and run FreeOrion on my Ubuntu x86_64 quite some time, with no success.
Windows version on wine is almost playable, but freezes 100% times on quickplay and savegame load.
And using x86 VM's is not best option to run games.
The script I've used:
The only thing I've done manually is disabling source code part of Naglium repo using Synaptic (don't know how to do it in a script).
I was trying to compile and run FreeOrion on my Ubuntu x86_64 quite some time, with no success.
Windows version on wine is almost playable, but freezes 100% times on quickplay and savegame load.
And using x86 VM's is not best option to run games.
The script I've used:
Code: Select all
sudo apt-add-repository 'deb http://www.nagilum.org/repo/ freeorion main'
curl http://nagilum.org/repo/[email protected] > ~freeorion.key
sudo apt-key add ~freeorion.key
rm -f ~freeorion.key
sudo apt-get update
sudo apt-get install freeorion