Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts

Thursday, September 18, 2014

Android Development using Python in Linux (Ubuntu)

There are a few steps:
Prerequisite:
$ sudo apt-get install python-setuptools python-pygame python-opengl python-gst0.10 python-enchant gstreamer0.10-plugins-good cython python-dev build-essential libgl1-mesa-dev libgles2-mesa-dev

$ python
>>> import pkg_resources
>>> print pkg_resources.resource_filename('kivy', '../share/kivy-examples')
# Copy the address
>>> exit()

$ ln -s address

# Check the kivy examples
$ cd kivy-examples
$ cd demo/touchtracer
$ python main.py

Build the distribution
./distribute.sh -m "kivy"
The file "distribute.sh" can be found at /home/bz/python-for-android


Sunday, July 21, 2013

Install Spotify in Ubuntu 13.04

How to Install Spotify in Ubuntu 13.04

1. Open a terminal window.
2. Execute each bullet in the terminal.
  • sudo add-apt-repository “deb http://repository.spotify.com stable non-free”
  • sudo apt-get update
  • sudo apt-get install spotify-client-qt
Done!