2025-02-18 04:08:23 +00:00
|
|
|
# DPM-Core
|
|
|
|
|
2025-02-18 04:10:35 +00:00
|
|
|
The core component of the Dark Horse Linux Package Manager
|
|
|
|
|
2025-03-02 06:08:07 +00:00
|
|
|
## What is DPM?
|
2025-02-18 04:10:35 +00:00
|
|
|
|
|
|
|
https://dpm.darkhorselinux.org
|
|
|
|
|
2025-03-02 06:08:07 +00:00
|
|
|
## Build Dependencies
|
2025-02-18 04:10:35 +00:00
|
|
|
|
2025-03-02 06:08:07 +00:00
|
|
|
To build DPM from source, you'll need the following dependencies:
|
|
|
|
|
|
|
|
- GCC/G++ (version 10 or later, supporting C++20)
|
|
|
|
- CMake (version 3.22 or later)
|
|
|
|
- Make
|
|
|
|
- libstdc++ (C++ standard library)
|
|
|
|
- Linux headers
|
|
|
|
- dlopen/dlsym support (provided by libdl)
|
|
|
|
|
|
|
|
## Building from Source
|
|
|
|
|
|
|
|
```
|
|
|
|
mkdir ./build && cd ./build
|
|
|
|
cmake ../
|
|
|
|
make
|
|
|
|
make install
|
|
|
|
```
|
|
|
|
|
|
|
|
This will install:
|
|
|
|
- The `dpm` binary to `/usr/bin/`
|
|
|
|
- Module shared objects to `/usr/lib/dpm/modules/`
|
|
|
|
- Configuration files to `/etc/dpm/conf.d/`
|
|
|
|
|
|
|
|
## Development
|
|
|
|
|
|
|
|
For development work, you can run DPM directly from the build directory:
|
|
|
|
|
|
|
|
```
|
|
|
|
./dpm
|
|
|
|
```
|
|
|
|
|
|
|
|
To load modules from the build directory, specify the module path:
|
|
|
|
|
|
|
|
```
|
|
|
|
./dpm -m ./modules
|
|
|
|
```
|