[Installation] Insomnia cannot be installed on ubuntu 18.04
Insomnia package depends on libcurl3. But in Ubuntu 18.04, there are also a libcurl4 package. And curl depends on libcurl4. And, because many of apps depends on curl (and, recursively, on libcurl4), Insomnia cannot be installed.
Hmm. Are you seeing an error during installation or at runtime?
During installation. There are dependencies conflict.
Can you post the exact error message?
dpkg: dependency problems prevent configuration of insomnia:
insomnia depends on libcurl3; however:
Package libcurl3 is not installed.
And, if I try to install libcurl3:
The following packages will be REMOVED:
curl libcurl4
The following NEW packages will be installed:
libcurl3
In Ubuntu 18.04, libcurl3 is deprecated version and all software depends on libcurl4 instead
Interesting. Is there a libcurl (without the number) package that aliases the latest one that could be included instead maybe?
(I haven't used Ubuntu in a few years)
I edit debian/control file in deb-package by adding or statement to Depends section (libcurl3 | libcurl4). And after this it was installed successfully. But, in runtime I get this error:
Uncaught Error: /usr/lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by /tmp/.org.chromium.Chromium.XnqfXj)
at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
at Object.Module._extensions..node (module.js:598:18)
at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:187:18)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/opt/Insomnia/resources/app.asar/node_modules/insomnia-node-libcurl/lib/Easy.js:40:29)
at Object.<anonymous> (/opt/Insomnia/resources/app.asar/node_modules/insomnia-node-libcurl/lib/Easy.js:280:3)
Hmm, this one might be harder to fix than I thought.
P.S. If anyone reading this has any ideas for fixing this cleanly, please share below.
@Djaler how did you get that runtime error? My window just stays blank and no output to any std.

@migueldemoura View > Toggle DevTools
Yeah, same thing here. Just checked, spotify and a bunch of other electron apps have the same issue.
Can you create issues in their repos? May be they can find solution
Spotify has one now: https://community.spotify.com/t5/Desktop-Linux/libcurl4/td-p/4411011. No idea how fix this.
@gschier Snap can be workaround for now. What about it?
Also, bug report in curl repo https://bugs.launchpad.net/ubuntu/+source/curl/+bug/1754686
@Djaler, there are a couple of those bug reports. See this one as well: https://bugs.launchpad.net/ubuntu/+source/curl/+bug/1754294
Yeah, already checked it