3

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.

2

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

  1. Open terminal in temporary folder. Use dpkg-deb -x /path/to/deb/file .
  2. Open control.tar.gz. Navigate to ./control
  3. Change line with dependency from libcurl3 to libcurl3 | libcurl4
  4. Run dpkg-deb -b . name-of-new-deb-file.deb
  5. Now run dpkg-deb -e path-to-deb-file-crated-in-step-4
  6. Package get installed using temporary folder as root folder.
  7. Create pentagram from small red colored stones. At full moon, sacrifice a goat with 666 stabs with knife while screaming "SUDO" at moon.
  8. Launch file browser as root and copy all folders and files from temporary folder to real folders (temporary_folder/usr to /usr,temporary_folder/bin to /bin .etc)
  9. All done, programm is installed.

I'm sure one of steps is not necessary but I don't know which one.

1

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

0

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 :)

  • Can I convert any .deb to the snap ? I'd like to have Opera version 36 because it is last version what is not filled with useless crap. – Garrom Aug 1 '18 at 17:12
  • convert? not via a program that I'm aware of. Snaps are built, and you can of course build a snap from a .deb (or any source) but its not really a conversion. (docs.snapcraft.io/build-snaps) – guiverc Aug 1 '18 at 23:26

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.