{"id":1133,"date":"2014-10-30T19:30:26","date_gmt":"2014-10-30T08:30:26","guid":{"rendered":"http:\/\/howden.net.au\/thowden\/?p=1133"},"modified":"2021-12-24T20:54:11","modified_gmt":"2021-12-24T20:54:11","slug":"synology-installation-of-ipkg-dsm-yum-or-apt-get-equivalent","status":"publish","type":"post","link":"https:\/\/howden.net.au\/thowden\/2014\/10\/synology-installation-of-ipkg-dsm-yum-or-apt-get-equivalent\/","title":{"rendered":"Synology installation of ipkg DSM yum or apt-get equivalent"},"content":{"rendered":"<p>The reference for the first part is at http:\/\/swwiki.e-dschungel.de\/synology but is in German.<\/p>\n<p>First up we need a package installer, ipkg<\/p>\n<p>Check the Synology device for which cpu it has,<\/p>\n<pre>[text]\n#cat \/proc\/cpuinfo | grep cpu\n[\/text]<\/pre>\n<p>Then select the appropriate script<\/p>\n<table style=\"border-collapse: collapse;\">\n<tbody>\n<tr>\n<td>CPU<\/td>\n<td>Bootstrap Script<\/td>\n<\/tr>\n<tr>\n<td>ARM (armv5tejl)<\/td>\n<td>http:\/\/ipkg.nslu2-linux.org\/feeds\/optware\/syno-x07\/cross\/unstable\/syno-x07-bootstrap_1.2-7_arm.xsh<\/td>\n<\/tr>\n<tr>\n<td>PowerPC (ppc_6xx)<\/td>\n<td>http:\/\/ipkg.nslu2-linux.org\/feeds\/optware\/ds101g\/cross\/unstable\/ds101-bootstrap_1.0-4_powerpc.xsh<\/td>\n<\/tr>\n<tr>\n<td>PowerPC (ppc_85xx, e500v?)<\/td>\n<td>http:\/\/ipkg.nslu2-linux.org\/feeds\/optware\/syno-e500\/cross\/unstable\/syno-e500-bootstrap_1.2-7_powerpc.xsh<\/td>\n<\/tr>\n<tr>\n<td>Marvell Kirkwood 88F6281, 88F6282, 88FR131 (ARMv5TE Feroceon)<\/td>\n<td>http:\/\/ipkg.nslu2-linux.org\/feeds\/optware\/cs08q1armel\/cross\/stable\/syno-mvkw-bootstrap_1.2-7_arm.xsh<\/td>\n<\/tr>\n<tr>\n<td>Intel Atom<\/td>\n<td>http:\/\/ipkg.nslu2-linux.org\/feeds\/optware\/syno-i686\/cross\/unstable\/syno-i686-bootstrap_1.2-7_i686.xsh<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>and get it with<\/p>\n<pre>[text]\n#wget http:\/\/your_selected_cpu_bootstrap_script_here\n[\/text]<\/pre>\n<p>then run it with<\/p>\n<pre>[text]\n#sh your_selected_cpu_bootstrap_script_here\n[\/text]<\/pre>\n<p>This install ipkg, but it is not in the path for the Synology system. To add it to the path:<\/p>\n<p>1. check the path<\/p>\n<pre>[text]\n#cat \/etc\/profile\n[\/text]<\/pre>\n<p>and this should be there<\/p>\n<pre>[text]\nPATH=\/sbin:\/bin:\/usr\/sbin:\/usr\/bin:\/usr\/syno\/sbin:\/usr\/syno\/bin:\/usr\/local\/sbin:\/usr\/local\/bin export PATH\n[\/text]<\/pre>\n<p>extend the path to include our \/opt directories with two command lines<\/p>\n<pre>[text]\n# PATH=\/opt\/bin:\/opt\/sbin:$PATH\n# export PATH\n[\/text]<\/pre>\n<p>Then we can test that ipkg is installed and will run from anywhere with<\/p>\n<pre>[text]\n# ipkg -v\n[\/text]<\/pre>\n<p>Should respond with something like<\/p>\n<pre>[text]\n# ipkg version 0.99.163\n[\/text]<\/pre>\n<p>If you now try to install a package, you will get an error<\/p>\n<pre>[text]\n#ipkg install mc\nNothing to be done\nAn error ocurred, return value: 4.\n[\/text]<\/pre>\n<p>Which is ok, this is expected because the new install does not yet know where to look for &#8216;mc&#8217;<\/p>\n<p>Note: &#8216;mc&#8217; is just a favourite package of mine, (midnight commander, with the excellent mcedit editor) but you could try any packge you want like &#8216;nano&#8217;, etc.<\/p>\n<p>The final step for installing ipkg is to update the repositories<\/p>\n<pre>[text]\n# ipkg update\n[\/text]<\/pre>\n<p>Then try again and as ipkg now has a repository to call on, it should find the install package and install it.<\/p>\n<p><em>Much Later: Corrected a couple of text errors, thanks to all who pointed them out!<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The reference for the first part is at http:\/\/swwiki.e-dschungel.de\/synology but is in German. First up we need a package installer, ipkg Check the Synology device for which cpu it has, [text] #cat \/proc\/cpuinfo | grep cpu [\/text] Then select the appropriate script CPU Bootstrap Script ARM (armv5tejl) http:\/\/ipkg.nslu2-linux.org\/feeds\/optware\/syno-x07\/cross\/unstable\/syno-x07-bootstrap_1.2-7_arm.xsh PowerPC (ppc_6xx) http:\/\/ipkg.nslu2-linux.org\/feeds\/optware\/ds101g\/cross\/unstable\/ds101-bootstrap_1.0-4_powerpc.xsh PowerPC (ppc_85xx, e500v?) http:\/\/ipkg.nslu2-linux.org\/feeds\/optware\/syno-e500\/cross\/unstable\/syno-e500-bootstrap_1.2-7_powerpc.xsh [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31,20],"tags":[37,38,48,58,59,60,70,96,109],"class_list":["post-1133","post","type-post","status-publish","format-standard","hentry","category-hardware-configuration","category-synology-devices","tag-apt-get","tag-aptitude","tag-dsm","tag-install","tag-ipkg","tag-linux","tag-nas","tag-synology","tag-yum"],"_links":{"self":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/posts\/1133","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/comments?post=1133"}],"version-history":[{"count":2,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/posts\/1133\/revisions"}],"predecessor-version":[{"id":1397,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/posts\/1133\/revisions\/1397"}],"wp:attachment":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/media?parent=1133"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/categories?post=1133"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/tags?post=1133"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}