AsciidocFX icon indicating copy to clipboard operation
AsciidocFX copied to clipboard

Install AsciidocFX from Homebrew

Open gastaldi opened this issue 7 years ago • 6 comments

Homebrew is used in a lot of applications and specially Linuxbrew and it would be nice if we could do something like brew install asciidocfx to install this amazing tool.

gastaldi avatar Dec 12 '17 03:12 gastaldi

If I have a Mac, I would like to do that :)

rahmanusta avatar Dec 31 '17 22:12 rahmanusta

I have Linuxbrew installed and so far brew works great with Fedora ;)

gastaldi avatar Dec 31 '17 22:12 gastaldi

@see: https://github.com/Homebrew/homebrew-cask/blob/master/Casks/asciidocfx.rb

https://github.com/Homebrew/homebrew-cask

brew cask install asciidocfx

barthel avatar Jul 31 '18 15:07 barthel

@barthel thanks for the contribution.

rahmanusta avatar Aug 01 '18 05:08 rahmanusta

and we need the same for linuxbrew :))

rahmanusta avatar Aug 01 '18 05:08 rahmanusta

The existing instructions are potentially incomplete. AsciidocFX is installed via a .dmg file and running brew install --cask asciidocfx at this time (as per the instructions) will result in a Gatekeeper warning because the application is from an untrusted source/developer.

As a result the installation fails:

$ brew install --cask asciidocfx
==> Downloading https://github.com/asciidocfx/AsciidocFX/releases/download/v1.8.4/AsciidocFX_Mac.dmg
Already downloaded: /Users/nigrott/Library/Caches/Homebrew/downloads/2383dd4a753372e3959dcfde9d35f3719cdc4a4ec2432b579be8f0b2a6edd7f8--AsciidocFX_Mac.dmg
==> Installing Cask asciidocfx
==> Running installer script 'AsciidocFX Installer.app/Contents/MacOS/JavaApplicationStub'
==> Purging files for version 1.8.4 of Cask asciidocfx
Error: Failure while executing; `/usr/bin/sudo -E -- /usr/bin/env PATH=/usr/local/bin:/usr/local/sbin:/usr/local/Homebrew/Library/Homebrew/shims/shared:/usr/bin:/bin:/usr/sbin:/sbin /usr/local/Caskroom/asciidocfx/1.8.4/AsciidocFX\ Installer.app/Contents/MacOS/JavaApplicationStub -q` was terminated by uncaught signal KILL.

The workarounds I know are:

  • fix the application signature to be conformant with Apple's guidelines
  • use brew install --cask asciidocfx --no-quarantine

Okeanos avatar Feb 10 '23 12:02 Okeanos