Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Brackets installation issue on Linux due to libcurl3 #14786

Closed
Eimis-dev opened this issue May 10, 2019 · 12 comments
Closed

Brackets installation issue on Linux due to libcurl3 #14786

Eimis-dev opened this issue May 10, 2019 · 12 comments

Comments

@Eimis-dev
Copy link

so I am running Ubuntu 19.04 and I cannot install deb package of Brackets 1.14, I guess like an older version it asks curl3 when ubuntu 19.04 comes with curl4 and quite a few apps depend on it, so cannot really remove it.

Tried to install a snap package, but tree view won't work. I can't even add a working directory, cannot browse it either.

maybe I am doing something wrong? can someone help me, please?

https://vimeo.com/335402262

@shubhsnov
Copy link
Collaborator

shubhsnov commented May 10, 2019

Sorry for the inconvenience. We're aware of this issue and are working on fixing this issue. Till then you can use the workaround as mentioned here #14171

or use the steps below. (by @jsanta and @PlamenSh)

  • Download the .deb installer file
  • In the folder you downloaded the file run:
    dpkg-deb -R ./Brackets.Release.1.12.64-bit.deb Brackets
  • Edit file Brackets/DEBIAN/control and replace libcurl3 with libcurl3 | libcurl4
  • Rebuild .deb installer running dpkg-deb -b Brackets Brackets-fixed.deb
  • Install Brackets using the fixed installer running sudo dpkg -i Brackets-fixed.deb

@Eimis-dev
Copy link
Author

Sorry for the inconvenience. We're aware of this issue and are working on fixing this issue. Till then you can use the workaround as mentioned here #14171

or use the steps below. (by @jsanta and @PlamenSh)

* Download the **.deb** installer file

* In the folder you downloaded the file run:
  `dpkg-deb -R ./Brackets.Release.1.12.64-bit.deb Brackets`

* Edit file `Brackets/DEBIAN/control` and replace `libcurl3` with `libcurl3 | libcurl4`

* Rebuild .deb installer running `dpkg-deb -b Brackets Brackets-fixed.deb`

* Install Brackets using the fixed installer running `sudo dpkg -i Brackets-fixed.deb`

Oh wow, thank you so much! everything works now!

@shubhsnov shubhsnov pinned this issue May 10, 2019
@RogueScholar
Copy link

RogueScholar commented May 11, 2019

@shubhsnov It might be worth considering renaming this issue in addition to pinning it. I came here looking for a response to this exact issue and completely overlooked it on the Issues page, only discovering it by using the search field, and only then after removing the default "is:open" filter.

Edit: I should've been more specific. My exact suggestion is that it be renamed such that "libcurl" or "libcurl3" appears in the title.

@shubhsnov shubhsnov changed the title How are we supposed to install it on Ubuntu? Brackets installation issue on Linux due to libcurl3 May 12, 2019
@franz-ka
Copy link

franz-ka commented Jun 14, 2019

Here is the script using sed and apt (dpkg -i always has dependency problems):

dpkg-deb -R ./Brackets.Release.1.14.64-bit.deb Brackets
sed -i 's/libcurl3/libcurl3 | libcurl4/' Brackets/DEBIAN/control
dpkg-deb -b Brackets Brackets-fixed.deb
sudo apt install -f ./Brackets-fixed.deb

@mz0
Copy link

mz0 commented Jul 1, 2019

sed 's/libcurl3/libcurl3 | libcurl4/' Brackets/DEBIAN/control

should be:
sed -i 's/libcurl3/libcurl3 | libcurl4/' Brackets/DEBIAN/control # edit in-place (GNU sed)

@ragemunene
Copy link

Sorry for the inconvenience. We're aware of this issue and are working on fixing this issue. Till then you can use the workaround as mentioned here #14171

or use the steps below. (by @jsanta and @PlamenSh)

  • Download the .deb installer file
  • In the folder you downloaded the file run:
    dpkg-deb -R ./Brackets.Release.1.12.64-bit.deb Brackets
  • Edit file Brackets/DEBIAN/control and replace libcurl3 with libcurl3 | libcurl4
  • Rebuild .deb installer running dpkg-deb -b Brackets Brackets-fixed.deb
  • Install Brackets using the fixed installer running sudo dpkg -i Brackets-fixed.deb

Thank you loads, This worked. In my case is replaced libcurl3 with libcurl4 in "Brackets/DEBIAN/control"

@guruhost
Copy link

Just to update that none of the above works on Debian Buster with the latest Brackets version (1.14.1-17752).

@ghost
Copy link

ghost commented Apr 8, 2020

Here is the script using sed and apt (dpkg -i always has dependency problems):

dpkg-deb -R ./Brackets.Release.1.14.64-bit.deb Brackets
sed -i 's/libcurl3/libcurl3 | libcurl4/' Brackets/DEBIAN/control
dpkg-deb -b Brackets Brackets-fixed.deb
sudo apt install -f ./Brackets-fixed.deb

This worked for me Ubuntu 18.04

@ragemunene
Copy link

ragemunene commented Apr 11, 2020 via email

@resistancelion
Copy link

resistancelion commented Apr 21, 2020

Can be installed, but won't load.
Debian 10 (Buster), x32/i-386
Packages, that must be updated in order to install:

  • curl3 -> curl4
  • libpango1.0-0 -> libpango-1.0-0
  • libgconf, gconf2-common, gconf-service 3.2.6-4 -> 3.2.6-5
    @shubhsnov

@UbuntuStrike
Copy link

UbuntuStrike commented May 16, 2020

Can be installed, but won't load.
Debian 10 (Buster), x32/i-386
Packages, that must be updated in order to install:

* curl3 -> curl4

* libpango1.0-0 -> libpango-1.0-0

* libgconf, gconf2-common, gconf-service 3.2.6-4 -> 3.2.6-5
  @shubhsnov

So I found a workaround while installing for my wife after moving to Debian 10 aka buster.

First I had to install libpangox-1.0-0 & libpango1.0-0 using apt ( if you get errors: sudo apt --fix-broken install)
Then using the code previously mentioned:
dpkg-deb -R ./Brackets.Release.1.14.64-bit.deb Brackets
sed -i 's/libcurl3/libcurl3 | libcurl4/' Brackets/DEBIAN/control
dpkg-deb -b Brackets Brackets-fixed.deb
sudo dpkg -i Brackets-fixed.deb
Then:
Go to /opt/brackets/ or wherever it's been installed and change ownership of "chrome-sandbox" to root using chown or whatever methodyou prefer and chmod it to 4755.
Seems to be running fine.
20200516_170743

@ritudeshpande
Copy link

Can be installed, but won't load.
Debian 10 (Buster), x32/i-386
Packages, that must be updated in order to install:

  • curl3 -> curl4
  • libpango1.0-0 -> libpango-1.0-0
  • libgconf, gconf2-common, gconf-service 3.2.6-4 -> 3.2.6-5
    @shubhsnov

The installer wasn't working initially but when I updated my pango library, it worked. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants