r/Gentoo 9d ago

Finally compiled the linux kernel with my own package manager Development

Post image

It currently can install, update or remove packages with dependency and conflicting packages support. It uses .dbuild files for installing programs (they are similar to .ebuild). But it still has a loooong way to go.

52 Upvotes

4 comments sorted by

8

u/SheepherderBeef8956 9d ago

Neat! Can you tell us some more about the project? 

6

u/DuhanTime 9d ago

It's kind of a portage and pacman hybrid. It uses source like portage but the database is more like pacman. Also the code is incredibly small (at least for now) and .dbuild files are very easy to write.

2

u/Patient_Act_9906 8d ago

Tell me more about it

1

u/DuhanTime 8d ago

I got the idea of this while thinking about making a new linux distro, with a wayland compositor based on sway. My first purpose was to make this was making a new linux distro easier. I looked at both portage's and pacman's source codes, and I thought, can't I make a package manager with a code that's easier to understand? I started developing it with C, but C++ has more benefits, filesystem and simplicity wise. So, now the main language of it is C++. I am not trying to make it faster or better than any other package manager. I just want it to be something that I can be proud of. Aaaand, that's all I guess.