Git on Chrome OS?

4,683 views
Skip to first unread message

Nick B.

unread,
Mar 22, 2013, 7:10:13 AM3/22/13
to chromiu...@chromium.org
So I have emerge installed on the ARM chromebook, but am sad to see I was mislead by the dev_install wiki page when it said: "Now you can emerge any package in chromeos-dev or chromeos-test." because git and many other packages can't be installed.

Is there any plan to add git to package.installable in the future?

Is there any way at all to get git onto Chrome OS?

I'd really like to do offline dev on Chrome OS without resorting to crouton, ChrUbuntu, etc.

Thanks,
- Nick

Mike Frysinger

unread,
Mar 22, 2013, 12:46:09 PM3/22/13
to Nick B., chromium-os-dev
currently, you'd have to install it yourself, or build it in your own
chroot and deploy it. there has been talk on this list in the past of
how to address additional packages like git, but now just needs
someone to do it.

but if your goal is to do "development" where you really mean running
a compiler, then that'll need a lot more work than just making git
available. your best bet there is to use a secondary distro.
-mike
> --
> --
> Chromium OS Developers mailing list: chromiu...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en
>
>
>

Trever

unread,
Mar 22, 2013, 4:05:09 PM3/22/13
to chromiu...@chromium.org, Nick B.
On Friday, March 22, 2013 9:46:09 AM UTC-7, Mike Frysinger wrote:
 there has been talk on this list in the past of
how to address additional packages like git, but now just needs
someone to do it.

but if your goal is to do "development" where you really mean running
a compiler, then that'll need a lot more work than just making git
available.
 

Please do not hold your breath but I'm hoping to get to this at some point (git dev_install package)... because I too would like the same source slurping functionality via dev_install.  Maybe someone can beat me to it.

Alternatively, if there are other people for whom a browser works for code viewing and editing, I'd love to hear what you use. 


Trever

Nick B.

unread,
Mar 29, 2013, 7:47:10 PM3/29/13
to chromiu...@chromium.org, Nick B.
I've been using koding while online, but recently switched to remote ssh-ing to a dev vps and using vim and don't think I'll go back.

If I'm offline, I no longer have access to my remote git repo though.

Anyone have any resources on installing git myself on chromeos?

Cian O'Flynn

unread,
Jun 10, 2013, 11:46:53 AM6/10/13
to chromiu...@chromium.org, Nick B.
Hi there,

I have tried to build git on my arm chromebook, without success unfortunately.

My attempt got stuck trying to compile 1 of the dependencies..(expat)
configure: error: C++ preprocessor "/lib/cpp" fails sanity check

If you wan you build on your chromebook this post will help you get started.

Here is some information about the depenances for building git.

dev_install installs stuff to /usr/local/

If you can succeed in compiling some of the dependances you can 'sudo cp' them to /usr/local/ to their corresponding locations. You can then add these locations to your paths in your .bashrc.

This might not make too much sense, I don't know tbh. I'm a beginner :) .

Maybe someone else can move it along further.
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages