How to install LXC on non-most distributions?

I am using DSM, with kernel 4.4.302. It is not a standard Linux distribution, and I cannot use apt install lxc like other distributions. I want to install LXC in it, but I am not a computer expert. I can only download a compressed package from github, which seems to need to be compiled and installed, but I have no idea how to do it. How can I install the dependencies and compile and install LXC?

Hi!

DSM is a Linux distribution by Synology.
DSM has its own package store where you get either get for free or buy packaged software.

DSM has a special package format, the .spk package format. There’s a way to package software into the SPK package format.

Several projects have such SPK packages. It’s also possible to create your own repository for such packages.

Did you actually find an SPK package for LXC or are you asking how to create an SPK package for LXC from scratch?

I don’t know how to use the packaged spk package, and I don’t want to use this method. I want to use your tar.gz package to install LXC in DSM, mainly to learn how to install directly using your source code. Or why there is no one-click installation sh script, or a deb package like the emby program. In addition, your instructions only list that most distributions have lxc, and you only need to use apt or yum to install it, but there is no installation tutorial for other non-distribution versions. This is completely incomprehensible to novices. So it cannot be used.