1. Install a number of dependencies, the official note gives the required dependency.
The code is as follows:
sudo apt-get update
sudo apt-get install git git-core pkg-config make autoconf \
Libtool g++ tcl unzip Libyajl-dev libyajl1 qt4-qmake \
Libsqlite3-dev Curl
sudo apt-get install gperf bison Libglib2.0-dev libssl-dev \
Libxi-dev Libxrandr-dev Libxfixes-dev libxcursor-dev \
Libfreetype6-dev Libxinerama-dev libgl1-mesa-dev \
Libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev \
Flex Libicu-dev
sudo apt-get install Libboost-system-dev libboost-filesystem-dev \
Libboost-regex-dev Libboost-program-options-dev liburiparser-dev \
Libc-ares-dev Libsigc++-2.0-dev Libglibmm-2.4-dev libdb4.8-dev \
Libcurl4-openssl-dev
sudo apt-get build-dep qt4-qmake
2. Download the Open webOS Desktop version of the source code:
The code is as follows:
git clone https://github.com/openwebos/build-desktop.git
If Git is not installed, first install Git.
The code is as follows:
sudo apt-get install git
3. Compile and install Openwebos
Enter the Build-desktop folder (CD build-desktop) execution:
The code is as follows:
./build-webos-desktop.sh
The entire process needs to ensure network connectivity, compilation time is very long, patiently waiting (compile about 2.4G of space)
Post-compile install Openwebos:
The code is as follows:
sudo./install-webos-desktop.sh
You can remove it by using the following command:
The code is as follows:
sudo./install-webos-desktop.sh Remove
4. Running webOS
Keep under the Build-desktop folder and start the appropriate service:
The code is as follows:
./service-bus.sh Start
./service-bus.sh Services
Initial run needs to be initialized:
The code is as follows:
./service-bus.sh Init
Run webOS:
The code is as follows:
./run-luna-sysmgr.sh
Turn off the appropriate service:
The code is as follows:
./service-bus.sh Stop
At this point, Openwebos has been running under Ubuntu.