From c7a421d2642100012bfc084be0a4a96ff7550c44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Richter?= <2268851+x3rAx@users.noreply.github.com> Date: Tue, 1 Jun 2021 12:06:08 +0200 Subject: [PATCH] Install through Homebrew without URL `pup` is available directly through `brew install pup`. Homebrew is also available for Linux but using the URL fails in two ways: 1. Homebrew refuses to download the installer: ```txt $ brew install https://raw.githubusercontent.com/EricChiang/pup/master/pup.rb Traceback (most recent call last): `brew extract` or `brew create` and `brew tap-new` to create a formula file in a tap on GitHub instead.: Invalid usage: Non-checksummed download of pup formula file from an arbitrary URL is unsupported! (UsageError) `brew extract` or `brew create` and `brew tap-new` to create a formula file in a tap on GitHub instead.: Invalid usage: Non-checksummed download of pup formula file from an arbitrary URL is unsupported! (UsageError) ``` 2. The Linux binaries are missing from the install script provided by the URL so even if you first download it manually, the installed binary is not for Linux --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a24ac88..cdaf789 100644 --- a/README.md +++ b/README.md @@ -15,9 +15,9 @@ If you have Go installed on your computer just run `go get`. go get github.com/ericchiang/pup -If you're on OS X, use [Homebrew](http://brew.sh/) to install (no Go required). +If you're on OS X (or Linux), use [Homebrew](http://brew.sh/) to install (no Go required). - brew install https://raw.githubusercontent.com/EricChiang/pup/master/pup.rb + brew install pup ## Quick start