Dark Horse Linux Package Manager: Core Component
 
 
Go to file
Chris Punches 0351b58d32 improved build script for installation and updated README.md 2025-03-02 01:08:07 -05:00
include modules now can access config entries in a new conf.d dir pulled by DPM core (ini file format) 2025-03-02 00:29:26 -05:00
modules modules now can access config entries in a new conf.d dir pulled by DPM core (ini file format) 2025-03-02 00:29:26 -05:00
src modules now can access config entries in a new conf.d dir pulled by DPM core (ini file format) 2025-03-02 00:29:26 -05:00
.gitignore repaired some path handling, improved error handling 2025-02-23 04:04:50 -05:00
CMakeLists.txt improved build script for installation and updated README.md 2025-03-02 01:08:07 -05:00
LICENSE Initial commit 2025-02-18 04:08:23 +00:00
README.md improved build script for installation and updated README.md 2025-03-02 01:08:07 -05:00

README.md

DPM-Core

The core component of the Dark Horse Linux Package Manager

What is DPM?

https://dpm.darkhorselinux.org

Build Dependencies

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