Is there a way to find which version of python my Kodi installation is using? - kodi

I'm new to Kodi and I installed Kodi 19.0 However, I'm trying to install an add-on with xbmc.python which is version 3.0 but it fails with error the requirement can't be satisfied.
How can I determine the python version that my Kodi has and replace it on the addon.xml?

Kodi 19 is always python 3, all versions before that will be python 2.

Related

How to install Modsecurity 2.9.6 on Debian 11 with Apache2?

If you want you use the new CRS versions you need at least 2.9.6 of libapache2-mod-security2. see:
https://coreruleset.org/installation/
Is this possible on Debian11? I searched for backports but couldn't find any method on getting this version. Default Debian 11 Version 2.9.3
If you want you use the new CRS versions you need at least 2.9.6 of libapache2-mod-security2. see: https://coreruleset.org/installation/
Thanks, we (CRS team) should add some links to this documentation.
Is this possible on Debian11? I searched for backports but couldn't find any method on getting this version. Default Debian 11 Version 2.9.3
We are working on it, that Debian 11 accepts this version too. Actually, the Debian's package source repository already has the patched 2.9.3:
https://salsa.debian.org/modsecurity-packaging-team/modsecurity-apache/-/blob/bullseye/debian/changelog
You can download that and make an own package.
If you want to avoid to make a custom/own package, follow this link, and you can try the Digitalwave's ModSecurity repository. There you can find the 2.9.6 for Debian 10, 11, Ubuntu 18.04, 20,04 and 22.04.
Note: I'm CRS developer, and Debian maintainer. I made the packages for Debian too.

FreeBSD: upgrade MongoDB server from 2.6 to 3.0

Running MongoDB v2.6 Server on FreeBSD operating system, I am looking for a way to upgrade the MongoDB version to at least v3.0. According to MongoDB website, I need to replace the binaries but I am not able to find appropriate download binaries for FreeBSD there MongoDB download website. Alternatively I had hoped, I could upgrade the binaries using pkg package manager but I don't know which command to use to upgrade to a specific version. I am looking for something like:
pseudocode:
sudo pkg upgrade mongod v3.03
I've been crawling the web for days now to find a download link for Freebsd binaries for Version 3.0x or right upgrade command using pkg package manager.
Solution is: using the command "pkg install mongodb36-3.6.6_2" as suggested in the link by Valijon will first deinstall a previous version and then install v3.6 of MongoDB Server. Just what I was looking for.

Can’t install openmotif22 on CentOS 7

I wanna to install openmotif22 on centos 7 but I get the message from installer “Sorry, this did not work. The file is not supported.”
Can you share with us the command you are using to perform the install as well as the exact package you are attempting to install.
Are you using the steps documented here:
https://centos.pkgs.org/7/puias-computational-x86_64/openmotif22-2.2.3-19.sdl7.x86_64.rpm.html

PHP 5.3.29 on Ubuntu 16.04 in order to run Joomla 1.5 locally

I'm working on a Joomla 1.5 website, which was developed with PHP 5.3. Now I'm having some incompatibilities issues with some components.
My machine runs Ubuntu 16.04.
The version of Joomla is 1.5.
PHP versions are 5.6 and 7.0 (apache is configured to run PHP 5.6)
I can't find a way to download and install it. The apt command only shows 5.5, 5.6, 7.0 and 7.1 PHP versions.
Can anyone help me?
I have joomla 1.5 on a website running. My config shows that PHP 5.4.16 is in use. Therefore, why dont you try it with PHP 5.4 and get it from the download page:
http://php.net/releases/
If you have troubles to install it on your computer. Take a look here:
https://serverfault.com/questions/353550/how-to-install-old-php-version
The link explains how you install a old php version on linux. Btw.: in the link it is only explained how to replace a PHP version. But it is possible to run different versions on a server.

Is VestaCP compatible with Centos 7

I want to install VestaCP on my digitalocean droplet. I can't see supported os list on vestacp's web site. Is VestaCP compatible with centos 7 ?
http://vestacp.com/
Yes, its CentOS 7 compatible, you only have to use their installer running this:
curl -O http://vestacp.com/pub/vst-install.sh
It doesn't look like it. I just tried installing it on a minimal-install image of CentOS 7, and it failed. Tried to find /sbin/ifconfig (7 minimal-install uses nmcli and nmtui) and failed.
The rhel-specific install script that got downloaded only has provisions for CentOS 5 and 6 in it, no mention of 7, and so the install failed further on when adding some rpm repos.
tldr: doesn't look like it has support for it yet.