Simple way to install eDuke32 in Linux?
#1 Posted 24 April 2017 - 09:43 PM
I've long wanted to install eDuke32 on my computer. When I first found it online, I remember the web page included an Ubuntu icon together with the Windows, Mac and source code ones. Back then, unfortunately, I was quite a newbie with GNU/Linux and even that way, I wasn't able to install it. Since then, I have made several different attempts and I've noticed there doesn't seem to be a package for Ubuntu or Debian anymore. I've tried to compile the source but the dependencies kill me, I get completely lost (for example, I can't find the SDL2 packages... SDL1.2 supposedly should work, but I'm still getting lost with other dependencies).
I swear I've given more tries and more time to eDuke32 than to any other game in Linux to try to get it installed. I've read forums and watched videos on YouTube, but they seem old and use the packages that seem no longer available.
Is there a simple way I can get the game installed? Why have the Ubuntu packages been removed? Why is there so little support for GNU/Linux? I know some Linux users are pros and can handle anything, but many are not. Finally.... is there anything I can do to help? Like test something on my system so that somebody will find it easier to support it? I'm running a Xubuntu. I've got both the 32bit and the 64bit distros (having both has proved useful for a couple of programming tricks). Any help will be highly appreciated!
#2 Posted 24 April 2017 - 09:59 PM
I managed to build it from source on Ubuntu fairly easily with very little Linux knowledge. The page is fairly long, but really there's very little you actually need to type into the console, and it's just a matter of copy and paste.
Long story short it takes a bit of time to maintain frequent up to date linux packages for the distributions, and that time is better spent elsewhere.
#3 Posted 25 April 2017 - 10:40 AM
svn checkout http://svn.eduke32.com/eduke32/
cd eduke32
make
#4 Posted 25 April 2017 - 02:21 PM
(using italics instead of code because lines are too long and doesn't look good in a code block)
~$ sudo apt-get install build-essential nasm libgl1-mesa-dev libglu1-mesa-dev libsdl1.2-dev libsdl-mixer1.2-dev libsdl2-dev libsdl2-mixer-dev flac libflac-dev libvorbis-dev libpng-dev libvpx-dev libgtk2.0-dev freepats
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libpng12-dev' instead of 'libpng-dev'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
build-essential : Depends: g++ (>= 4:4.4.3) but it is not going to be installed
Depends: dpkg-dev (>= 1.13.5) but it is not going to be installed
libflac-dev : Depends: libflac8 (= 1.3.0-2) but 1.3.0-2ubuntu0.14.04.1 is to be installed
libgl1-mesa-dev : Depends: mesa-common-dev (= 10.1.0-4ubuntu5) but it is not going to be installed
Depends: libdrm-dev (>= 2.4.52) but it is not going to be installed
Depends: libxdamage-dev but it is not going to be installed
Depends: libxfixes-dev but it is not going to be installed
libgtk2.0-dev : Depends: libgtk2.0-0 (= 2.24.23-0ubuntu1) but 2.24.23-0ubuntu1.4 is to be installed
Depends: libglib2.0-dev (>= 2.27.3) but it is not going to be installed
Depends: libgdk-pixbuf2.0-dev (>= 2.21.0) but it is not going to be installed
Depends: libpango1.0-dev (>= 1.20) but it is not going to be installed
Depends: libatk1.0-dev (>= 1.29.2) but it is not going to be installed
Depends: libcairo2-dev (>= 1.6.4-6.1) but it is not going to be installed
Depends: libxi-dev (>= 1:1.0.1-4) but it is not going to be installed
Depends: libxcursor-dev but it is not going to be installed
Depends: libxfixes-dev (>= 1:3.0.0-3) but it is not going to be installed
Depends: libxcomposite-dev (>= 1:0.2.0-3) but it is not going to be installed
Depends: libxdamage-dev (>= 1:1.0.1-3) but it is not going to be installed
Recommends: debhelper but it is not going to be installed
libpng12-dev : Depends: libpng12-0 (= 1.2.50-1ubuntu2) but 1.2.50-1ubuntu2.14.04.2 is to be installed
libsdl1.2-dev : Depends: libsdl1.2debian (= 1.2.15-8ubuntu1) but 1.2.15-8ubuntu1.1 is to be installed
Depends: libpulse-dev but it is not going to be installed
libsdl2-dev : Depends: libdbus-1-dev but it is not going to be installed
Depends: libegl1-mesa-dev but it is not going to be installed
Depends: libgles2-mesa-dev but it is not going to be installed
Depends: libpulse-dev but it is not going to be installed
Depends: libudev-dev but it is not going to be installed
Depends: libxcursor-dev but it is not going to be installed
Depends: libxi-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
This post has been edited by xlucas: 25 April 2017 - 02:24 PM
#5 Posted 25 April 2017 - 02:23 PM
#6 Posted 25 April 2017 - 02:28 PM
#7 Posted 25 April 2017 - 05:40 PM
TerminX: Thanks for your help. The strange thing is that this has happened to me with at least two different versions of Ubuntu and Xubuntu and the one I'm using now has just been installed. What I'm getting from the apt-cache command is this:
~$ apt-cache policy g++
g++:
Installed: (none)
Candidate: 4:4.8.2-1ubuntu6
Version table:
4:4.8.2-1ubuntu6 0
500 http://mirror.fcaglp....edu.ar/ubuntu/ trusty/main i386 Packages
Do you recommend that I keep trying to install it here or would it be better to try on the 64bit one (which I also have installed)? When I tried there, it seemed to be I was getting even more errors, but maybe it's just I don't know what the errors are about.
Oh... one more thing. I've been taking a look (but not changing anything) with aptitude and upon selecting the first package (build-essentials) it brings a list of dependencies but "suggests" keeping everything in its current version (which, for all those packages means keeping them uninstalled). If I go to the next suggestions, I progressively get more and more downgrades and even some software such as GIMP uninstalled, but nothing seems to be installed, so I cancelled that.
This post has been edited by xlucas: 25 April 2017 - 05:47 PM
#8 Posted 25 April 2017 - 07:11 PM
#9 Posted 26 April 2017 - 12:37 PM
TerminX, on 25 April 2017 - 07:11 PM, said:
Removing the comments, the sources.list file looks like this:
deb http://mirror.fcaglp....edu.ar/ubuntu/ trusty main restricted universe
deb-src http://mirror.fcaglp....edu.ar/ubuntu/ trusty main restricted universe
deb http://mirror.fcaglp....edu.ar/ubuntu/ trusty multiverse
deb-src http://mirror.fcaglp....edu.ar/ubuntu/ trusty multiverse
deb http://archive.canonical.com/ubuntu trusty partner
deb-src http://archive.canonical.com/ubuntu trusty partner
deb http://extras.ubuntu.com/ubuntu trusty main
deb-src http://extras.ubuntu.com/ubuntu trusty main
The directory /etc/apt/sources.list.d exists, but is empty. Not even hidden files.
#10 Posted 26 April 2017 - 02:19 PM
#11 Posted 26 April 2017 - 03:11 PM
Hendricks266, on 26 April 2017 - 02:19 PM, said:
Judging by the addresses, they do look very Ubuntu-specific. Yet, I haven't made any changes to the OS. This is how the file is set up when you just install Xubuntu. The Ubuntu family is the most widely used set of Linux distros, so I'm surprised not to see many people having the same problem :S
#12 Posted 26 April 2017 - 03:13 PM
Then try our commands again.
#13 Posted 26 April 2017 - 09:59 PM
Hendricks266, on 26 April 2017 - 03:13 PM, said:
Then try our commands again.
That's horrible advice as it would leave him without any repositories containing the main set of packages.
However, I think the problem here has more to do with "trusty" being something like 6 major OS releases behind (one every 6 months). No idea how you'd go about upgrading something that old, so you're on your own for that one.
#14 Posted 26 April 2017 - 10:40 PM
xlucas, on 26 April 2017 - 03:11 PM, said:
Last year I installed Eduke on a notebook running Linux Mint 17.3, then last week on a proper laptop running Mint 18.1, the instructions worked like a charm.
Dunno if the following will help - I'm still a bit of a Linux Noob - but as previous posts have been looking at repositories, I thought I'd list the ones I have for Mint 18.1 for comparison; I think there can be multiple files, not just /etc/apt/sources.list and using ... :
grep -h ^deb /etc/apt/sources.list /etc/apt/sources.list.d/* >> current.repos.txt
... gave the following list
deb http://packages.linuxmint.com serena main upstream import backport #id:linuxmint_main deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse deb http://archive.canonical.com/ubuntu/ xenial partner
TTFN,
Jon
#15 Posted 27 April 2017 - 04:56 PM
Anyway... I kind of "solved" the issue partially. I installed Wine and then the windows version of eDuke32 on top of it and it runs fine. Not sure if the network capabilities will work transparently through that layer. Also, I've read that this was broken for the moment and that I should use an old version if I wanted to do multiplayer. Is this still the case?
#16 Posted 27 April 2017 - 05:21 PM
This is what you should have set up if it's a new installation of Xubuntu:
https://xubuntu.org/release/16-04/
The resulting repositories would point to Xenial.
You can do a release upgrade (literally do-release-upgrade) to get there from Trusty however.
#17 Posted 27 April 2017 - 05:28 PM
Mblackwell, on 27 April 2017 - 05:21 PM, said:
This is what you should have set up if it's a new installation of Xubuntu:
https://xubuntu.org/release/16-04/
The resulting repositories would point to Xenial.
You can do a release upgrade (literally do-release-upgrade) to get there from Trusty however.
This sounds like the solution to me. I'm very "old school" (15 years of Debian/Ubuntu experience) and tend to just edit my sources.list to point to the newer release manually, but the solution provided here looks to be the best suited for this case.
#18 Posted 27 April 2017 - 07:23 PM
#19 Posted 27 April 2017 - 10:04 PM
xlucas, on 27 April 2017 - 07:23 PM, said:
Hopefully things will settle after installing 16.04, although this still looks a bit weird; I'm currently running a 3-years old Ubuntu 14.04 (Trusty) installation and I don't think I've experienced such issues, at least not so often.
After installing 16.04, if you get similar errors from apt-get, maybe try running "sudo apt-get update" first, just to refresh some packages lists.
Quote
I know it's not the easy solution, but I tend to prefer doing a clean install, especially after a few/some years. Yeah, software will have to be manually re-installed and a lot of data has to be manually set up (depending on the way it's arranged), but at least you get something clean. I may still try upgrades if it's for shorter period, although I haven't really done this recently.
Quote
Nah, you should still keep your old data, just in case you won't regret it later
Or at least, when it comes to other kinds of discs (e.g., stuff differing from Linux distributions), make local backups (in the form of disc images). But that's truly a bit off-topic and I won't get into details now.
This post has been edited by NY00123: 27 April 2017 - 10:05 PM
#20 Posted 27 April 2017 - 10:43 PM
xlucas, on 27 April 2017 - 04:56 PM, said:
There are four Mint flavors, one of which is xfce, which I'm using.
TTFN,
Jon
#21 Posted 28 April 2017 - 12:25 AM
xlucas, on 27 April 2017 - 07:23 PM, said:
I wouldn't bother burning DVDs at all in this day and age--just convert the .iso into a bootable USB drive using a tool like Rufus.
#22 Posted 28 April 2017 - 04:32 PM
So, after I reinstall, I will try to get eDuke32 native running. Anyway, before I do that, I still would like to know these two things:
- Is the LAN/internet multiplayer game mode code still broken as it says in the site and I need to download an older version if I want to play multiplayer?
- If I run the Windows version under Wine, like I'm doing now, would that prevent the multiplayer system from working in any way?
Cheers
#23 Posted 22 July 2019 - 06:35 AM
https://youtu.be/t3gkWAAiNwE
This post has been edited by McMarius11: 22 July 2019 - 06:36 AM