Перейти к содержанию

QNAP NAS:Entware: различия между версиями

нет описания правки
Нет описания правки
Строка 15: Строка 15:
== Using repo ==
== Using repo ==
Entware uses OPKG package manager, detailed help can be found here. Lets find transmission packages and install it's Web UI with dependencies, just for example:
Entware uses OPKG package manager, detailed help can be found here. Lets find transmission packages and install it's Web UI with dependencies, just for example:
<syntaxhighlight lang="php">
<syntaxhighlight lang="php">
  # opkg update
  # opkg update
Строка 20: Строка 21:
  Updated list of available packages in /opt/var/opkg-lists/entware.
  Updated list of available packages in /opt/var/opkg-lists/entware.
</syntaxhighlight>
</syntaxhighlight>
<syntaxhighlight>
<syntaxhighlight>
  # opkg list transmission*
  # opkg list transmission*
Строка 30: Строка 32:
  transmission-web - 2.84-4 - Webinterface resources for transmission.
  transmission-web - 2.84-4 - Webinterface resources for transmission.
</syntaxhighlight>
</syntaxhighlight>
<syntaxhighlight>
<syntaxhighlight>
  # opkg install transmission-web
  # opkg install transmission-web
Строка 42: Строка 45:
== Note about packages upgrade ==
== Note about packages upgrade ==
In some rare cases you can fall into issue when new package wont start:
In some rare cases you can fall into issue when new package wont start:
<syntaxhighlight>
<syntaxhighlight>
  # opkg update
  # opkg update
Строка 48: Строка 52:
  minidlna: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
  minidlna: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
</syntaxhighlight>
</syntaxhighlight>
Unfortunately, **''%%opkg%%''** is too simple to track down **''%%minidlna%%''** dependencies has been changed and **''%%minidlna%%''** should be re-installed too. So, you have to do that manually:
Unfortunately, **''%%opkg%%''** is too simple to track down **''%%minidlna%%''** dependencies has been changed and **''%%minidlna%%''** should be re-installed too. So, you have to do that manually:
<syntaxhighlight>
<syntaxhighlight>
  # opkg --autoremove remove minidlna
  # opkg --autoremove remove minidlna
Строка 54: Строка 60:
Internals
Internals
</syntaxhighlight>
</syntaxhighlight>
Entware uses OpenWrt buildroot to compile packages. Some of packages came from OpenWrt, others are unique. We sync our sources with OpenWrt feeds and update our own packages approx. once per month, catching bugs and adding some enhancements all other time.
Entware uses OpenWrt buildroot to compile packages. Some of packages came from OpenWrt, others are unique. We sync our sources with OpenWrt feeds and update our own packages approx. once per month, catching bugs and adding some enhancements all other time.
See how to Compile packages from sources if you wish to edit or add packages.
See how to Compile packages from sources if you wish to edit or add packages.
Every binary from the repo uses no library from outside the /opt folder. No kernel modules are provided as long as they may be (and will be!) incompatible with current firmware.
Every binary from the repo uses no library from outside the /opt folder. No kernel modules are provided as long as they may be (and will be!) incompatible with current firmware.