Difference between revisions of "APT repository" - EDukeWiki

# Difference between revisions of "APT repository"

From EDukeWiki

Revision as of 04:38, 20 May 2010 (view source) Bioman (talk | contribs) (completed informations + changed code formatting) ← Older edit | Latest revision as of 17:29, 30 July 2012 (view source) Bioman (talk | contribs) m
(25 intermediate revisions by 6 users not shown)
Line 1: | Line 1:
| + | {{Distribution intro}}
| + |
| 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. | + | 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 />
− |  | + | A simple trick to avoid getting stuck, is to finish an episode before each update. Otherwise you can look '''-v''' and '''-l''' parameters.
− | = Ubuntu repositories = |
− | '''Important''' : Ubuntu users must activate the ''universe'' [https://help.ubuntu.com/community/Repositories/Ubuntu repository] before installing EDuke32. |
− |  |
− | == Maverick Meerkat == |
− | <pre>deb http://apt.duke4.net/ maverick main</pre> |
− | <pre>deb-src http://apt.duke4.net/ maverick main</pre> |
− |  |
− | == Lucid Lynx == |
− | <pre>deb http://apt.duke4.net/ lucid main</pre> |
− | <pre>deb-src http://apt.duke4.net/ lucid main</pre> |
− |  |
− | == Karmic Koala == |
− | <pre>deb http://apt.duke4.net/ karmic main</pre> |
− | <pre>deb-src http://apt.duke4.net/ karmic main</pre> |
− |  |
− | == Jaunty Jackalope == |
− | <pre>deb http://apt.duke4.net/ jaunty main</pre> |
− | <pre>deb-src http://apt.duke4.net/ jaunty main</pre> |
− |  |
− | == Intrepid Ibex == |
− | <pre>deb http://apt.duke4.net/ intrepid main</pre> |
− | <pre>deb-src http://apt.duke4.net/ intrepid main</pre> |
− |  |
− | == Hardy Heron == |
− | <pre>deb http://apt.duke4.net/ hardy main</pre> |
− | <pre>deb-src http://apt.duke4.net/ hardy main</pre> |
− |  |
− |  |
− | = Debian repositories = |
− |  |
− | == Sid == |
− | <pre>deb http://apt.duke4.net/ sid main</pre> |
− | <pre>deb-src http://apt.duke4.net/ sid main</pre> |
− |  |
− | == Squeeze == |
− | <pre>deb http://apt.duke4.net/ squeeze main</pre> |
− | <pre>deb-src http://apt.duke4.net/ squeeze main</pre> |
− |  |
− | == Lenny == |
− | <pre>deb http://apt.duke4.net/ lenny main</pre> |
− | <pre>deb-src http://apt.duke4.net/ lenny main</pre> |
− |  |
− |  |
− | = Secure APT = |
− | You can import the [http://apt.duke4.net/key/eduke32.gpg GPG public key] to authenticate downloaded packages : |
− |  |
− | == Ubuntu == |
− | <pre>wget http://apt.duke4.net/key/eduke32.gpg -O- | sudo apt-key add -</pre> |
− | == Debian == | + | = Installation instructions =
− | <pre>su && wget http://apt.duke4.net/key/eduke32.gpg -O- | apt-key add -</pre> | + | Add the following lines in an additional sources.list file such as ''/etc/apt/sources.list.d/eduke32.list'' :
| + | <pre>deb http://apt.duke4.net codename main
| + | deb-src http://apt.duke4.net codename main</pre>
| + | 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.
− | = About packages = | + | To do this quickly you can also copy/paste both lines at one time in 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>
− | Packages are available for i386 and amd64 architectures : | + | Note to Ubuntu users: You must activate the ''universe'' [https://help.ubuntu.com/community/Repositories/Ubuntu repository] before installing EDuke32.
− | * '''eduke32''' : Open source enhanced port of the game Duke Nukem 3D |
− | * '''duke3d-shareware''' : Duke Nukem 3D shareware files v1.3d |
| + | 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.
− | == Install a different version of a package == | + | == Secure APT ==
| + | 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>
− | You may need to install a different version of a package, for that you can do : | + | If you prefer to use '''su''' instead of sudo:
− | * '''In command-line interface''' : | + | <pre>su && wget -q http://apt.duke4.net/key/eduke32.gpg -O- | apt-key add -</pre>
− | <pre>apt-get install eduke32=[version]</pre> |
− | example : |
− | <pre>apt-get install eduke32=2.0.0.devel.20100311.r1612-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. |
| + | == 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.
− | == High Resolution Pack files == | + | === Install EDuke32 ===
| + | Run your packages manager and search "eduke32" or in command-line interface, type:
| + | <pre>
| + | sudo apt-get update
| + | sudo apt-get install eduke32
| + | </pre>
− | All require HRP files can be found at [http://hrp.duke4.net hrp.duke4.net]. | + | === High Resolution Pack ===
| + | All HRP files can be found at [http://hrp.duke4.net hrp.duke4.net].
− | Note that EDuke32 Music Pack and DukePlus mod are optional but loaded automaticaly when they are in a search path (usualy $HOME/.eduke32). | + | [[Category:Distribution documentation]]

## Latest revision as of 17:29, 30 July 2012

EDuke32 Distribution

Download · Source Code · APT repository · Packages
Building from source on: Linux · Windows · Mac OS X

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.

Retrieved from "http://wiki.eduke32.com/w/index.php?title=APT_repository&oldid=11084"
Category:

- Distribution documentation