Kdenlive/Підручник/Встановлення

From KDE UserBase Wiki
Revision as of 12:16, 30 December 2015 by FuzzyBot (talk | contribs) (Updating to match new version of source page)

Встановлення

Встановлення готових пакунків

Most linux distributions provide recent binary packages of Kdenlive that can be installed from your Package Manager. However, in some cases you can find more recent versions in private repositories.

This page at the Kdenlive home has instructions on how to source these more recent versions, depending on which flavour of Linux you run. Instructions for Debian, Fedora, Gentoo, OpenSUSE, Slackware and Ubuntu are available.


As of May 2015, obtaining and installing the latest version of Kdenlive has gotten a little complicated. Development of Kdenlive up to this point has used a technology known as KDE Frameworks 4. And the last stable release using this technology is version 0.9.10, released 25th September 2014.
To use this you need to have recent versions of frei0r, Kdenlive , mlt and libvidstab, e.g.:

  • frei0r = 1.4.0+git20140826.72e51041
  • Kdenlive = 0.9.10
  • mlt = 0.9.3+git20141005.22abed67
  • libvidstab=2:0.98b


As of June 2015, this PPA has version 0.9.10 of Kdenlive , 1.4.0 of Frei0r and 0.9.3 of melt.

Development of Kdenlive has now switched to a new version of the KDE Frameworks called KF5 (KDE Frameworks 5). To install versions of Kdenlive using this underlying technology, you need to be on a Linux distribution which supports KF5. Ubuntu and its derivatives versioned 15.04 and higher support KF5. It is not possible to install KF5 on distributions earlier than 15.04 (except by chrooting your system). Versions using KF5 are distributed by the Kubuntu-CI Team. The sunab ppa (see below) now also distributes KF5 versions.
Version numbers of the KF5 flavour start at 15.04.0.
This author recommends using the sunab ppa to install kdenlive rather than the Kubuntu-CI Team because the Kubuntu-CI Team PPA has many other packages in it which will attempt to uprade all sorts of things on your system - with the potential of breaking it.

The switch between 0.9.10 and 15.04.0 is quite major with respect to the development work required. Testing of the new 15.04.0 version has been limited. For critical work I would recommend not upgrading to 15.04.0 unless you have a good backout strategy. It seems that the standard 15.04 Ubuntu repositories have a version 0.9.10 of Kdenlive running against KDE Frameworks 4 so you might be able to back out from 15.04.x to 0.9.10 by purging the ppa version of Kdenlive and re-installing the one in the standard repos.

Debian, Ubuntu та похідні дистрибутиви

Пакунки Kdenlive є частиною проекту Debian з випуску "squeeze" (6.0), але щоб скористатися найсвіжішими оновленнями та виправленнями вад, вам варто оновити програму до випуску з "testing" або навіть "sid".

Once your package management tool is pointed at an appropriate release, a simple apt-get install kdenlive should then work.

Sunab's PPA (see below) is not recommended for Debian because Debian uses a different lib layout for multiarch (reference: this post from vpinon).

В Ubuntu Kdenlive можна встановити з випуску "gutsy" (7.10), але з тих самих причин, варто оновитися до найсвіжішого випуску.

Sunab пропонує стабільну версію Kdenlive, якою можна скористатися за допомогою цього PPA.

He maintains a ppa with the previous release here. As at June 2015 it has the ver 0.9.10 of Kdenlive , 1.4.0 of Frei0r and 0.9.3 of melt


Not all the packages in the ppa are necessary. Install or upgrade the following to get a 15.04 release (version numbers as at 13 July 2015)

  • kdenlive (15.04.2-0ubuntu0-~sunab~vivid4)
  • kdenlive-data (15.04.2-0ubuntu0-~sunab~vivid4)
  • libmlt++3 (0.9.6-0ubuntu0~sunab~vivid1)
  • libmlt-data (0.9.6-0ubuntu0~sunab~vivid1)
  • libmlt6 (0.9.6-0ubuntu0~sunab~vivid1)
  • libvidstab1.0 (2:0.98b-0ubuntu0~sunab~vivid1)
  • melt ( 0.9.6-0ubuntu0~sunab~vivid1)

Non-Kubuntu users will need to install the kde-runtime package to fix missing buttons and icons.

Note that Sunab's PPA is built against the avconv multimedia libraries which Ubuntu/Lubuntu/Kubuntu et al. ship with. It is not built against the "alternative" ffmpeg multimedia libraries that other distros might have. So using this PPA for non-avconv-utilizing distributions might be problematic. (Thanks avconv/ffmpeg schism !!!!).

Fedora, RedHat та похідні дистрибутиви

RPM ще не є частиною основного сховища, отже вам доведеться скористатися неофіційним сховищем RPM Fusion або packman. Виконайте настанови сайта щодо налаштовування сховища і віддайте команду yum install kdenlive

Gentoo, Arch, порти BSD

Скриптами збирання можна користуватися у сучасних системах, отже достатньо віддати команду emerge kdenlive, або pacman -S kdenlive, або pkg_add kdenlive тощо.

Windows

Окремої версії Kdenlive для Windows ще не створено. Втім, ви можете скористатися віртуалізованим дистрибутивом Linux. Порадти можна знайти на цій сторінці.

There is also the kdenlive on win project on SourceForge which "consists of an Ubuntu VirtualBox image that is preconfigured to run Kdenlive". The project was last updated 2012-08-09.

MacOS

Kdenlive та MLT можна зібрати і запустити у Mac OS X. Пакунки можна знайти на сторінці проекту MacPorts.

MacPorts — система, заснована на початкових кодах: бінарного пакунка Kdenlive немає. Через це Kdenlive та всі залежні програми, зокрема мультимедійні бібліотеки, KDE та Qt слід зібрати окремо. Збирання може тривати доволі довго, щось може зібратися неправильно. Збирання — процес не для недосвідчених, нетерплячих та слабкодухих.

Докладніший опис можна знайти тут.

You may have some success getting support for the MacPort of Kdenlive on the Mac Ports forum on MacOS Forge.

Встановлення з початкових кодів

Якщо вам хочеться потестувати найсвіжіший код або власні латки до нього, вам варто зібрати Kdenlive (а також MLT) власноруч.

Ви можете скористатися процедурою збирання пакунків для вашого дистрибутива, щоб скористатися його системою керування пакунками для встановлення, оновлення або вилучення бінарних файлів і даних, а потім оприлюдніть ваші збірки (або навіть візьміть участь у супроводі пакунків — зверніться до відповідного підручника з дистрибутива).

Якщо хочете, можете зібрати і встановити Kdenlive у локальну теку (не варто встановлювати до /usr, краще зробити це до /usr/local або $HOME/my_local_builds/kdenlive-last-release тощо). Рекомендуємо вам скористатися для збирання скриптом збирання [1]

Installing from Sunab's PPA

Olivier Banus (AKA Sunab) provides a personal package archive (PPA) of the latest development trees of Frei0r-plugins, MLT and Kdenlive. For details on how to install Kdenlive using this bleeding edge source see launchpad.net - kdenlive-git (unstable).Testing only!

As of 2 Dec 2015 Sunab has included a build for Ubuntu 15.10 - the wily werewolf.

Note: Sunab also maintains a PPA of the offical current release of Kdenlive (as noted above) as well as the current release minus one at ppa:sunab/kdenlive-release-old.

If you need to back out a release to the previous release then:

  • delete all packages (kdenlive, mlt, ...) from the kdenlive-release ppa (manually or with ppa-purge)
  • disable ppa:sunab/kdenlive-release in the package manager/software sources
  • enable the ppa:sunab/kdenlive-release-old in the package manager/software sources
  • install Kdenlive from ppa:sunab/kdenlive-release-old

Installing from Vpinon's PPA

As of 2 Dec 2015 Vpinon has a ppa with a build for Ubuntu 15.10 - the wily werewolf - Packages to test the latest beta & bugfixes. Version 15.11.80 of Kdenlive ppa:vpinon/kdenlive-testing


Installing from pre-built binary packages

Kdenlive developer Vpinion is making available compressed pre-built binary files for installing from http://files.kde.org/kdenlive/

You can test these packages without changing your system. Just download the package and extract it to a folder of your choice. Inside that folder is a "start-kdenlive" executable that will start for you a recent version of Kdenlive.

Execute this by typing ./start-kdenlive in a terminal.

Pre-built binary packages are often an easy solution if you are having troubles with your install and can be preferable to building your own because you don't need to install a build environment.

The potential downside is that the pre-built binary packages are built from the unstable development stream and may contain bugs. On the plus side your pre-built binary packages version and your main version of Kdenlive can live simultaneously on your machine.

Installing from daily builds - Old Versions

Dan Dennedy of the Melt project used to provide automatic daily builds that contained the latest git versions of Kdenlive, MLT, Frei0r, FFmpeg and some other important libraries. However the melt projects daily builds have not switched over to the ver 15.04 branch of kdenlive. So these instructions will not give you the bleeding edge code.

You can test these packages without changing your system. Just download the package and extract it to a folder of your choice. Inside that folder is a "start-kdenlive" executable that will start for you the latest Kdenlive.

Execute this by typing ./start-kdenlive in a terminal.

Daily builds are currently provided for Ubuntu (should be compatible with OpenSuse 12 and Debian 7) .

See the daily builds rss feed which provides links to the builds for the above mentioned distributions.

Be sure to choose the correct download for the bitness your system.

kdenlive-debian7-x86_64-YYYYMMDD.tar.bz2 is for 64bit Debian or Ubuntu based distros. (As at October 2015 this is still a 0.9.10 version of Kdenlive)
kdenlive-ubuntu14.04-x86-YYYYMMDD.tar.bz2 (no 64 in the name ) is for 32bit Ubuntu - (release 14.04 or higher) or other Debian based distros


Daily builds are often an easy solution if you are having troubles with your install and can be preferable to building your own because you don't need to install a build environment (which can be problematic on old distro).

Daily builds are likely to work even if your distro doesn't match the reference ones, as these references are older (with ascendant compatibility libs) and the important libs are embedded - it normally works without problem.

The potential downside is that the daily builds are built from the unstable development stream and may contain bugs. On the plus side your daily build version and your main version of Kdenlive can live simultaneously on your machine.

Див. також домашню сторінку Kdenlive.

  1. У дистрибутивах, старіших за Debian 6 або Ubuntu 10.04 та похідних дистрибутивах, вам слід встановити ENABLE_SWFDEC=0 у змінних налаштовування скрипту.