I know that apt-get is meant to be a packaging manager for Debian. But I'd like to learn if this software can be also ported to different operating systems, especially to Slackware.
I am the author of Slax, a Slackware-based operating system, so I know lots of the internals of a working OS, library dependencies, and so on. From my point of view, installing a debian package to Slackware or other distribution is fairly possible if both the distros share similar libraries, which most Linuxes do nowadays. Slackware, despite it's focus on stability, is usually using recent libraries as like Debian.
As far as I understand apt, it's just an application which tracks dependencies and has a list of mirrors from which to download packages. Unpacking the deb packages is a matter of
ar -x
Most init scripts will be the same if the Sys-V init style is supported. Some of the Debian packages may not work out of the box, especially those which are deeply system-related, like udev for example, but majority of the APPLICATIONS should install and work OK on Slackware in my opinion. I tried Google's official Chrome Browser package for Debian and it works just fine on Slackware.
Are there any drawbacks in porting apt-get to Slackware or other Linux? Did anybody attempt to port it already? Thank you