Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLOSED] Install on Ubuntu 16.04 fails, wants libgcrypt11, only has libgcrypt20 #10607

Open
core-ai-bot opened this issue Aug 30, 2021 · 20 comments

Comments

@core-ai-bot
Copy link
Member

Issue by jdittrich
Friday Apr 22, 2016 at 12:56 GMT
Originally opened as adobe/brackets#12380


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.

@core-ai-bot
Copy link
Member Author

Comment by David-Else
Friday Apr 22, 2016 at 17:07 GMT


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.

@core-ai-bot
Copy link
Member Author

Comment by jdittrich
Friday Apr 22, 2016 at 18:26 GMT


  1. No, this is seemingly not possible until the dependency is fixed.
  2. It is pretty reliable; I encountered only [CLOSED] Poor keyboard interaction in last stage of Replace dialog #4611 as a bug, and it does not do anything bad.

@core-ai-bot
Copy link
Member Author

Comment by jdittrich
Friday Apr 22, 2016 at 18:30 GMT


related (duplicates?): #11877 #10255

@core-ai-bot
Copy link
Member Author

Comment by petetnt
Friday Apr 22, 2016 at 19:48 GMT


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. 👍

@core-ai-bot
Copy link
Member Author

Comment by David-Else
Saturday Apr 23, 2016 at 12:41 GMT


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.

@core-ai-bot
Copy link
Member Author

Comment by vankasteelj
Sunday Apr 24, 2016 at 12:40 GMT


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

@core-ai-bot
Copy link
Member Author

Comment by gmcheco
Friday May 20, 2016 at 13:26 GMT


@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!

@core-ai-bot
Copy link
Member Author

Comment by arezi
Friday Jun 10, 2016 at 19:54 GMT


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

@core-ai-bot
Copy link
Member Author

Comment by iamrudra
Saturday Jun 11, 2016 at 01:48 GMT


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! 👍

@core-ai-bot
Copy link
Member Author

Comment by raghuveer-kurdi
Friday Jul 08, 2016 at 14:50 GMT


@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.

@core-ai-bot
Copy link
Member Author

Comment by ficristo
Tuesday Aug 02, 2016 at 12:02 GMT


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

@core-ai-bot
Copy link
Member Author

Comment by iamrudra
Tuesday Aug 02, 2016 at 20:44 GMT


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 😈

@core-ai-bot
Copy link
Member Author

Comment by blbwd
Saturday Aug 20, 2016 at 15:53 GMT


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

@core-ai-bot
Copy link
Member Author

Comment by iamrudra
Sunday Aug 21, 2016 at 21:37 GMT


@blbwd - Cheers! 👍

@core-ai-bot
Copy link
Member Author

Comment by kahon
Thursday Apr 27, 2017 at 19:27 GMT


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!!

@core-ai-bot
Copy link
Member Author

Comment by ankit9j
Monday May 01, 2017 at 04:06 GMT


Thank you@kahon
Brackets installed now

@core-ai-bot
Copy link
Member Author

Comment by aryehbeitz
Saturday May 13, 2017 at 05:18 GMT


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

@core-ai-bot
Copy link
Member Author

Comment by wayneworkman
Sunday Aug 13, 2017 at 15:00 GMT


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

@core-ai-bot
Copy link
Member Author

Comment by ebrahimkarimi
Thursday Mar 01, 2018 at 19:48 GMT


thanks to@kahon , it works perfectly but you should use apt-get install -f not dpkg command

@core-ai-bot
Copy link
Member Author

Comment by ticout
Sunday Mar 18, 2018 at 06:49 GMT


thanks for all@kahon
work fine for me!

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

No branches or pull requests

1 participant