Jump to content
Flirc Forums

Recommended Posts

Posted (edited)

Background Info:

Note: You will need a second computer for this guide. I'm using Fedora for my second computer but any linux distro should work. These steps also assume both machines are amd64.

The basic idea is you only need two files for flirc_util to run on LibreELEC: 
 - flirc_util
 - libhidapi-hidraw.so.0

So we're going to put them on there and update the environment so it'll run.


Step 1: Download Flirc files

Open up terminal on your second computer:
mkdir ~/tmp && cd ~/tmp

wget http://apt.flirc.tv/arch/x86_64/flirc.latest.x86_64.tar.gz

tar -xzf flirc*.tar.gz

~/tmp/Flirc-*/FlircApp-*.AppImage --appimage-extract

Step 2: Copy the files to LibreELEC
Note: I'm using ssh, but you could also copy them using a GUI like Gnome Files SFTP or Filezilla.

Note: If you have changed your LibreELEC default hostname, you will have to substitute that in the commands below.

Create a flirc folder:
ssh root@LibreELEC

mkdir /storage/.flirc

exit
Copy the files to LibreELEC:
scp ~/tmp/Flirc-*/flirc_util root@LibreELEC:/storage/.flirc

scp ~/tmp/squashfs-root/lib/libhidapi-hidraw.so.0 root@LibreELEC:/storage/.flirc


Step 3: Set up environment on LibreELEC
Now make sure LibreELEC knows where to find the files we put on there.
ssh root@LibreELEC

export LD_LIBRARY_PATH=/storage/.flirc:$LD_LIBRARY_PATH

echo 'export PATH=$PATH:/storage/.flirc' >> ~/.profile

source ~/.profile

 

That's it! 
Now you can run flirc_util on LibreELEC.
ssh root@LibreELEC

flirc_util

 

Edited by Simon M
formatting
  • 5 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...