# Problems installing Castle Game Engine (Lazarus 2.0.2, and later Lazarus 4.2 + FPC 3.2.2 via OPM and fpcup)

**URL:** https://forum.castle-engine.io/t/problems-installing-castle-game-engine-lazarus-2-0-2-and-later-lazarus-4-2-fpc-3-2-2-via-opm-and-fpcup/122
**Category:** Uncategorized
**Created:** [February 13, 2020, 5:47am UTC](https://forum.castle-engine.io/t/problems-installing-castle-game-engine-lazarus-2-0-2-and-later-lazarus-4-2-fpc-3-2-2-via-opm-and-fpcup/122 "2020-02-13T05:47:10Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![michalis](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/michalis/32/3_2.png) [@michalis](https://forum.castle-engine.io/u/michalis)
#### Post date: [April 22, 2026, 9:31pm UTC](https://forum.castle-engine.io/t/problems-installing-castle-game-engine-lazarus-2-0-2-and-later-lazarus-4-2-fpc-3-2-2-via-opm-and-fpcup/122/6 "2026-04-22T21:31:15Z")

</div>

Note: Please create new forum threads for new issues:) This thread is from 2020 and it has title mentioning “Lazarus 2.0.2”, which is ancient now:)

As others pointed out, our package definitions in OPM are unfortunately outdated. Please download the engine [from our official downlaods](https://castle-engine.io/download), and follow [manual how to install](https://castle-engine.io/manual). This way you also (in addition to sources and lpk packages) get pre-compiled editor and other tools, which are useful to develop games with the engine.

Details:

1. As for OPM: As others pointed out, OPM (which FpcUpDeluxe uses) has rather outdated version of Castle Game Engine, 6.4.

2. The FpcUpDeluxe “Install module” seems to actually get from GitHub the latest Castle Game Engine `master` branch, from what I can see.

We need to update CGE definition in OPM, and we need to make sure FpcUpDeluxe then also is OK (or ping FpcUpDeluxe to update their knowledge too, if it’s not synchronized with OPM).

_If anyone wants to help with this (ping OPM manager)_, I would appreciate it a lot, as I myself obviously failed to do this for a long time 🙂 You can point them to this info:

- [Detailed docs of our lpk packages is here](https://github.com/castle-engine/castle-engine/tree/master/packages/lazarus). In short, a regular installation should install `packages/lazarus/castle_engine_base.lpk`, `packages/lazarus/castle_engine_lcl.lpk` and compile (but not install) `packages/lazarus/castle_engine_window.lpk`.

- I recommend to get engine version from GIT `snapshot` branch (not `master`), that passed automatic tests, or [latest release](https://github.com/castle-engine/castle-engine/releases) which is now `7.0-alpha.3` but should soon be `7.0-alpha.4` 🙂

---

_[View the full topic](https://forum.castle-engine.io/t/problems-installing-castle-game-engine-lazarus-2-0-2-and-later-lazarus-4-2-fpc-3-2-2-via-opm-and-fpcup/122)._
