+5 votes
306 views
Installing Chromium OS with Aura in Ubuntu

in Linux / Unix by (551k points)
reopened | 306 views

1 Answer

+3 votes
Best answer

Chromium OS installation - Part 1

Chromium OS installation - Part 1



Chromium OS can be installed on any hardware that supports your requirements, the minimum would be that it complies with an architecture of ARM or x86 . In this first tutorial we will see step by step the initial requirements to be able to install it in our distribution.

image


Initial requirements
  • Ubuntu : Chromium OS runs better under Ubuntu but only with the 64-bit distribution, so we will use this for the tutorial, it is important to mention that you must have at least 50GB of disk space for the Chromium source code.
  • Git : To download the most current version of the Chromium project we must install Git, we do it in the following way:

$ sudo apt - get install git-core gitk git-gui subversion curl

  • Working directory: We create a directory in which we will only have the source code and where we will perform all the operations, suppose we call it chromiumos and it will be with the same one that we will do the operations.
  • Depot_tools : For the commands on Chromium OS to work, we downloaded the depot_tools . For this we move to our working directory and write the following:

$ git clone https : // git.chromium.org/chromium/tools/depot_tools.git


After doing this we must add depot_tools to the PATH using the following command:

$ export PATH = "$ PATH": 'pwd' / depot_tools


This allows us to use depot_tools to handle the Chromium code download and synchronization processes.

  • Git account : To make things easier we configure Git with the details of our GitHub account:

$ git config --global user .email [email protected]

$ git config --global user .name "user"

  • Selecting the source : There are two types of source for Chromium OS :

6.1- Minilayout : it weighs around 2GB and is enough to run Chromium with the possibility of creating the packages later.

6.2 - Full layout : it weighs around 12GB and contains all the dependencies and packages so we do not need to do anything else.

  • Downloading the source : Once we have decided which source to choose, we will proceed to the download.

Minilayout:

$ repo init -u https: //git.chromium .org / chromiumos / manifest.git -m minilayout.xml --repo-url https: //git.chromium...ternal/repo.git


Full layout:

$ repo init -u https: //git.chromium...os/manifest.git --repo-url https: // git .chromium.org / external / repo.git


After having run either of the two commands, we do the following:

$ repo sync

  • Creating chroot : After the repository has completed the synchronization, we need the standard development environment for Chromium OS , we make sure that we are in the working directory and use the following command:

$ ./chromite/bin/cros_sdk

  • Entering chroot : Already in the installed development environment we enter ~ / trunk / src / scripts.
  • Panel selection : We can see which boards are supported by Chromium OS , listing the contents of ~ / trunk / src / overlay. However there are types of specific and generic boards: x86-generic and arm-generic . For this tutorial we will use the x86-generic.
  • Installation of the board : Once we have decided the board that we will use, we need to select it with the following command:

$ export BOARD = x86-generic


After selecting it, we installed it:

$ ./setup_board --board = $ {BOARD}



Having seen the initial requirements to install Chromium in our distribution, in Part 2 we will continue with it until we have the same running in our distribution.


image


Previous
page 1 of 2
Following

by (3.5m points)
edited

Related questions

+3 votes
1 answer
asked Oct 27, 2019 in Linux / Unix by backtothefuture (551k points) | 281 views
+4 votes
1 answer
asked Jun 24, 2019 in Linux / Unix by backtothefuture (551k points) | 177 views
+3 votes
1 answer
asked Oct 13, 2019 in Linux / Unix by backtothefuture (551k points) | 371 views
+3 votes
1 answer
asked Sep 20, 2019 in Linux / Unix by backtothefuture (551k points) | 236 views
+5 votes
1 answer
asked Sep 20, 2019 in Mac by backtothefuture (551k points) | 333 views
Sponsored articles cost $40 per post. You can contact us via Feedback

Most popular questions within the last 30 days

  1. Cell phone location by number: How easy it is to do it in Latam
10,634 questions
10,766 answers
510 comments
3 users