Posts: 25
Joined: Tue Jan 21, 2020 1:23 pm

Kodi Leia 18.6 on Rpi4 with Manjaro Arm 20.02

Sun Mar 08, 2020 11:09 pm

If anyone is interested, here is tutorial how to install Kodi Leia 18.6 on RasPi 4 with Manjaro ARM 20.02, KDE Plasma or XFCE

First you need to install git

sudo pacman -S git

Once git is installed, we can now get the Kodi source-code:

cd $HOME
git clone git://github.com/xbmc/xbmc.git kodi

Kodi needs several third party packages, most of them can be installed from the official Arch/Manjaro repository:

sudo pacman --needed --asdeps -S alsa-lib autoconf automake avahi bluez-libs bzip2 cmake curl dbus ffmpeg flatbuffers fmt fontconfig freetype2 fribidi gawk giflib glu gperf jre8-openjdk libao libass libbluray libcap libcdio libcec libcrossguid libjpeg-turbo libltdl libmariadbclient libmicrohttpd libmpcdec libnfs libplist libpng libpulse libssh libsystemd libtool libusb libva libvdpau libxml2 libxmu libxrandr libxslt libxt lsb-release lzo mesa nasm openssl pcre python2 python2-pillow rapidjson shairplay smbclient sqlite swig taglib tinyxml yasm zlib

Kodi needs a few packages that are currently unavailable in the official repo,but can be build from AUR, so you need to install fstrcmp (make sure you edit and add 'aarch64' in arch=() before installing it, you can do it from pacman-manager, just enable AUR in preferances)

To create the Kodi executable manually perform these steps:

git branch -a
cd $HOME/kodi/
git checkout -b Leia remotes/origin/Leia
mkdir kodi-build
cd kodi-build
cmake ../kodi-build -DCMAKE_INSTALL_PREFIX=/usr/local -DX11_RENDER_SYSTEM=gl
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local
cmake --build . -- VERBOSE=1 -j4
sudo make install

If everything goes right, start Kodi from menu, or just type kodi in Konsole/Terminal

Be patient process is very long...enjoy :-)

Return to “Arch”