Table of Contents

Installation and reinstallation of packages

Manual installation of packages might be needed when you're make a service to work on Turris Omnia. Reinstallation might be needed in case of technical problems.

Before installation

Before you install a package, please keep in mind the following:

Once per 12 hours the versions of all installed packages are checked and if there is a newer version available, it is installed.

Through LuCI interface

Here we describe installation and reinstallation of packages through the LuCI interface. This option is recommended for less experienced users.

Installation

Reinstallation

Unlike the command line program opkg, LuCI interface doesn't have a direct way to reinstall a package. To reinstall the package, you'll need to uninstall it first and then install it again.

Through root terminal

Get access the command line with root privileges first. The instructions can be found here.

Installation

You'll be calling the opkg command in this section. It is good to know that by calling this command on Turris Omnia, you don't actually call the real opkg command directly. Instead, a script is run which calls the actual opkg and then adds the installed package to the list of packages to be updated. However, it makes no difference in most cases.

Update the list of available packages with command

opkg update

Then install the package by typing

opkg install name_of_the_package

Reinstallation

Update the list of available packages with command

 opkg update 

Then reinstall the package by typing

 opkg install --force-reinstall name_of_the_package 

Option for more advanced users

The original opkg command only installs or removes the package. However, there's also the updater, which keeps the packages it knows about up to date (and removes any it thinks are not necessary). The wrapper script mentioned above also adds installed packages to /etc/updater/auto.lua, or removes them on removal.

There's a similar file, /etc/updater/user.lua, which is meant to be edited by the user. As an alternative mean, you may add the packages you want installed there and call 'updater.sh'', which would install them.