Install on Ubuntu 16.04 fails, wants libgcrypt11, only has libgcrypt20 #12380

Closed
jdittrich opened this Issue Apr 22, 2016 · 20 comments

Comments

Projects
None yet

When attempting to install Brackets on Ubuntu 16.04 LTS, the installation fails silently (if not done via dpkg on the command line). This is because Brackets depends on libgcrypt11; the installation routine remarks that libgcrypt11 is not installed. Ubuntu 16.04 only comes with libgcrypt20.

The installation of the transitional libgcrypt11-dev does not resolve the problem (is only a dummy-package)

The attempted installation leaves the packaging system in a state of unresolved dependencies sudo apt-get -f install fixes the problem though.

Hello,

I am a total Linux newb. I was about to try Ubuntu 16.04 LTS and Brackets in an attempt to get Windows 10 out of my life. First thing I find in my research is your post. Would you be so kind as to tell me:

  1. Can i do a successful install of Brackets and Ubuntu 16.04 LTS? If so, exactly what should i do?
  2. In your experience, is Brackets on Linux as reliable and excellent as it is on Win 7? Any problems that I might encounter?

MANY thanks.

  1. No, this is seemingly not possible until the dependency is fixed.
  2. It is pretty reliable; I encountered only #4611 as a bug, and it does not do anything bad.

related (duplicates?): #11877 #10255

Member

petetnt commented Apr 22, 2016

Like you @jdittrich mentioned, this issue is tracked at #10255, which contains workarounds for the issue too. The Linux version is looking for contributors to fix this and other issues (such as missing features, CEF update...) if you'd like to help out or happen to know someone who might be. 👍

After a lot of reading it seems there was no legal way for Adobe to add the missing dependency in the official build, so some kind person has done it anyway:

https://brbsix.github.io/2015/10/28/fix-missing-libgcrypt11-for-brackets-text-editor/

I have not had time to test it yet.

The whole thing has been dealt with terribly by Adobe, real shame. There is no clear official info on this, it should be printed in massive bold letters next to the official download button! How long does it take someone to add a sentence next to a button? Here we go, i will do it:

A modern, open source text editor that understands web design.
Download Brackets 1.6

  • Extract (Preview) by Adobe

**PLEASE NOTE: Linux build will not work on the following distributions due to a missing dependency:

ubuntu-16.04-desktop-amd64
.........etc etc......

Unofficial builds are available and can be found online.**

I am afraid I don't have the skills yet to help or I would.

Works fine for me, they're both installed:

> dpkg -l | grep libgcrypt
ii  libgcrypt11:amd64                           1.5.3-2ubuntu4.2                                    amd64        LGPL Crypto library - runtime library
ii  libgcrypt20:amd64                           1.6.5-2                                             amd64        LGPL Crypto library - runtime library
ii  libgcrypt20:i386                            1.6.5-2                                             i386         LGPL Crypto library - runtime library

guilherup commented May 20, 2016

@learn-digital-audio sugested site now it is on https://brbsix.github.io/2015/10/29/fix-missing-libgcrypt11-for-brackets-text-editor/
There aready have the *.deb files.
Thks!

arezi commented Jun 10, 2016

It has not been fixed in 1.7 version, unfortunatly.
Well, I installed unzipping the .deb, so I unziped the data.tar.xz
the data directory have the opt folder, so I put the opt/brackets folder into my /opt
but still miss the libgcrypt11, so I get it from @brbsix blog and put the lib into /opt/brackets/
and finally I can run: /opt/brackets/brackets

lib x64 https://www.dropbox.com/s/qkcnf8724ko9vos/libgcrypt.so.11?dl=1
lib x32 https://www.dropbox.com/s/43ij4lovqmhcddb/libgcrypt.so.11?dl=1

And I create in ~/.local/share/applications/ a .desktop descriptor to launch from menu

I hope to help someone :)

A simple temporary fix is to install the libgcrypt11 from Canonical LaunchPad website. It is a deb package. Install it and retry installing Brackets. Works for me for Brackets v1.7.

Btw good job @brbsix! 👍

@ldez ldez referenced this issue Jun 11, 2016

Closed

libgcrypt11 #12503

@iamrudra Thanks for the solution, It worked for me. I also found other steps to install it. i.e via PPA
Follow this link http://www.webupd8.org/2013/11/install-brackets-in-ubuntu-via-ppa-open.html

sudo add-apt-repository ppa:webupd8team/brackets
sudo apt-get update
sudo apt-get install brackets

These three commands will also install the brackets, but i think the above solution is better as It also creates a luncher icon where as PPA doesn't. Not sure though.

Member

ficristo commented Aug 2, 2016

We are tacking the problem on #10255.
Closing as dupliclate.

@ficristo ficristo closed this Aug 2, 2016

iamrudra commented Aug 2, 2016

Just went through the comments on #10255 - Folks on that thread would be disappointed to know that the most appreciated comment on this issue is something that they've termed as ugly dangerous etc etc etc 😈

blbwd commented Aug 20, 2016

@iamrudra you have saved my day, installing libgcrypt11 separately worked for me like a charm. Thanks a lot.

@blbwd - Cheers! 👍

kahon commented Apr 27, 2017

Just install .deb of this site:

(https://packages.debian.org/wheezy/amd64/libgcrypt11/download)

sudo dpkg -i libgcrypt11_1.5.0-5+deb7u5_amd64.deb

And then all right :).
Best!!

ankit9j commented May 1, 2017

Thank you @kahon
Brackets installed now

What about a real solution?
When someone tries downloading, they have to search for a solution.
The official packages should include the fix

You can get the latest files here (https://fourthfruit.github.io/fixes/)

@raghuveer-kurdi your fix is the best here - this keeps all the packages installed within scope of a package manager.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment