Synology Package Managers
Overview
Package managers yum and apt-get don't appear to be available on Synology. ipkg is noted as the replacement for the other package managers.
Installation
- First look up the CPU of the DiskStation: DSM > Control Panel > System > Info Center > General tab > Basic Information group > CPU
- Alternatively, CPUs for all DiskStation models are listed here.
- Download and install
ipkg[1] - E.g. on DS213:
$ wget http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/stable/syno-mvkw-bootstrap_1.2-7_arm.xsh $ sh syno-mvkw-bootstrap_1.2-7_arm.xsh
On DS213 running the script generated an error: Error: CPU not Marvell Kirkwood, probably wrong bootstrap.xsh
This error is fixed by editing ./bootstrap/bootstrap.sh to change line 21: [2]
from
if ! grep Feroceon-KW /proc/cpuinfo >/dev/null 2>&1; then
to
if ! grep Feroceon /proc/cpuinfo >/dev/null 2>&1; then
Then running ./boostrap/bootstrap.sh again (as sudo):
$ sudo sh bootstrap.sh
ipkgis installed in either/opt/binor/opt/sbin, which are not in the default path. Either invokeipkgusing the full path, or add the path to thePATHenvironment variable.- The package sources must be added to
ipkgwithsudo ipkg update. - Now
ipkgis ready to use withsudo /opt/bin/ipkg install somepkg
Notes
- ↑ Synology installation of ipkg DSM yum or apt-get equivalent
- ↑ IPKG for DS211 - Synology Forums