How to install ipkg (or opkg) package manager on Synology DiskStation
14,650
You don't need to comment out #PATH=/opt/bin:/opt/sbin:$PATH in your /etc/profile, you need that path to use the ipkg command.
Also try ls /opt/bin/ to see if ipkg has really been installed.
Related videos on Youtube
Author by
ben
Updated on September 18, 2022Comments
-
ben 3 monthsIs there anybody out there who got the
ipkg(oropkg) package manager running on a Synology DS412+ with DSM 4.3, or someone who knows how to do so?I've tried to install by GUI, used the package from 'quadrat4', but a modal message occurred that it can't be installed properly. Next I tried to install via SSH as 'root'. I was following the few step-by-step tutorials I've found around the internet. But none of these variants will work for me.
cd /volume1/tmp wget http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/syno-i686-bootstrap_1.2-7_i686.xsh chmod +x syno-i686-bootstrap_1.2-7_i686.xsh sh syno-i686-bootstrap_1.2-7_i686.xsh cd / ln -s /volume1/@optware /opt cd / vi /etc/profile #PATH=/opt/bin:/opt/sbin:$PATH vi /root/.profile #PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin #export PATH rebootAfter doing all the steps as described, I just get:
ipkg update -ash: ipkg: not foundHope you can help me out with this!
-
Jonas Heidelberg almost 3 yearsCould you elaborate why opkg is better? -
raisercostin almost 3 yearsI don't remember. But a search on google onipgk vs opkggives a lot of reasons like "he reason for creating opkg was that ipkg was an effectively a dead end project (not dead, just a dead end). OE has had ipkg patches sitting around for years and there was no active ipkg maintainer and no active ipkg development. I was perfectly happy to see ipkg being renamed and development continued under a new banner." -
raisercostin almost 3 yearsOr "The opkg utility is the lightweight package manager used for this job. Opkg is a fork of ipkg, the package manager used in NSLU2's Optware, which is designed to add software to stock firmware of embedded devices. Opkg is a full package manager for the root file system, including kernel modules and drivers, while ipkg is just a way to add software to a separate directory (e.g. /opt)." -
DavidPostill over 1 yearPlease quote the essential parts of the answer from the reference link(s), as the answer can become invalid if the linked page(s) change. -
Greg Woods over 1 yearDoesn't seem to work anymore (DSM7), it is blocked due to requiring root