Get Brackets working on Ubuntu >=18.04 and Mint 19.x
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.
Please provide any feedback on these instructions in the comments so that they can be improved if necessary.
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
* - Repackage the deb file:
Code:dpkg-deb -b Brackets Brackets-fixed.deb
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.
Total Comments 0