gitis installed. git 2.2.1+ recommended.
- Fetch depot_tools: (from home directory)
ninjaexport PATH=$PATH:$HOME/depot_tools export CHROME_DEVEL_SANDBOX=$HOME/chromium/src/out/Debug/chrome_sandbox
- Yes, you want to put depot_tools ahead of everything else, otherwise gcl will refer to the GNU Common Lisp compiler.
Get the Chromium Source Code
create a new directory chromium in home
git clone --depth 1 https://chromium.googlesource.com/chromium/src.git
depthargument results in a shallow clone so that you don't pull down the massive history. You can remove it if you want full copy. It will take a lot of time (~30 minutes) to complete
fetch —nohooks —no-history chromium —nosvn=True
This also take a lot of time to fetch.
Install any necessary dependencies
Run post-sync hooks
Finally, runhooks to run any post-sync scripts
ninja -C out/Debug chromium
Set Up the Sandboxcd ~/chromium/src
ninja -C out/Debug chrome_sandbox sudo chown root:root out/Debug/chrome_sandbox sudo chmod 4755 out/Debug/chrome_sandbox
Run Chromiumcd ~/chromium/src
Run shell script out/Debug/chrome-wrapper
If sandbox error shows please run this command for disable sandbox and run. (Please note, withut sandbox, security issues may come)
./out/Debug/chrome-wrapper --no-sandbox %U
Here we go, browse using your own browser ... :)