1. Home
  2. Linux
  3. Install linapple apple ii emulator linux

How to install the LinApple Apple II emulator on Linux

The Apple II was one of Apple’s most popular home computer system. It sold very well, and as a result of the sales, it became an exciting platform for computer games. Many, many types of video games were released on the platform during its lifespan.

In 2019, if you find yourself itching to try out some of the old Apple II games, you’ve got one option: the LinApple Apple II emulator. The LinApple Apple II emulator is an impressive emulator for the Linux platform that allows users to load up ROMs, and enjoy the Apple II experience.

Installing LinApple

For the most part, the LinApple emulator doesn’t exist on any Linux distribution’s packaging system. This means that the program must be compiled from source. In this section, we’ll go over how to get your hands on the latest source code for LinApple, install the dependencies and compile everything so it can be used.

To get compiling the latest LinApple code, open up a terminal window by pressing  Ctrl + Alt + T or Ctrl + Shift + T. Then, follow the command-line instructions that correspond with your Linux operating system.

Note: the LinApple emulator’s source code is capable of being compiled on every single Linux distribution out there, and not just the ones that we cover. That said, the developer doesn’t specifically list all dependency libraries, only some. So, you’ll need to look into that yourself.

Installing dependencies

The first step in the installation process for the LinApple emulator is installing the various dependencies that the source code needs to build successfully. Pick the operating system you use below and copy the command into a terminal session to quickly install the various dependencies.

Ubuntu

sudo apt git libzip-dev libsdl1.2-dev libcurl4-openssl-dev zlib1g-dev

Debian

sudo apt-get git libzip-dev libsdl1.2-dev libcurl4-openssl-dev zlib1g-dev

Arch Linux

On Arch Linux, there’s no need to go out of your way to install dependencies. Instead, you can use the AUR to automatically grab the code, the dependencies and build everything without any trouble.

To start, use the Pacman command to install the Base-devel and Git packages on your Arch Linux PC.

sudo pacman -S git base-devel

Once Git and Base-devel are both installed, it’s time to use the git clone command to download the Trizen AUR helper. With this tool, you can quickly load up all of the dependency files without any tediousness.

git clone https://github.com/trizen/trizen

cd trizen
makepkg -sri

With the Trizen AUR helper up and running on your Linux PC, install LinApple on Arch.

trizen -S linapple

Fedora

Fedora Linux has a package for LinApple available on the RPM Sphere software repository. That said, this version of the program doesn’t run well. Sometimes it crashes, so it’s best just to install the dependency files and build from source.

Note: if you can’t build LinApple on Fedora, feel free to try the RPM Sphere package, though it may not work. Alternatively, use a distribution like Ubuntu instead.

sudo dnf install git libzip-devel SDL-devel libcurl-devel gcc-c++

OpenSUSE

sudo zypper install sudo git libzip-devel libSDL-devel libcurl-devel gcc-c++

Download source code

With the dependencies installed on your Linux system, we can now use the Git tool to clone the latest source code release. Open up a terminal window and use git clone to grab the code.

git clone https://github.com/linappleii/linapple.git

After downloading, use the CD command to move into the code folder.

cd linapple/

Build LinApple for Linux

Compiling the source code for LinApple starts by running the make command. In the terminal, run:

make

Alternatively, if you’d like to compile the code much faster, you can run the make command against all of the cores on your Linux PC, with:

make -j$(nproc)

When the compilation is complete, install the program on your Linux PC by using the make install command.

sudo make install

Using LinApple

LinApple can load up ROM/Disk image directly from the command-line thanks to it’s easy to use command-line structure. To load up a ROM image in the first drive, use ‘d1’. For example:

linapple -d1 /path/to/disk/image -f -autoboot

To load up a ROM in the second slot, use ‘d2’.

linapple -d2 /path/to/disk/image -f -autoboot

Shortcuts

The LinApple emulator operates with keyboard shortcuts. Here are a few important ones that will help during the emulation process.

  • F1: shows the help screen, and details information that will help the user better understand LinApple, it’s functions, etc.
  • Ctrl + F2: reboots the emulator and turns it back up.
  • Shift + F2: reloads your config file for LinApple and reboots the emulator.
  • F3: load the disk image from Drive 1.
  • F4: load the disk image from Drive 2.
  • F6: Fullscreen mode.
  • F8: take a screenshot.
  • F9: sort through different video modes.
  • F10: load a save state snapshot.
  • F11: save a snapshot.

The shortcuts above in the list are the ones you’ll need to remember to have a pleasant experience with the LinApple emulator on your Linux PC. However, those aren’t the only ones. For more info on shortcuts, click here.