APT repository: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
EDuke32 can be installed from a repository for Debian and Ubuntu Linux.
{{Distribution intro}}


Just add the following lines which match with your version in an additional sources.list file such as ''/etc/apt/sources.list.d/eduke32.list''.
'''The project's APT repositories are currently not maintained. We have made [[Building EDuke32 on Linux|building from source]] as simple as possible, so please follow those instructions instead.'''


Or, to do this quickly you can copy/paste both lines at one time in a terminal :
= Obsolete Instructions =
<pre>echo -e "deb http://apt.duke4.net $(lsb_release -cs) main\n \
deb-src http://apt.duke4.net $(lsb_release -cs) main" | sudo tee -a /etc/apt/sources.list.d/eduke32.list</pre>


= Ubuntu repositories =
EDuke32 can be installed from a repository for Debian and Ubuntu Linux.
'''Important''' : Ubuntu users must activate the ''universe'' [https://help.ubuntu.com/community/Repositories/Ubuntu repository] before installing EDuke32.


== Oneiric Ocelot ==
Note, these are development builds. After an update, it is possible that some formats have changed, as that of saved games. In this case it is likely that the old files have become unusable.<br />
<pre>deb http://apt.duke4.net oneiric main
A simple trick to avoid getting stuck, is to finish an episode before each update. Otherwise you can look '''-v''' and '''-l''' parameters.
deb-src http://apt.duke4.net oneiric main</pre>


== Natty Narwhal ==
__TOC__
<pre>deb http://apt.duke4.net natty main
deb-src http://apt.duke4.net natty main</pre>


== Maverick Meerkat ==
== Installation instructions ==
<pre>deb http://apt.duke4.net maverick main
Add the following lines in an additional sources.list file such as ''/etc/apt/sources.list.d/eduke32.list'' :
deb-src http://apt.duke4.net maverick main</pre>
<pre>deb http://apt.duke4.net codename main
deb-src http://apt.duke4.net codename main</pre>


== Lucid Lynx ==
Replace '''codename''' by one that match with your version. Before doing this, you can verify what [http://apt.duke4.net/versions/versions.html versions] are supported.
<pre>deb http://apt.duke4.net lucid main
deb-src http://apt.duke4.net lucid main</pre>


= Debian repositories =
To do this quickly you can also copy/paste both lines at one time in a terminal:
== Sid ==
<pre>echo -e "deb http://apt.duke4.net $(lsb_release -cs) main\n\
<pre>deb http://apt.duke4.net sid main
deb-src http://apt.duke4.net $(lsb_release -cs) main" | sudo tee -a /etc/apt/sources.list.d/eduke32.list</pre>
deb-src http://apt.duke4.net sid main</pre>


== Wheezy ==
Note to Ubuntu users: You must activate the ''universe'' [https://help.ubuntu.com/community/Repositories/Ubuntu repository] before installing EDuke32.
<pre>deb http://apt.duke4.net wheezy main
deb-src http://apt.duke4.net wheezy main</pre>


== Squeeze ==
Note to Debian users: We do not support symbolic names (eg, you can not replace ''sid'' by ''unstable'' in the APT URL), to avoid conflicts when a new stable release comes out.
<pre>deb http://apt.duke4.net squeeze main
deb-src http://apt.duke4.net squeeze main</pre>


= Secure APT =
=== Secure APT ===
You can import the [http://apt.duke4.net/key/eduke32.gpg GPG public key] to authenticate downloaded packages :
You can import the [http://apt.duke4.net/key/eduke32.gpg GPG public key] to authenticate downloaded packages:
<pre>wget -q http://apt.duke4.net/key/eduke32.gpg -O- | sudo apt-key add -</pre>
<pre>wget -q http://apt.duke4.net/key/eduke32.gpg -O- | sudo apt-key add -</pre>


= About packages =
If you prefer to use '''su''' instead of sudo:
Packages are available for x86 and x86-64 architectures :
<pre>su && wget -q http://apt.duke4.net/key/eduke32.gpg -O- | apt-key add -</pre>
 
=== About packages ===
Packages are available for x86 and x86-64 architectures:
* '''eduke32''' : Open source enhanced port of the game Duke Nukem 3D.
* '''eduke32''' : Open source enhanced port of the game Duke Nukem 3D.
* '''mapster32''' : OpenGL maps editor for EDuke32.
* '''mapster32''' : OpenGL maps editor for EDuke32.
Line 50: Line 41:
* '''build-engine-utils''' : Collection of tools to manage the content of the Build engine based games.
* '''build-engine-utils''' : Collection of tools to manage the content of the Build engine based games.


== Install EDuke32 ==
==== Install EDuke32 ====
Run your packages manager and search "eduke32" or in command-line interface, type :
Run your packages manager and search "eduke32" or in command-line interface, type:
<pre>
<pre>
sudo apt-get update
sudo apt-get update
Line 57: Line 48:
</pre>
</pre>


== Install a different version of a package ==
==== High Resolution Pack ====
You may need to install a different version of a package, for that you can do :
All HRP files can be found at [http://hrp.duke4.net hrp.duke4.net].
* '''In command-line interface''' :
<pre>sudo apt-get install eduke32=[version]</pre>
example :
<pre>sudo apt-get install eduke32=2.0.0devel.20110131.r1786-1</pre>
The following command list all available versions for the eduke32 package :
<pre>apt-cache policy eduke32</pre>
* '''With Synaptic''' : search and select "eduke32" -> go in the "Package" menu -> "Force Version".
* '''With PackageKit''' : search "eduke32", you will see several versions for EDuke32, install the one that you want.


== High Resolution Pack ==
[[Category:Distribution documentation]]
All HRP files can be found at [http://hrp.duke4.net hrp.duke4.net].

Latest revision as of 14:02, 11 January 2017

EDuke32 Distribution

Download · Source Code · APT repository · Packages
Building from source on: Linux · Windows · macOS


The project's APT repositories are currently not maintained. We have made building from source as simple as possible, so please follow those instructions instead.

Obsolete Instructions

EDuke32 can be installed from a repository for Debian and Ubuntu Linux.

Note, these are development builds. After an update, it is possible that some formats have changed, as that of saved games. In this case it is likely that the old files have become unusable.
A simple trick to avoid getting stuck, is to finish an episode before each update. Otherwise you can look -v and -l parameters.

Installation instructions

Add the following lines in an additional sources.list file such as /etc/apt/sources.list.d/eduke32.list :

deb http://apt.duke4.net codename main
deb-src http://apt.duke4.net codename main

Replace codename by one that match with your version. Before doing this, you can verify what versions are supported.

To do this quickly you can also copy/paste both lines at one time in a terminal:

echo -e "deb http://apt.duke4.net $(lsb_release -cs) main\n\
deb-src http://apt.duke4.net $(lsb_release -cs) main" | sudo tee -a /etc/apt/sources.list.d/eduke32.list

Note to Ubuntu users: You must activate the universe repository before installing EDuke32.

Note to Debian users: We do not support symbolic names (eg, you can not replace sid by unstable in the APT URL), to avoid conflicts when a new stable release comes out.

Secure APT

You can import the GPG public key to authenticate downloaded packages:

wget -q http://apt.duke4.net/key/eduke32.gpg -O- | sudo apt-key add -

If you prefer to use su instead of sudo:

su && wget -q http://apt.duke4.net/key/eduke32.gpg -O- | apt-key add -

About packages

Packages are available for x86 and x86-64 architectures:

  • eduke32 : Open source enhanced port of the game Duke Nukem 3D.
  • mapster32 : OpenGL maps editor for EDuke32.
  • duke3d-shareware : Duke Nukem 3D shareware files v1.3d.
  • build-engine-utils : Collection of tools to manage the content of the Build engine based games.

Install EDuke32

Run your packages manager and search "eduke32" or in command-line interface, type:

sudo apt-get update
sudo apt-get install eduke32

High Resolution Pack

All HRP files can be found at hrp.duke4.net.