How to install Chromium depot_tools on Ubuntu / Linux ?

Chromium depot_tools are the git extensions, which gives additional features. The Chromium depot_tools suite contains many git workflow-enhancing tools which are designed to work together to enable anyone to wrangle the Chromium codebase expertly

Follow below steps to install depot_tools on 64 bit Ubuntu 18.04 , same should also work on other versions of Ubuntu as well.

Note: For our development we are working at directory “/home/myuser/workspace” , you need to replace this path accordingly.

$ cd /home/myuser/workspace
$ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git

Add “depot_tools” to the end of your PATH as,

$ export PATH=$PATH:/home/myuser/workspace/depot_tools

Check the commands from depot_tools are added to PATH as,

$ which gclient
/home/myuser/workspace/depot_tools/gclient

For adding depot_tools to your terminal path permanently, modify your users .bashrc to append above export command as,

$ vim /home/myuser/.bashrc

Add following line, save and quit, and start another terminal,

$ export PATH=$PATH:/home/myuser/depot_tools
How to install docker on ubuntu AWS... x
How to install docker on ubuntu AWS Server

Leave a Comment

Sign up to our newsletter!

ADB Commands Android Android Applications Android Build system Application Libraries Application Stack / User Interface Bash / Shell Scripts Bluetooth driver Cloud Technologies Commands and Packages Compilation Content Management System Core Kernel C Programs Development & Build Development, Debugging and Performance Tools Development Environment Setup Django & REST Api Errors & Failures Git Hardware Platforms HTML JAVA Programs Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL Multimedia NDK / Middleware / HAL Operating System Concepts PHP Programming Languages Scripting and Automation Search Engine Optimisation ( SEO ) Social Media Source Code Management ( SCM ) System Administration, Security Testing and Debugging Uncategorized Web design and development Website Hosting Wordpress Yocto Embedded Linux