Installation documentation for Ubuntu (14.04) and Debian obsoleted #2209

Closed
BiteMyBucket opened this Issue May 23, 2014 · 6 comments

Comments

Projects
None yet
8 participants

The installation instructions relies on the ffmpeg transitional package, which has been removed in favor of the libav fork in Debian (and, consequently, Ubuntu), so they are outdated and installation will fail.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Contributor

brousch commented May 23, 2014

Until I can update the installation page, you can look at this for Ubuntu
14.04 instructions
https://github.com/brousch/kivy-installer/blob/master/ubuntu/1404/python27/kivy_all.sh

On Fri, May 23, 2014 at 5:36 AM, BiteMyBucket notifications@github.comwrote:

The installation instructions relies on the ffmpeg transitional package,
which has been removed in favor of the libav fork in Debian (and,
consequently, Ubuntu), so they are outdated and installation will fail.


Reply to this email directly or view it on GitHubhttps://github.com/kivy/kivy/issues/2209
.

Ben Rousch
brousch@gmail.com
http://clusterbleep.net/

Contributor

aspidites commented Jun 5, 2014

Do the latest changes by @thopiekar address this?

Owner

thopiekar commented Jun 5, 2014

I also saw this bug here yesterday, but thought @brousch likes to update the instructions on the manual installation. So I decided after adding the hint how to install python3-pygame to update the rest ( except of the rpm-based distros ).

In my opinion the installation instructions should be updated asap. It's very discouraging to try a new framework and the installations instructions don't work makes people wonder how many documentations problems they will get during development. I still don't get which commands I have to do on the virtualenv and which ones I have to run outside the virtualenv.

@dessant dessant added this to the 1.9.1 milestone Apr 5, 2015

Member

rnixx commented Jul 16, 2015

i just created a pull request formatting the recent install instructions. #3508.

Anyway, these docs are imo mostly outdated. Kivy switched to SDL2 in 1.9, thus pygame installation is not required any longer. Also the ubuntu install dependencies have changed for 14.04.

I wanted to update the docs to 14.04, but i fear the complete installation documentation needs an overhaul (not only linux).

Nevertheless, here are the steps required to get a running kivy checkout in virtualenv on recent debian / ubuntu:

sudo apt-get install -y \
    build-essential \
    git \
    python2.7 \
    python-setuptools \
    python-pip \
    python-virtualenv \
    python-dev \
    libsdl2-dev \
    libsdl2-image-dev \
    libsdl2-mixer-dev \
    libsdl2-ttf-dev \
    libportmidi-dev \
    libswscale-dev \
    libavformat-dev \
    libavcodec-dev \
    zlib1g-dev \
    libfreetype6-dev

git clone git://github.com/kivy/kivy.git
cd kivy
virtualenv venv
venv/bin/pip install cython
venv/bin/python setup.py install

venv/bin/python
>>> import kivy
[INFO   ] [Logger      ] Record log in /home/user/.kivy/logs/kivy_15-07-15_0.txt
[INFO   ] [Kivy        ] v1.9.1-dev
[INFO   ] [Python      ] v2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2]

It should be pretty easy to get it installed globally once the system deps are installed:

sudo pip install cython
sudo pip install kivy

takes kivy from pypi of course..

Update gstreamer dependencies are not included here though

Owner

akshayaurora commented Aug 20, 2015

nix closed this via #3508

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment