APT repository: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Bioman (talk | contribs)
m Update #2
Bioman (talk | contribs)
Update #3
Line 1: Line 1:
EDuke32 can be installed from a repository for Debian and Ubuntu Linux.
EDuke32 can be installed from a repository for Debian and Ubuntu Linux.


Just add the following lines which match with your version in the ''/etc/apt/sources.list'' file.
Just add the following lines which match with your version in a custom sources.list file such as ''/etc/apt/sources.list.d/eduke32.list''.
 
Or, do to do this quickly you can just copy/paste both lines at one time into a terminal:
<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 =
= Ubuntu repositories =
Line 21: Line 25:
<pre>deb http://apt.duke4.net karmic main
<pre>deb http://apt.duke4.net karmic main
deb-src http://apt.duke4.net karmic main</pre>
deb-src http://apt.duke4.net karmic main</pre>


= Debian repositories =
= Debian repositories =
== Sid ==
== Sid ==
<pre>deb http://apt.duke4.net sid main
<pre>deb http://apt.duke4.net sid main
Line 36: Line 38:
<pre>deb http://apt.duke4.net squeeze main
<pre>deb http://apt.duke4.net squeeze main
deb-src http://apt.duke4.net squeeze main</pre>
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 =
= About packages =
Packages are available for x86 and x86-64 architectures :
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.
Line 59: Line 58:


== Install a different version of a package ==
== Install a different version of a package ==
You may need to install a different version of a package, for that you can do :
You may need to install a different version of a package, for that you can do :
* '''In command-line interface''' :  
* '''In command-line interface''' :  
Line 71: Line 69:


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

Revision as of 13:30, 15 September 2011

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

Just add the following lines which match with your version in a custom sources.list file such as /etc/apt/sources.list.d/eduke32.list.

Or, do to do this quickly you can just copy/paste both lines at one time into 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

Ubuntu repositories

Important : Ubuntu users must activate the universe repository before installing EDuke32.

Natty Narwhal

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

Maverick Meerkat

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

Lucid Lynx

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

Karmic Koala

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

Debian repositories

Sid

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

Wheezy

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

Squeeze

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

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 -

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

Install a different version of a package

You may need to install a different version of a package, for that you can do :

  • In command-line interface :
sudo apt-get install eduke32=[version]

example :

sudo apt-get install eduke32=2.0.0devel.20110131.r1786-1

The following command list all available versions for the eduke32 package :

apt-cache policy eduke32
  • 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

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