Comments (13)
There was a problem with either lacking file
installation or file
in a wrong location. What does which file
say on your system?
from brew.
Come to think of it, I see it has been partly fixed by bd49ee2 . If you haven't been running brew update
for a while this may be a good time.
from brew.
DoomHammer, I cannot get brew to install so I can run brew update. I am following this guide: https://github.com/Linuxbrew/linuxbrew/wiki/Chromebook-Install-Instructions
which file
gives me no file in $PATH
from brew.
@abkahrs if you cannot run brew update
, you can do git pull
from inside your Homebrew directory to update it.
from brew.
@abkahrs Please install file
.
sudo apt-get install file
sudo yum install file
from brew.
@sjackman I am running this on chromeOS on a chromebook. I have no package manager.
from brew.
Ah, yes. Sorry. Piotr (@DoomHammer) is the Chrome expert here.
See brewstrap
: https://github.com/DoomHammer/brewstrap/
from brew.
Am I? :)
I suggest trying DoomHammer/brewstrap#7 for bootstrapping Linuxbrew on Chromebook. Some installer script might be in order, come to think of it.
from brew.
pouring hanging means you need the 'file' command which chromeos does not have by default. If you can get brew working enough to install stuff from source, then you can brew install homebrew-dupes/file-formula
When I've done this in the past, I had to avoid bottles (e.g. with brew install --build-from-source till I got the file-formula package built, which then makes bottles work.
from brew.
-s
is a handy shortcut for --build-from-source
from brew.
@minektur could you expand on what you mean? I am not sure what steps I need or how far I need to get brew working since I haven't really worked with brew before.
from brew.
@abkahrs there is a current dependency for installing bottles - the 'file' command must exist. You'll find that the 'file' command doesn't exist on chromeos. They have really stripped things down and dont include it. The dependency is not obvious, and 'brew install <some package you'd get from bottle>" it will just hang forever.
Because linuxbrew is a fork of homebrew which is built to install stuff on Mac OSX, such dependencies are subtle some times. And also because of this there isn't a normal brew recipie for the file command in the normal brew repository because it would be installing a file that is a duplicate of an existing utility/command that already exists on macosx. So there is a seperate set of recipies that will install "dupes".
On linux, and in this case for you on chromeos, it isn't a dupe at all, and once you install it somehow, then that brokenness with bottle-installs will go away. So you have to build from source
You should just do this:
brew install -s homebrew/dupes/file-formula
and then you shouldn't have that bug any more. (though linuxbrew is still a work-in-progress on chromeos...)
from brew.
Thank you all. I believe I have resolved the issue with the file install from source though that sgould be added to the chrome os install instructions
from brew.
Related Issues (20)
- brew install mongodb gives SyntaxError HOT 4
- Repeated `xorgproto`-related warnings output from several core commands (e.g. `doctor`, `leaves`) HOT 30
- brew audit/style error when your Ruby2.6RubyGems3.0.2 HOT 3
- Brew upgrade don't delete old version's Cellar directory for packages installed from sources HOT 1
- brew won't use correct git version HOT 1
- Failure while executing git config, exit code 129 HOT 27
- Unable to install linuxbrew to vps server over ssh. " Cannot write: No space left on device HOT 2
- "Cannot write: No space left on device" when trying to install linuxbrew to VPS server HOT 29
- brew bundle dump fails HOT 2
- Redirect http://linuxbrew.sh to https://linuxbrew.sh HOT 1
- `brew install yarn` does not support `--without-node` HOT 1
- Vendored Ruby install fails with unhelpful message on i686 HOT 6
- Cannot execute one-line installation as root HOT 1
- Error: cannot load such file -- irb HOT 1
- Brewed curl cannot find the CA certificates and all bottle downloads fail HOT 14
- Stuck in rebase HOT 2
- Unable to resolve dependency: user requested 'did_you_mean' HOT 8
- cannot load such file -- os/linux/glibc HOT 5
- pipenv does not install HOT 9
- Applying patch breaks brew HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from brew.