Palm Pre(WebOS) installation on UBUNTU

 Downloading and installing in Ubuntu

1. Installed Ubuntu in my system

Installing VirtualBox
2. cd to etc/apt/

3. type in the command sudo vim sources.list
4. Added the following line at the end of the file 
deb http://download.virtualbox.org/virtualbox/debian hardy non-free

5. Saved and quit the file
6. executed the following command:
wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -
Response showed OK
7. Executed the command :
sudo apt-get update 8. Then Executed sudo apt-get install virtualbox-2.2 Then the installation required some more additional libraries and asked for installing those libraries as well. Typed in Y and pressed Enter. 9. The virtual Box Starting program will be available in Applications>SystemTools>VirtualBox 10. To start the virtualbox from CommandLine : type : VirtualBox (it is case sensitive. Type the exact word) 11. cd to /dev/ and chmod 660 vboxdrv 12. cd to /etc/udev/rules.d 13. open the 40-permissions.rules file(sudo vim 40-permissions.rules) 14. Add the line KERNEL=="vboxdrv", GROUP="vboxusers", MODE="0660" 15. Save the file 16. Assign the group - execute the command (sudo chgrp vboxusers /dev/vboxdrv) 17. Download Novacom from the site https://cdn.downloads.palm.com/sdkdownloads/1.1/sdkBinaries/palm-novacom_0.3-svn177284-hud9_i386.deb 18. Double click on the downloaded deb file 19. If you donot have java installed in Ubuntu , install the same (sudo apt-get install sun-java6-jre) 20. Create a folder for workspace (development of palm applications) 21. copy all the files in /opt/PalmSDK/Current/share/samplecode/samples to the workspace 22. Run the palm emulator. For the first time, it will show new dialogue boxes for keyboard locking etc. You can ignore the messages. 23. Running the palm emulator: In the command line, type in palm-emulator 24. Create a package for the sample project:     a) cd to workspace where the sample projects are copied b) execute palm-package Services (this will create an ipk file)     c) install the package by executing palm-install <ipk filename> d) You will be able to see the same as an application in the emulator. 25. Note that the emulator needs to be running while you are executing the palm-package and palm-install methods.

 Reference : http://developer.palm.com/index.php?option=com_content&view=article&id=1585