Jump to content

Install Zandronum on Ubuntu: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 57: Line 57:
: Download FMOD 4.24.16 32-bit or 64-bit and extract libfmodex64-4.24.16.so or libfmodex-4.24.16.so to ~/zandronum_local/zandronum directory:
: Download FMOD 4.24.16 32-bit or 64-bit and extract libfmodex64-4.24.16.so or libfmodex-4.24.16.so to ~/zandronum_local/zandronum directory:
  cd "$HOME"/zandronum_local && \
  cd "$HOME"/zandronum_local && \
  if [ "$(uname -m)" = "x86_64" ]; then
  a='' && [ "$(uname -m)" = x86_64 ] && a=64 ; \
    a="64"
else
    a=""
fi && \
  wget -nc <nowiki>http://zandronum.com/essentials/fmod/fmodapi42416linux"$a".tar.gz</nowiki> && \
  wget -nc <nowiki>http://zandronum.com/essentials/fmod/fmodapi42416linux"$a".tar.gz</nowiki> && \
  tar -xvzf fmodapi42416linux"$a".tar.gz -C zandronum --strip-components=3 \
  tar -xvzf fmodapi42416linux"$a".tar.gz -C zandronum --strip-components=3 \
Line 92: Line 88:
: Copy zandronum, zandronum.pk3, skulltag_actors.pk3, liboutput_sdl.so, zandronum-server and libfmodex64-4.24.16.so or libfmodex-4.24.16.so to /usr/games/zandronum:
: Copy zandronum, zandronum.pk3, skulltag_actors.pk3, liboutput_sdl.so, zandronum-server and libfmodex64-4.24.16.so or libfmodex-4.24.16.so to /usr/games/zandronum:
  cd "$HOME"/zandronum_local/zandronum && \
  cd "$HOME"/zandronum_local/zandronum && \
  if [ "$(uname -m)" = "x86_64" ]; then
  a='' && [ "$(uname -m)" = x86_64 ] && a=64 ; \
    a="64"
else
    a=""
fi && \
  sudo cp -v zandronum zandronum.pk3 skulltag_actors.pk3 \
  sudo cp -v zandronum zandronum.pk3 skulltag_actors.pk3 \
  liboutput_sdl.so zandronum-server libfmodex"$a"-4.24.16.so /usr/games/zandronum
  liboutput_sdl.so zandronum-server libfmodex"$a"-4.24.16.so /usr/games/zandronum
Line 121: Line 113:
=== Remove System-Wide Installation ===
=== Remove System-Wide Installation ===
: Remove /usr/games/zandronum directory and all its files:
: Remove /usr/games/zandronum directory and all its files:
  cd /usr/games && \
  sudo rm -rfv /usr/games/zandronum
sudo rm -rfv zandronum


: Remove zandronum script:
: Remove zandronum script:
  cd /usr/bin && \
  sudo rm -fv /usr/bin/zandronum
sudo rm -fv zandronum


: Remove zandronum-server script:
: Remove zandronum-server script:
  cd /usr/bin && \
  sudo rm -fv /usr/bin/zandronum-server
sudo rm -fv zandronum-server


= Troubleshooting =
= Troubleshooting =
20

edits