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 ~ $ 

2 Answers 2

6

alternative:

  • curl - transfer a URL

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

6
  • 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
    Commented Feb 18, 2018 at 0: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
    Commented Feb 18, 2018 at 10:25
  • @LiveWireBT ... Behold Chrome Brew, the package manager for ChromeOS: -github.com/skycocker/chromebrew Commented Mar 12, 2018 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
    Commented Mar 12, 2018 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. Commented Mar 13, 2018 at 9:34
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.

2
  • Any example of downloading files using curl? Commented Feb 5, 2018 at 4:08
  • Check the man page for curl. You can start with curl -o download.rpm http://www.website.com/file.rpm Commented Feb 5, 2018 at 4:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .