How to install IPKG on a Synology NAS

Sometimes you want to install “community” or third party packages on your Synology NAS and they require IPKG (Itsy Package Management System) to be present. Instruction about how to go about this seem to vary and are often specific for the CPU inside your NAS. The easiest method that I’ve found for getting IPKG installed is as follows…

First job is to open an SSH session to the NAS and confirm what type of processor it has. This can be done using the following command:

cat /proc/cpuinfo | grep model

For my DS1513+ it returns:

model: 54
model name: Intel(R) Atom(TM) CPU D2701   @ 2.13GHz
model: 54
model name: Intel(R) Atom(TM) CPU D2701   @ 2.13GHz
model: 54
model name: Intel(R) Atom(TM) CPU D2701   @ 2.13GHz
model: 54
model name: Intel(R) Atom(TM) CPU D2701   @ 2.13GHz

Next you need to dig around the site to find the correct bootstrap for your architecture. In my case it’s at

To install it, there are a couple of steps…

1. Within your SSH session, change to a temporary location (note that you will probably need to be logged in as root to do all this)

cd /tmp

2. Download the bootstrap script


3. Make the file executable

 chmod +x syno-i686-bootstrap_1.2-7_i686.xsh

4. Run the script

sh syno-i686-bootstrap_1.2-7_i686.xsh

5. If it all went well, remove the script

rm syno-i686-bootstrap_1.2-7_i686.xsh

6. Update the package list

ipkg update

Well done, you’re now ready to install custom packages via ipkg.

Michael is a Senior Consultant for Xtravirt. If it's got buttons or flashy lights on it then it'll probably be on his radar. When not "mending computers" (it's sometimes easier than explaining "cloud" to relatives), Michael provides essential education, entertainment and trampoline services to his two children.


  1. Pete says

    Thanks for that – I had exactly the same model it seems – copy and paste and in 1 minute I have the ‘rename’ command 😉


  2. Rob says

    This is great, but how did you identify that that specific .xhs was the one you needed? Identifying my CPU is easy but how do I figure out which bootstrap is needed?

  3. ahmad says

    thanks worked like a charm i need midnight commander and it was there 🙂

  4. cwp says

    This procedure worked like magic. After installing ipkg, I installed nano on my 713+ immediately.

  5. says

    I want to install a CRM application onto Synology NAS.

    Can you please let me know the process, besides installing IPKG.

    I have this CRM designed on a Bootstrap admin theme..


  6. harry says

    Thanks for the link to the table.. like Rob I was kind of confused.
    For those who have an intel CPU in their synology all the models use the same link as the guide.

  7. Ninja says

    Many thanks for this article, I have an old DS410 and this has worked a charm. As the article suggests, the script failed for me without being logged in as root…
    Just incase the Synology forum thread disappears, the file for the DS410 is /optware/syno-e500/cross/unstable/syno-e500-bootstrap_1.2-7_powerpc.xsh

Leave a Reply

Your email address will not be published. Required fields are marked *