Difference between revisions of "APT repository" - EDukeWiki

# Difference between revisions of "APT repository"

From EDukeWiki

Revision as of 04:14, 5 March 2010 (view source) Bioman (talk | contribs) m (completed informations) ← Older edit | Revision as of 12:15, 11 May 2010 (view source) Bioman (talk | contribs) (Added packages for Maverick & "About packages" sections) Newer edit →
Line 5: | Line 5:
| = Ubuntu repositories = |  | = Ubuntu repositories =
| '''Important''' : Ubuntu users must activate the ''universe'' [https://help.ubuntu.com/community/Repositories/Ubuntu repository] before installing EDuke32. |  | '''Important''' : Ubuntu users must activate the ''universe'' [https://help.ubuntu.com/community/Repositories/Ubuntu repository] before installing EDuke32.
| + |
| + | == Maverick Meerkat ==
| + | deb http://apt.duke4.net/ maverick main
| + |
| + | deb-src http://apt.duke4.net/ maverick main
| == Lucid Lynx == |  | == Lucid Lynx ==
Line 51: | Line 56:
| = Secure APT = |  | = Secure APT =
− | You can import the [http://apt.duke4.net/key/eduke32.gpg GPG public key] to use secure APT : | + | You can import the [http://apt.duke4.net/key/eduke32.gpg GPG public key] to authenticate downloaded packages :
| == Ubuntu == |  | == Ubuntu ==
Line 58: | Line 63:
| == Debian == |  | == Debian ==
| su && wget -q http://apt.duke4.net/key/eduke32.gpg -O- | apt-key add - |  | su && wget -q http://apt.duke4.net/key/eduke32.gpg -O- | apt-key add -
| + |
| + |
| + | = About packages =
| + |
| + | Packages are available for i386 and amd64 architectures :
| + | * '''eduke32''' : Open source port of the game Duke Nukem 3D
| + | * '''duke3d-shareware''' : Duke Nukem 3D shareware files v1.3d
| + |
| + |
| + | == 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''' :
| + | apt-get install eduke32=[version]
| + | example :
| + | apt-get install eduke32=2.0.0.devel.20100311.r1612-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 files ==
| + |
| + | All require 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).

## Revision as of 12:15, 11 May 2010

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.

# Ubuntu repositories

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

## 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

## Jaunty Jackalope

    deb http://apt.duke4.net/ jaunty main

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

## Intrepid Ibex

    deb http://apt.duke4.net/ intrepid main

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

## Hardy Heron

    deb http://apt.duke4.net/ hardy main

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

# Debian repositories

## Sid

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

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

## Squeeze

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

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

## Lenny

    deb http://apt.duke4.net/ lenny main

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

# Secure APT

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

## Ubuntu

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

## Debian

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

# About packages

Packages are available for i386 and amd64 architectures :

- eduke32 : Open source port of the game Duke Nukem 3D
- duke3d-shareware : Duke Nukem 3D shareware files v1.3d

## 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 :

    apt-get install eduke32=[version]

example :

    apt-get install eduke32=2.0.0.devel.20100311.r1612-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 files

All require HRP files can be found at 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).

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