Installing DeSmuME from source on Linux

From DeSmuME
(Difference between revisions)
Jump to: navigation, search
(New page: The Linux version of desmume comes in source code form only, and you will have to compile the sources yourself before you can run it. There are a few pre-requisites that have to be met bef...)
 
Line 1: Line 1:
The Linux version of desmume comes in source code form only, and you will have to compile the sources yourself before you can run it. There are a few pre-requisites that have to be met before you can compile desmume. For example, you will need a compiler like gcc, and several system libraries and header files. If you chose a 'development' installation (or something similair) during the installation of Linux, then it is likely that most if not all of htese pre-requisites are met. If not, you will have to install them manually. how this needs to be done depends on the distribution you are using.
+
The Linux version of desmume comes in source code form only, and if your distribution does not package it or is packaging an old version you will have to compile the sources yourself. In order to compile desmume you'll need at least these packages:
  
Once you have all the required files installed, you can download the desmume source code. Once downloaded you will need to ungzip it by running the command 'gunzip desmume-version.tar.gz'. Then you will need to untar it by running 'tar -xvf desmume-version.tar'. Now cd to the desmume directory, and run './configure'. After this, you will need to run 'make'. And lastly, you will need to run 'make install'. This last command needs to be run as the 'root' user.
+
gcc make libglib2 libgtk2 libglade gettext libsdl zlib
 +
 
 +
If you want 3d engines alternatives to software rasterizer you may install libgtkglext or libosmesa.
 +
 
 +
 
 +
== Install desmume from source tarball ==
 +
 
 +
Go to http://desmume.org/download/ to check out the latest version of desmume available. At the time of writing the latest the latest stable release of desmume is 0.9.2.
 +
 
 +
Download the tarball and extract it:
 +
 
 +
wget http://prdownloads.sourceforge.net/desmume/desmume-0.9.2.tar.gz?download
 +
tar xvzf desmume-0.9.2.tar.gz
 +
 
 +
Enter the desmume directory and build the source:
 +
 
 +
cd desmume-0.9.2
 +
./configure
 +
make
 +
sudo make install
 +
 
 +
If you are not using sudo the last command needs to be run as the 'root' user.

Revision as of 22:21, 12 April 2009

The Linux version of desmume comes in source code form only, and if your distribution does not package it or is packaging an old version you will have to compile the sources yourself. In order to compile desmume you'll need at least these packages:

gcc make libglib2 libgtk2 libglade gettext libsdl zlib

If you want 3d engines alternatives to software rasterizer you may install libgtkglext or libosmesa.


Install desmume from source tarball

Go to http://desmume.org/download/ to check out the latest version of desmume available. At the time of writing the latest the latest stable release of desmume is 0.9.2.

Download the tarball and extract it:

wget http://prdownloads.sourceforge.net/desmume/desmume-0.9.2.tar.gz?download tar xvzf desmume-0.9.2.tar.gz

Enter the desmume directory and build the source:

cd desmume-0.9.2 ./configure make sudo make install

If you are not using sudo the last command needs to be run as the 'root' user.

Personal tools