Skip to main content

Linux Repository Install

Linux binaries are distributed through YUM and APT repositories. Using a repository allows easier upgrades and access to additional software. Use the command (script) below to automatically install the GoLift repo and unpackerr in one command. If your system does not use yum (rpm) or apt (dpkg) then these directions are not for you.

Root Access

This installation method requires root. If you don't have root on your shell, then check out the non-root directions.

curl -s https://golift.io/repo.sh | sudo bash -s - unpackerr

After install, edit the config file, or generate one and start the service:

sudo nano /etc/unpackerr/unpackerr.conf
sudo systemctl restart unpackerr
Archive Access

Unpackerr requires write access to your download location. Make sure you set the path variables correctly in the configuration. Even if they're set incorrectly Unpackerr makes a best effort attempt to locate your downloads. If it can't find your downloads, then the path or paths variables need to be adjusted.

Permissions

On Linux, unpackerr runs as user:group unpackerr:unpackerr. You will need to give that user or group read and write access to your archives. That may mean adding the unpackerr user, for example, to the debian-transmission group. You would do that with a command such as sudo usermod -aG debian-transmission unpackerr

It's only suggested you do run usermod if you know what it does and how to set a umask. You probably instead want to change the uid and/or gid as shown next.

Change the uid/gid

If you wish to change the user and/or group that unpackerr runs as you need to do exactly this, and only this:

  1. Run this command:
    • sudo systemctl edit unpackerr.service
  2. The previous command opens your $EDITOR with a commented out version of the unpackerr service unit.
  3. Add the following content to the file editor between the comments. Replace newuser and newgroup with your new values.
    [Service]
    User=newuser
    Group=newgroup
  4. Run this to read the new systemd service override file:
    • sudo systemctl daemon-reload
  5. Run this to start unpackerr with the new user and group:
    • sudo systemctl restart unpackerr

Linux repository hosting provided by packagecloud