LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Blogs > hydrurga
User Name
Password

Notices


Rate this Entry

Get Brackets working on Ubuntu >=18.04 and Mint 19.x

Posted 05-23-2019 at 04:03 AM by hydrurga
Updated 05-23-2019 at 07:49 AM by hydrurga

The problem
Brackets, the useful web development editor and environment, can be downloaded as a deb archive from http://brackets.io/. However, the package has a dependency on libcurl3, while Ubuntu Bionic and variants, and later versions, use libcurl4. Installing the package will therefore install libcurl3, and remove libcurl4, curl and any packages that depend on these. Not recommended.

This problem has existed for quite some time now, has been reported as an issue several times on the Brackets Github page (https://github.com/adobe/brackets/issues), and would be solved by a simple modification of the package's control file by the developers to make it depend on libcurl3 | libcurl4, i.e. either one or the other needs to be present. This is of course assuming that the results of Brackets' use of libcurl4 mirror that of its use of libcurl3, which as far as I have experienced, is the case.

The solution
We will change the package's control file to make it depend on curl4, not curl3.
  • Open a terminal window in the directory where you downloaded the Brackets deb file. You can paste the following commands into your terminal with shift-ctrl-v.
    *
  • Unpack the existing deb file (replace the version number with the actual one you downloaded):
    Code:
    dpkg-deb -R ./Brackets.Release.1.14.64-bit.deb Brackets
  • Edit the package's control file (replace xed with your editor of choice)
    Code:
    xed Brackets/DEBIAN/control
    replace libcurl3 with libcurl4, and save the file.
    *
  • Repackage the deb file:
    Code:
    dpkg-deb -b Brackets Brackets-fixed.deb
    Install the amended package:

    Code:
    sudo dpkg -i Brackets-fixed.deb

Please provide any feedback on these instructions in the comments so that they can be improved if necessary.
Posted in Uncategorized
Views 78 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 11:55 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration