Hi,
This post explains the basic steps that one needs to follow for downloading WebRTC code base using Ubuntu.
My Ubuntu Virtual Box configurations are -
Linux vm2 3.19.0-28-generic #30~14.04.1-Ubuntu SMP Tue Sep 1 09:32:55 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
The main steps are.
This post explains the basic steps that one needs to follow for downloading WebRTC code base using Ubuntu.
My Ubuntu Virtual Box configurations are -
Linux vm2 3.19.0-28-generic #30~14.04.1-Ubuntu SMP Tue Sep 1 09:32:55 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
The main steps are.
- mkdir webrtc-checkout // Create a new folder
- cd webrtc-checkout
- sudo apt-get install git
- git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git // A folder named depot_tools will be created in your current directory
- export PATH=/home/rohit/webrtc-checkout/depot_tools:"$PATH" // Add depot_tools to the PATH
- sudo apt-get install g++ python libnss3-dev libasound2-dev libpulse-dev libjpeg62-dev libxv-dev libgtk2.0-dev libexpat1-dev // Necessary packages
- apt-get install openjdk-7-jdk // It gets installed in /usr/lib/jvm/java-7-openjdk-amd64
- export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
- fetch --nohooks webrtc // After this if you use 'ls -la' we can see .gclient_entries, .gclient and src (these are newly created)
- gclient sync // This will take several hours to complete as the total code size is in gigabytes
More details are available official links of WebRTC
https://webrtc.org/native-code/development/
It is better not to use a Virtual Machine, as it may give several issues and in the end code downloading will get stopped. So it is better to use a seperate linux PC.
It is better not to use a Virtual Machine, as it may give several issues and in the end code downloading will get stopped. So it is better to use a seperate linux PC.


No comments:
Post a Comment