Difference between revisions of "APT repository" - EDukeWiki

# Difference between revisions of "APT repository"

From EDukeWiki

Revision as of 14:52, 6 July 2012 (view source) Bioman (talk | contribs) (It is no longer possible to reinstall an older version, to avoid issues like with libvpx0 and libvpx1.) ← Older edit | Revision as of 21:36, 25 July 2012 (view source) Bioman (talk | contribs) (Removed static APT URLs and added a versioning file) Newer edit →
Line 3: | Line 3:
| 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 an additional sources.list file such as ''/etc/apt/sources.list.d/eduke32.list''. | + | = Installation instructions =
| + | 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>
− | Or, to do this quickly you can copy/paste both lines at one time in a terminal : | + | 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.
| + |
| + | 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\ |  | <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> |  | deb-src http://apt.duke4.net $(lsb_release -cs) main" | sudo tee -a /etc/apt/sources.list.d/eduke32.list</pre>
− | = Ubuntu repositories = | + | Note to Ubuntu users: You 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. |
− | == Precise Pangolin == | + | 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 precise main |
− | deb-src http://apt.duke4.net precise main</pre> |
− | == Oneiric Ocelot == | + | == Secure APT ==
− | <pre>deb http://apt.duke4.net oneiric main | + | You can import the [http://apt.duke4.net/key/eduke32.gpg GPG public key] to authenticate downloaded packages:
− | deb-src http://apt.duke4.net oneiric main</pre> | + | <pre>wget -q http://apt.duke4.net/key/eduke32.gpg -O- | sudo apt-key add -</pre>
− |  |
− | == Natty Narwhal == |
− | <pre>deb http://apt.duke4.net natty main |
− | deb-src http://apt.duke4.net natty main</pre> |
− |  |
− | == Lucid Lynx == |
− | <pre>deb http://apt.duke4.net lucid main |
− | deb-src http://apt.duke4.net lucid main</pre> |
− |  |
− | = Debian repositories = |
− | == Sid == |
− | <pre>deb http://apt.duke4.net sid main |
− | deb-src http://apt.duke4.net sid main</pre> |
− |  |
− | == Wheezy == |
− | <pre>deb http://apt.duke4.net wheezy main |
− | deb-src http://apt.duke4.net wheezy main</pre> |
− |  |
− | == Squeeze == |
− | <pre>deb http://apt.duke4.net squeeze main |
− | deb-src http://apt.duke4.net squeeze main</pre> |
− | = Secure APT = | + | If you prefer to use '''su''' instead of sudo:
− | You can import the [http://apt.duke4.net/key/eduke32.gpg GPG public key] to authenticate downloaded packages : | + | <pre>su && wget -q http://apt.duke4.net/key/eduke32.gpg -O- | 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.
| * '''mapster32''' : OpenGL maps editor for EDuke32. |  | * '''mapster32''' : OpenGL maps editor for EDuke32.
Line 52: | Line 32:
| * '''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 59: | Line 39:
| </pre> |  | </pre>
− | == 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].
| [[Category:Distribution documentation]] |  | [[Category:Distribution documentation]]

## Revision as of 21:36, 25 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.

# 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=11070"
Category:

- Distribution documentation