Live data from Hacker News

You can now run Linux apps on Chrome OS

techcrunch.com

31–40 of 329 posts

Re: You can now run Linux apps on Chrome OS

#32
post #26
post #15

Earlier quoted context omitted.

Probably because the Gentoo ecosystem (package tree, package managers) is build for source packages and not for binary packages.

Do you know if pacman is available on Chrome OS? My understanding is that it's based on Gentoo but it's heavily modified. So adding a different binary-based package manager isn't that crazy of an idea, especially for Google.

Two package managers are a bad idea. They would need to cooperate somehow. Pacman developers probably have heard of Gentoo, but I wouldn't call it "based on Gentoo".

Re: You can now run Linux apps on Chrome OS

#33
post #25

I only dived in crouton etc. for a short view, but I think the main reason why I did not continue (besides that it was messy) was the lack of GPU rendering (I believe there was none, at least for my ARM Modell) Is this going to be different with this approach?

Yes, https://chromeunboxed.com/news/chromebook-crostini-container...

Ok.. now it is good news for me ;)

Re: You can now run Linux apps on Chrome OS

#34
post #4

I wonder why they are using a VM running Debian for Linux applications, as Chrome OS is already Linux (Gentoo) based itself.

apt-get is still the golden standard for installing apps on Linux because of its dependency resolution system, and being able to "sudo apt-get install " is a core use-case for end-users (i.e. students who are learning how to use Linux / code for the first time).

Disclaimer: I work at Google, but not on Chrome OS.

Re: You can now run Linux apps on Chrome OS

#36
post #21

I wish they would also offer some runtime environment to run Android apps on a normal Linux (e.g. Debian/Arch). And no, I am not talking about some weird, full size VM with a few Gigs of ram overhead. But since the business case seems to be missing, I will probably have to wait forever ;-)

Anbox[0] already does that. It's not official, it's not from Google, it's not perfect, but .. it works, and integrates the android apps into your system (does not have a weird VM or few gigs of ram overhead).

[0] https://anbox.io/

Re: You can now run Linux apps on Chrome OS

#37
post #4

I wonder why they are using a VM running Debian for Linux applications, as Chrome OS is already Linux (Gentoo) based itself.

I believe they don't use Gentoo, rather they use Gentoo's build system (portage) to build ChromeOS. They use their own tree (ebuilds) and they don't include portage into ChromeOS.

Re: You can now run Linux apps on Chrome OS

#38
post #26
post #15

Earlier quoted context omitted.

Probably because the Gentoo ecosystem (package tree, package managers) is build for source packages and not for binary packages.

Do you know if pacman is available on Chrome OS? My understanding is that it's based on Gentoo but it's heavily modified. So adding a different binary-based package manager isn't that crazy of an idea, especially for Google.

Chrome OS puts the core operating system on a read-only partition, which is why people have been using chroots in developer mode up until now.

Re: You can now run Linux apps on Chrome OS

#39
post #4

I wonder why they are using a VM running Debian for Linux applications, as Chrome OS is already Linux (Gentoo) based itself.

I'd guess they wanted a simpler solution. Debian mostly has stable packages, but if users want more it is easier to get it compatible with Ubuntu repositories and packages.

For example if chromeos users wanted to install steam on their system having a Debian base would help.

Aside from this I'm really surprised that they are using Wayland instead of X11, this decision ought to bring some stability issues until Wayland gets widely adopted.

If I were to guess this feature has been added as a freetime project amongst Google employees. As such, I don't think we can expect continuity. If those developers go away/get reassigned or lose enthusiasm, I don't think Google would allocate resources to maintain a linux VM inside their OS. IMHO if it were important to Google that users could be able to use Linux apps, they would've strived for binary compatibility with Linux from the beginning.

Post reply on HN