Debian Chroot on Synology NAS

I have been struggling to use the ipkg packages on a Synology DS215j, specifically with gcc.  Luckily Debian Chroot is available as a community package and can be used as an alternative as it gives access to apt-get and all related packages.  For details on
the community package, see  The package comes with a minimal installation guide at
I started looking for some more instructions and found this very useful blog post: However the blog post seems to be translated from Chinese and I had to read it a couple of times to understand it all.  That’s why I have included my own translation below.
Continue reading “Debian Chroot on Synology NAS”