4

I'm using ASUS-Chromebook-Flip-C302CA / Google Chrome OS - Version 65.0.3325.35 (Official Build) dev (64-bit) and I'm trying to follow Visual Studio Code for Chromebooks and Raspberry Pi, yet failing to execute last step with following error:

chronos@localhost ~ $ . <( wget -O - https://code.headmelted.com/installers/chromebook.sh )
bash: wget: command not found
chronos@localhost ~ $ 

wget:

chronos@localhost ~ $ whereis wget
wget:
chronos@localhost ~ $ which wget
which: no wget in (/usr/local/bin:/usr/bin:/bin:/opt/bin)
chronos@localhost ~ $ find / -name wget >/dev/null 2>&1
chronos@localhost ~ $ 
Rui F Ribeiro
  • 55,929
  • 26
  • 146
  • 227
alexus
  • 986
  • 5
  • 16
  • 31

2 Answers2

6

alternative:

  • curl - transfer a URL

. <( curl --silent https://code.headmelted.com/installers/chromebook.sh )

alexus
  • 986
  • 5
  • 16
  • 31
  • I have no idea, what is running on the chromebooks, but most probably there is some type of a package manager. You should simply install the package containing wget. If it is a debian-based distribution, then the command is `apt-get install wget`. – peterh Feb 18 '18 at 00:42
  • 1
    @peterh There is no package manager on Chromebooks or ChromeOS based devices. It's not a traditional Linux distribution like Debian or OpenWrt. You install the latest update for the image that you are running and may be Android apps but that's it. Tinkering and poking around the filesystem is allowed but they got rid of everything else that could introduce more complexity and possible breakage. – LiveWireBT Feb 18 '18 at 10:25
  • @LiveWireBT ... Behold Chrome Brew, the package manager for ChromeOS: -https://github.com/skycocker/chromebrew – jeffmcneill Mar 12 '18 at 15:02
  • @jeffmcneill Thanks I think I read about this somewhere before but didn't invest any time looking for the project site. It may be useful in some cases but ChromeOS devices are still intended as appliances from my point of view (though I do run a full Linux on mine). – LiveWireBT Mar 12 '18 at 15:16
  • 1
    @LiveWireBT it appears that there is a bit of segmenting in ChromeOS these days, with a variety of more capable devices (both ARM and Intel processors). They still like to limit the ram in most of these. In any case, shell apps generally don't take a lot of resources. I find I can install nearly all command line apps that I generally run on servers and ran on a now-dead Macbook Air. There's been a lot of progress on these devices over the years, both hardware and software. ChromeOS came out of Gentoo, hence the "not a traditional distribution" under the hood, but that also means more flexible. – jeffmcneill Mar 13 '18 at 09:34
  • removing --silent made it work for me – Jonathan Laliberte Aug 26 '18 at 12:06
3

wget has been removed from recent versions of ChromeOS which includes what's installed on the `ASUS-Chromebook-Flip-C302CA'.

You can use the curl command to download the files instead.

Nasir Riley
  • 10,665
  • 2
  • 18
  • 27