Chromebook / Chrome OS features

I’m thinking about getting myself a Chromebook (of course, with Chrome OS), but you need to fully understand the developer mode. I'm struggling to find any specific relevant information about the abilities of the developer. Once I enter developer mode and set rootfs as writable (both of which are relatively direct), will the Chromebook / Chrome OS function be relatively normal? By normal, I mean, can I install and run the standard Linux executables if they are executed for the target architecture? I read somewhere that actually compiling from a source on a Chromebook / OS did not work. Why is this?

+6
source share
4 answers

Once you are in developer mode, you can go and be able to do many things on your Chromebook (or any other hromeOS machine). For example, if you take this project: https://github.com/helloandre/cr48

and follow these steps:

  • Put the CR-48 in developer mode in the shell (Ctrl + Alt + t)
  • Make your main partition executable with sudo mount -i -o remount, exec / home / chronos / user
  • Download repo to another computer, then use scp to put it in / home / chronos / user / cr 48 cd / home / chronos / user / cr48 && & & & CHMOD + x install && &. / Install

You can enjoy development technologies such as: python, ruby, perl, etc.

+1
source

After you put your device in developer mode, it is essentially a Linux box, like any other. Depending on how heavy your "standard Linux binary" is, it will most likely work; the problems you’ll have will be that the “X library is not installed by default,” which you can get from any other distribution, and not “ChromeOS is so strange that nothing will happen.”

You won’t be creating software on the Chromebook itself unless you install GCC and its associated binding — you need to set up your development environment on a separate machine; see http://www.chromium.org/chromium-os . You should probably be advised that this is not trivial, and it is recommended that you use a “clean pipe and development machine”.

+1
source

I use my Samsung ChromeBook as PC on PC and Linux on desktops.

Once you add CB to developer mode, it works like any other Linux server. Security extensions usually mean that you must put executable programs in /usr/local/bin , otherwise they may not be allowed.

I run Go to the development environment on it , and it works as fast as any Intel-based laptop. For more information on how to run Go on CB, see this answer.

You can also cross-compile Go from other systems, for example. A Mac running on an Intel processor can generate code for CB, that is, run Linux on ARM v7. For more details, Dave Cheney's article is really helpful.

+1
source

I use crouton to get Ubuntu on my (ARM) Chromebook. For work where I need a full graphical desktop, I do chroot with crouton -t xfce . Otherwise, I use crouton -t cli-extra , and my "real" Linux is another browser tab. In any case, you have apt-get and you can easily add packages.

The bizarre part is that you always use the Chrome OS kernel, so (for example) if you run some sound in one OS, it will continue to play when you switch to another.

0
source

Source: https://habr.com/ru/post/919020/


All Articles