Installing with Ubuntu 19.04

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
jms3000
Posts: 2
Joined: Friday 21 June 2019 18:14
Target OS: Linux
Domoticz version:
Contact:

Installing with Ubuntu 19.04

Post by jms3000 »

I wanted to try Domoticz. I went to the website and saw the installation instructions: "curl -sSL install.domoticz.com | sudo bash"
Wow, I thought, this is nice.

The output of the installation script was:
::: Your system is up to date! Continuing with Domoticz installation...
::: Checking for apt-utils... installed!
::: Checking for whiptail... installed!
::: Checking for git... installed!
::: Checking for curl... installed!
::: Checking for libcurl3..
Nothing more. What the heck? I tried again. The script just stopped. So I downloaded the installer and debugged it. It turned out that it writes the error messages to dev/null? why?
The error message was:
Package libcurl3 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libcurl4:i386 libcurl4

E: Package 'libcurl3' has no installation candidate
In Ubuntu 18 and 19 there is no libcurl3, only libcurl4 and it is not possible to install libcurl3. Very strange. I googled the problem and people said: compile Domoticz from source. Uhh!? Ok, I'l try it. I cloned the git and startet "cmake".
CMake Error at CMakeLists.txt:2 (cmake_minimum_required):
CMake 3.14.0 or higher is required. You are running version 3.13.4
Don't laught now. Googling again what this means. Result: domoticz wiki says I have to download cmake from the project site and compile it by myself? This is not true. What comes next? Compiling the linux kernels from scratch? I cannot believe this...
ben53252642
Posts: 543
Joined: Saturday 02 July 2016 5:17
Target OS: Linux
Domoticz version: Beta
Contact:

Re: Installing with Ubuntu 19.04

Post by ben53252642 »

Try changing the script to use libcurl4, it may simply work.
Unless otherwise stated, all my code is released under GPL 3 license: https://www.gnu.org/licenses/gpl-3.0.en.html
jms3000
Posts: 2
Joined: Friday 21 June 2019 18:14
Target OS: Linux
Domoticz version:
Contact:

Re: Installing with Ubuntu 19.04

Post by jms3000 »

Thanks that worked. So th script could be improved by writing out the error message and by testing if a libcurl4 is installed.
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Installing with Ubuntu 19.04

Post by waaren »

jms3000 wrote: Saturday 22 June 2019 10:51 Thanks that worked. So the script could be improved by writing out the error message and by testing if a libcurl4 is installed.
Can you please report this on the github issue list and include your proposed solution? (as code snippet) It might help other users in future.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest