Repository navigation
Homebrew install on linux #3017
Copy link
Copy link
Closed
Labels
state: awaiting reviewWaiting for a maintainer to review.Waiting for a maintainer to review.
Description
Description
Tried homebrew install method of task onto Ubuntu 26.04 - seems like fit for Mac only as currently setup, I'm not familiar with ruby so maybe adding something like "unless macos" before the if statement?
==> Tapping go-task/tap
Cloning into '/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/go-task/homebrew-tap'...
Tapped 1 cask (18 files, 169.7KB).
==> Trusted cask go-task/tap/go-task
==> Would install 1 cask:
go-task/tap/go-task
==> Fetching downloads for: go-task/tap/go-task
✔︎ Cask go-task (3.53.1) Downloaded 14.8MB/ 14.8MB
==> Installing Cask go-task
==> Linking Binary 'task' to '/home/linuxbrew/.linuxbrew/bin/task'
==> Linking Bash Completion 'task.bash' to '/home/linuxbrew/.linuxbrew/etc/bash_completion.d/task'
==> Linking Fish Completion 'task.fish' to '/home/linuxbrew/.linuxbrew/share/fish/vendor_completions.d/task.fish'
==> Linking Zsh Completion '_task' to '/home/linuxbrew/.linuxbrew/share/zsh/site-functions/_task'
env: '/usr/bin/xattr': No such file or directory
env: use -[v]S to pass options in shebang lines
==> Unlinking Zsh Completion '/home/linuxbrew/.linuxbrew/share/zsh/site-functions/_task'
==> Unlinking Fish Completion '/home/linuxbrew/.linuxbrew/share/fish/vendor_completions.d/task.fish'
==> Unlinking Bash Completion '/home/linuxbrew/.linuxbrew/etc/bash_completion.d/task'
==> Unlinking Binary '/home/linuxbrew/.linuxbrew/bin/task'
==> Purging files for version 3.53.1 of Cask go-task
Error: go-task/tap/go-task: Failure while executing; `/usr/bin/env /usr/bin/xattr -h` exited with 127. Here's the output:
env: '/usr/bin/xattr': No such file or directory
env: use -[v]S to pass options in shebang lines
So just to test it out xattr was installed there
==> Would install 1 cask:
go-task/tap/go-task
==> Fetching downloads for: go-task/tap/go-task
✔︎ Cask go-task (3.53.1) Downloaded 14.8MB/ 14.8MB
==> Installing Cask go-task
==> Linking Binary 'task' to '/home/linuxbrew/.linuxbrew/bin/task'
==> Linking Bash Completion 'task.bash' to '/home/linuxbrew/.linuxbrew/etc/bash_completion.d/task'
==> Linking Fish Completion 'task.fish' to '/home/linuxbrew/.linuxbrew/share/fish/vendor_completions.d/task.fish'
==> Linking Zsh Completion '_task' to '/home/linuxbrew/.linuxbrew/share/zsh/site-functions/_task'
==> Unlinking Zsh Completion '/home/linuxbrew/.linuxbrew/share/zsh/site-functions/_task'
==> Unlinking Fish Completion '/home/linuxbrew/.linuxbrew/share/fish/vendor_completions.d/task.fish'
==> Unlinking Bash Completion '/home/linuxbrew/.linuxbrew/etc/bash_completion.d/task'
==> Unlinking Binary '/home/linuxbrew/.linuxbrew/bin/task'
==> Purging files for version 3.53.1 of Cask go-task
Error: go-task/tap/go-task: Failure while executing; `/usr/bin/env /usr/bin/xattr -dr com.apple.quarantine /home/linuxbrew/.linuxbrew/Caskroom/go-task/3.53.1/task` exited with 64. Here's the output:
option -r not recognized
usage: xattr [-slz] file [file ...]
xattr -p [-slz] attr_name file [file ...]
xattr -w [-sz] attr_name attr_value file [file ...]
xattr -d [-s] attr_name file [file ...]
xattr -c [-s] file [file ...]
The first form lists the names of all xattrs on the given file(s).
The second form (-p) prints the value of the xattr attr_name.
The third form (-w) sets the value of the xattr attr_name to attr_value.
The fourth form (-d) deletes the xattr attr_name.
The fifth form (-c) deletes (clears) all xattrs.
options:
-h: print this help
-s: act on symbolic links themselves rather than their targets
-l: print long format (attr_name: attr_value)
-z: compress or decompress (if compressed) attribute value in zip format
Version
3.53.1
Operating system
Linux Ubuntu 26.04
Experiments Enabled
No response
Example Taskfile
Metadata
Metadata
Assignees
Labels
state: awaiting reviewWaiting for a maintainer to review.Waiting for a maintainer to review.
Type
Fields
No fields configured for support.
Activity
trulede commentedon Sep 6, 2026
Is there a reason this needs to work? There are already installation methods for Ubuntu/Debian.
In an case, AI suggests the following:
brew untap go-task/tap
brew install go-task
pmkolo commentedon Sep 6, 2026
Nope, does not need to work - was just testing a library that provided taskfile and as I do have homebrew in my "quick-test-vm spinup" this was my method of choice
Maybe just update the compatibility list or that section's wording
vaz-ar commentedon Sep 14, 2026
The documentation states that homebrew, using the tap, is a valid install option for Linux (https://taskfile.dev/docs/installation), so shouldn't it work ? The same issue happens on CentOS, it was working before but is now failing on this
xattrerror.pmkolo commentedon Sep 14, 2026
See here 5731588