Install kivy using python in ubuntu 18.0: first install python : $ sudo pip install pygame because kivy use pygame library to play video and play game with multi touch system. $ sudo apt install libglu1-mesa-dev freeglut3-dev To solve the some error which is occur to install kivy like /usr/bin/ld: cannot find -lGL collect2: error: ld returned 1 exit status error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 ---------------------------------------- Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-te7d7diq/kivy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-b64enjrj-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-te7d7diq/kivy/ ...