Installing PCC2


This page describes how to install PCC2. All downloads can be found on the download index page.

Windows

Download the installer (PCC2-Installer-xxx.exe) and run it. The installer will guide you through the installation. It will set up start menu entries and file associations. If you have Winplan, it will also configure PCC2 to use its graphics.

If you do not trust my installer, I'm also offering a zip file (pcc2-xxx-win32.zip). Unpack it anywhere and you're ready to go. PCC2 does not need any registry entries to run; registry entries are only made to integrate PCC2 with Windows.

You probably want to install an artwork plugin. If you have used the installer, just double-click the *.c2z file, otherwise use the command c2plugin add theFile.c2z.

Linux

The package has been built for Debian and works on Debian derivatives (Ubuntu, Mint, etc.) as well. Users of other distributions can install from source or use a package conversion tool.

  • If you have a 64-bit system, install the 32-bit libraries.
  • Install the SDL, SDL_image and C++ libraries, by entering these commands in a shell terminal window:
    sudo apt-get install libsdl1.2debian-all
    sudo apt-get install libsdl-image1.2
    sudo apt-get install libstdc++5
  • Install the PCC2 package:
    sudo dpkg -i pcc2_2.0.16_i386.deb

An alternative way would be to just install the PCC2 package and then use apt-get install -f to install everything that's missing. Finally, installing from source will get you a package that is tailored to your computer, and isn't hard.

The current version will be installed to /usr/local, some previous ones were installed to /opt/pcc2.

You probably want to install an artwork plugin. Download it and use the command c2plugin add theFile.c2z. This will add the plugin for your user.

Installing from Source

You need the PCC2 source code (pcc2-XXX.tar.gz) and additional source code (cpluslib-XXX.tar.gz) archives. Build instructions are included in the text file INSTALL that comes with the PCC2 source code archive.

You need the following additional packages to compile PCC2:

These are common components, so you can normally install these using you operating system's package manager. Be sure to install the development packages.

In addition, you need:

  • Perl
  • Make
  • A decent C++ compiler. PCC2 is known to compile with g++ 3.3 or 4.5. I occasionally also try VC8. In the past, I have also compiled PCC2 using Borland C++ 5.5 or g++ 2.95, but these probably no longer work.

If you wish to modify the source code or build more than just PCC, optional source code modules are:

  • The Makefile generator is useful when you add or remove new source code files.
  • The PDK is required to build the FLAK server module.
  • Obsolete: The PCC2 server module drove PCC2 Web. It could be used to add a similar feature to your autohost. It has been replaced by the version from PCC2ng.
  • Obsolete: The PlanetsCentral application servers drove the PlanetsCentral auto-host site. The package includes a host server, a forum server, a file manager, and a little more. They are now included in PCC2ng.

If you have downloaded/installed everything, follow the instructions from INSTALL. For a normal Unix system, the usual open source triple-jump should be enough: ./configure && make && sudo make install.


Go to
[ PCC2 | My VGA Planets Page ]

Stefan Reuther
If you wish to redistribute stuff from these pages, please play by the rules: Copyright information.