The official "ZDoom on Linux" thread.

Handy guides on how to do things, written by users for users.

Moderators: GZDoom Developers, Raze Developers

Forum rules
Please don't start threads here asking for help. This forum is not for requesting guides, only for posting them. If you need help, the Editing forum is for you.
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed

Re: The official "ZDoom on Linux" thread.

Post by wildweasel »

Follow the Ubuntu procedure; Mint and its derivatives all use the same repository.
User avatar
Big C
Posts: 2839
Joined: Tue Oct 19, 2010 3:24 pm

Re: The official "ZDoom on Linux" thread.

Post by Big C »

wildweasel wrote:Follow the Ubuntu procedure; Mint and its derivatives all use the same repository.
Got it, thanks!

EDIT: I did everything I was supposed to on the ZDoom wiki's article on Debian/Ubuntu and this happened:
~ $ sudo apt-get install build-essential zliblg-dev libsdll.2-dev libjpeg-dev \ nasm tar libbz2-dev libgtk2.0-dev cmake git libfluidsynth-dev libgme-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package zliblg-dev
E: Unable to locate package libsdll.2-dev
E: Couldn't find any package by regex 'libsdll.2-dev'
E: Unable to locate package nasm
Please help! :(
Blzut3
 
 
Posts: 3178
Joined: Wed Nov 24, 2004 12:59 pm
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Re: The official "ZDoom on Linux" thread.

Post by Blzut3 »

You didn't copy the command correctly.
User avatar
Big C
Posts: 2839
Joined: Tue Oct 19, 2010 3:24 pm

Re: The official "ZDoom on Linux" thread.

Post by Big C »

Blzut3 wrote:You didn't copy the command correctly.
Yeah, I found that out afterwards from an IRC friend. :P

I'll try this again when I'm not sleep deprived.
User avatar
cacouser
Posts: 17
Joined: Sun Jun 23, 2013 10:50 pm

Re: The official "ZDoom on Linux" thread.

Post by cacouser »

Is there any reason this is not in the Debian repositories? Is it because fmod is not free software? Maybe it would be worthwhile maintaining a version without it?
Blzut3
 
 
Posts: 3178
Joined: Wed Nov 24, 2004 12:59 pm
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Re: The official "ZDoom on Linux" thread.

Post by Blzut3 »

Precisely. As a result of that and the build engine code, ZDoom is not free software. Of course knowing how conservative distros can be with pushing out feature updates to software, it's probably honestly better to use the DRD Team repository than trying to get something in the main repo.

There is an OpenAL branch that may be finished to change this. Only GZDoom will be eligible to be free software then, since I don't believe anyone will bother to remove the non-free code from the software renderer.
Gez
 
 
Posts: 17933
Joined: Fri Jul 06, 2007 3:22 pm

Re: The official "ZDoom on Linux" thread.

Post by Gez »

Blzut3 wrote:Precisely. As a result of that and the build engine code, ZDoom is not free software.
Also some OPL stuff.
PooshhMao
Posts: 135
Joined: Sun Oct 06, 2013 2:09 am

Re: The official "ZDoom on Linux" thread.

Post by PooshhMao »

Hi,

I'm having some trouble with GZDoom v 1.8.07 on my machine, though previous versions had this problem also. Whenever a sector with a sky ceiling is in view, graphical glitches appear, albeit unpredictably. Interestingly, this appears to happen more with my own maps than others. I'm running it on a Asus laptop with nVidia ION2 graphics, with both an onboard Intel GMA and nVidia GTXX chip. I'm running a custom Ubuntu-based distro. Anybody else experiencing this?
User avatar
Marisa the Magician
Posts: 3886
Joined: Fri Feb 08, 2008 9:15 am
Preferred Pronouns: She/Her
Operating System Version (Optional): (btw I use) Arch
Graphics Processor: nVidia with Vulkan support
Location: Vigo, Galicia

Re: The official "ZDoom on Linux" thread.

Post by Marisa the Magician »

So... I have a question... is it possible to build ZDoom for ARM? I suppose I'd have to switch to the OpenAL branch, right?
Gez
 
 
Posts: 17933
Joined: Fri Jul 06, 2007 3:22 pm

Re: The official "ZDoom on Linux" thread.

Post by Gez »

User avatar
Matt
Posts: 9696
Joined: Sun Jan 04, 2004 5:37 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Debian Bullseye
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia

Re: The official "ZDoom on Linux" thread.

Post by Matt »

Code: Select all

CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE):
  Could NOT find SDL2 (missing: SDL2_LIBRARY SDL2_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE)
  FindSDL2.cmake:179 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  src/CMakeLists.txt:204 (find_package)


-- Configuring incomplete, errors occurred!
What am I missing?
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: The official "ZDoom on Linux" thread.

Post by Edward-san »

You should install the libsdl2-dev package. Old SDL 1.x support was removed recently.
User avatar
Matt
Posts: 9696
Joined: Sun Jan 04, 2004 5:37 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Debian Bullseye
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia

Re: The official "ZDoom on Linux" thread.

Post by Matt »

...and now I just learned what a backport was.

Thanks for the answer anyway!
User avatar
Matt
Posts: 9696
Joined: Sun Jan 04, 2004 5:37 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Debian Bullseye
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia

Re: The official "ZDoom on Linux" thread.

Post by Matt »

If anyone else is having trouble with ZDoom in windowed mode not grabbing the mouse, don't rely on the Debian Stable backport of SDL2 - get the source and install that.
Fincer
Posts: 1
Joined: Mon Feb 09, 2015 5:41 am

Re: The official "ZDoom on Linux" thread.

Post by Fincer »

Whoever needs easy ZDoom, GZDoom or ZDL installation instructions or precompiled packages for Arch/Mint/Debian/Ubuntu, check the following link:
Tutorial: (G)ZDoom multiplayer between Windows & Linux (Ubuntu, Mint & Arch)

Precompiled .deb packages are provided for Ubuntu 13.10, 14.04, 14.10 & Linux Mint 16, 17, 17.1 (i386 & amd64). If you want compile ZDoom or GZDoom by yourself, I've also included an automated compilation scripts for you. Feel free to edit them for your needs.

Return to “Tutorials”