How to get mender-connect for fedora?

Hello everyone,

I want to use the remote terminal for a target running on a fedora distro, but I fail to find the mender-connect binary to install.

Where can I find the binary if available? If not how should I proceed?

1 Like

The short answer is, “we don’t provide RPM packages.” We provide packages for Debian-based systems or Yocto projects. On the other hand, I am a Fedora user too, so I tried to install mender-connect on my device.

Please be aware this will work as long as you have the mender-client already working on your Fedora device (GitHub - mendersoftware/mender at 2.6.0). If so, these are the steps I followed to make mender-connect work on Fedora:

  1. Make sure Go lang support is installed:

$ sudo dnf install golang

  1. Then clone the mender-connect GitHub - mendersoftware/mender-connect repository

$ git clone https://github.com/mendersoftware/mender-connect.git

  1. Build and install mender connect
$ make
$ sudo make install
  1. Create the configuration file in /etc/mender/mender-connect.conf
    Note: you can change “nobody” for any local user.
{
  "ShellCommand": "/bin/bash",
  "User": "nobody"
}
  1. Enable and start the service

$ systemctl enable mender-connect && systemctl start mender-connect

  1. You will be able to see the “troubleshoot” add-on in Mender.io’s UI. Please be aware this will only work if you have the add-on enabled.
1 Like