My favorite web brower depends on libcurl3 (Opera 36.0) But many apps depends on libcurl4 including PlayOnLinux or Steam client. It will be nice to have PlayOnLinux or Steam installed but I'm not giving up my favorite web browser. Do someone knows workaround how I can have installed both of them ? I readed somewhere that libcurl4 is based on libcurl3 so I have no idea why they keep uninstalling each other.
Eventually, I found better, universal solution for this. A guy on internet created CURL version which supports both CURL3 and CURL4. Available via. PPA. So far it works good. Unfortunately, I'm sure this version of CURL is not well known despite it solves problem which is very common to all Ubuntu users. So, I have to ask to share this knowledge in any form you like or prefer
https://launchpad.net/~xapienz/+archive/ubuntu/curl34
Edit: If you're unable to install this because the Ubuntu canonical version takes priority, first check the version numbers like this:
Then install the specific version like this:
Looks like I totally over-brained it. I performed several steps and it works ! Thank you @guiverc , your "This is an alternative" brinks me idea of forcing program to accept libcurl3 or libcurl4
dpkg-deb -x /path/to/deb/file .
./control
libcurl3
tolibcurl3 | libcurl4
dpkg-deb -b . name-of-new-deb-file.deb
dpkg-deb -e path-to-deb-file-crated-in-step-4
temporary_folder/usr
to/usr
,temporary_folder/bin
to/bin
.etc)I'm sure one of steps is not necessary but I don't know which one.
This is an alternative that means your reason, whilst not really including libcurl3 & libcurl4 in your system at the same time.
I would suggest having libcurl4 in your system for your main apps, in the hopes that it provides better security, and adding the Opera browser as a snap
https://snapcraft.io/opera
Snaps contain their required libs inside the snap itself (ie. self contained), thus avoiding the issue you were asking about. Thus libcurl3 will be contained within the snap containing your opera browser, and not impact any other software requiring libcurl4. It's a quick work-around :)
The solution suggested by Jacob worked for me -thank you very much- and would be the ultimate one if you don't want to spend more time on the described issue.
Part of the story : I had to re-install R packages on Ubuntu Bionic requiring a new curl configuration, after a faulty Ubuntu update. If you get a message like
from your R terminal, follow this solution.
Commands :
As @vsnicolas answered, I had this issue when upgrading from 2018.04 to 2020.04.
For R, I also had to reinstall curl
then in R
I followed Jacobs answer. I am using the deb file (Brackets.Release.1.14.1.64-bit.deb) on Ubuntu 20.04; but I had a problem at step 2. I assume some change to the way things work...
I preferred this method to installing a merged curl3/4 package - as I'd rather stick with curl4 (and risk the app not being 100%), but it seems ok.
Here are the steps that worked for me :
Open terminal in temporary folder. Use :
dpkg-deb -x /path/to/deb/file .
dpkg-deb -e Brackets.Release.1.14.1.64-bit.deb
Edit the control file : ./DEBIAN/control
Change line with dependency from
libcurl3
tolibcurl3 | libcurl4
I deleted the original deb file - I am not sure I needed to?
Run :
dpkg-deb -b . Bracket_CURL4.deb
Launch file browser and double click on the created deb file to launch the install.
All done, Brackets program is installed.