Synology Package Managers: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Category:NAS == 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 manage...") |
No edit summary Tag: wikieditor |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
[[Category: | [[Category:Synology]] | ||
== Overview == | == Overview == | ||
| Line 30: | Line 30: | ||
Then running `./boostrap/bootstrap.sh` again (as `sudo`): | Then running `./boostrap/bootstrap.sh` again (as `sudo`): | ||
<syntaxhighlight lang=" | <syntaxhighlight lang="sh"> | ||
$ sudo sh bootstrap.sh | $ sudo sh bootstrap.sh | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Latest revision as of 14:07, 24 September 2022
Overview[edit]
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[edit]
- 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[edit]
- ↑ Synology installation of ipkg DSM yum or apt-get equivalent
- ↑ IPKG for DS211 - Synology Forums