This is the install instructions for Linux:
Compiling Attract-Mode
----------------------
Build instructions are set out by operating system below:
Linux, FreeBSD:
---------------
These instructions assume that you have the GNU C/C++ compilers and basic
build utilities (make, pkg-config, ar) on your system. This means the
"build-essential" and "pkg-config" packages on Debian or Ubuntu-based
distributions. Other distributions should have similar packages available.
1. Install the following *development* libraries on your system:
* Required:
- SFML SDK version 2.x (<http://sfml-dev.org>)
- OpenAL
- Zlib
- FreeType 2
- The following FFmpeg libraries (required for videos):
* avformat,
* avcodec,
* swscale,
* avutil,
* swresample or avresample.
- OpenGL and GLU (or OpenGLES for GLES version)
- JPEG library
- Make and Package Config
- Xrandr
* Optional:
- Fontconfig (to assist with finding fonts).
- Xinerama (for multiple monitor support).
- libarchive (for .7z, .rar, .tar.gz and .tar.bz2 archive support).
- Libcurl (for network info/artwork scraping).
2. Extract the Attract-Mode source to your system.
3. From the directory you extracted the source into, run:
make
or, if you are building on a Raspberry Pi, O-Droid or another embedded
system, you can build the OpenGL ES version with the following:
make USE_GLES=1
This step will create the "attract" executable file.
4. The final step is to actually copy the Attract-Mode executable and data
to a location where they can be used. To install on a system-wide basis
you should run:
sudo make install
This will copy the "attract" executable to `/usr/local/bin/` and default
data to `/usr/local/share/attract/`. Note: if you are building the OpenGL
ES version you need to include the `USE_GLES=1` parameter here as well.
For a single user install on Linux or FreeBSD, you can complete this step
by copying the contents of the "config" directory from the Attract-Mode
source directory to the location that you will use as your Attract-Mode
config directory. By default, this config directory is located in
`$HOME/.attract` on Linux/FreeBSD systems.
NOTE: The Attract-Mode makefile tries to follow the GNU standards for
specifying installation directories: <https://www.gnu.org/prep/standards/html_node/Directory-Variables.html>.
If you want to change the location where Attract-Mode looks for its default
data from `/usr/local/share/attract` you should change these values
appropriately before running the `make` and `make install` commands.
Someone more experienced might be able to walk you through it. Good luck!