Kdenlive/使用手冊/安裝篇

From KDE UserBase Wiki
Revision as of 17:09, 25 August 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.

ThisKdenlive 官網裏有指示如何依據你所偏好的Linux來使用一些最新的源碼或二進位包. 這些教學包含 Debian, Fedora Gentoo, OpenSUSE, Slackware 及 Ubuntu 這些主要的發行版.


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 和延伸的版本

Debian 專案 從 "squeeze" (6.0) 版開始搭載 Kdenlive , 可是如果想要得到最新的更新和修正您還是要考慮一下升級到 "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 也從 從"gutsy" (7.10)開始提供 Kdenlive, 基於相同的理由最好是升級到最新的 釋出版比較好.

Sunab offers a stable release of Kdenlive (KF 5 version 15.04.x) from this 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)

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 ports

最新的( up-to-date )系統已經準備好建構的腳本, 所以分別執行emerge kdenlivepacman -S kdenlivepkg_add kdenlive, 等等.

Windows

目前沒有Kdenlive 的原生Windows 版本。然而你可使用一些虛擬化技術 Linux distribution 即可在 Windows執行 Kdenlive. 在 this page這裏可以找到一些忠告.

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

KdenliveMLT 可在在 Mac OS X之上編譯及執行. 套件可以在 MacPorts 專案取得.

MacPorts 是源碼為主(source-based )的系統- 那裏沒有Kdenlive的二進位程式打包. 因此 Kdenlive 和它數量龐大的相依套件,如多媒體庫,KDE, 和 Qt 都必須編譯過. 這過程會發很長的時間及佔用很多磁碟空間! 更麻煩的是, 一些套件沒有正確的建構是蠻常見的; 對初學者來說不是簡單的任務,過程會令人不耐煩或灰心 "faint of heart."

更多細節可參閱 this

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

從源碼安裝

假如你想測試最近被提交的源碼或是您個人的修正(patches), 你必須自己建構 Kdenlive (有時可能包含 MLT) .

您可以使用您發行版的套件建構程序來配合軟件管理系統處理安裝/升級/移除(install/upgrade/remove) 二進位檔和資料, 最後分享你的建構檔 (或貢獻給套件維護 - 請分別參考各發行版的使用手冊).

假如您偏愛自行建構和安裝 Kdenlive 到你的本機 (不喜歡在 /usr, 比較偏好在 /usr/local$HOME/my_local_builds/kdenlive-last-release 或其他位置). 特例推薦使用build script 腳本[1]

從Sunabs PPA安裝

Olivier Banus (AKA Sunab) 提供了個人的套件倉庫(PPA)給最新的開發樹使用如Frei0r-plugins, MLT and Kdenlive. 如何使用這個來源來安裝 Kdenlive 可參閱launchpad.net

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 daily builds

Dan Dennedy provides automatic daily builds that contain the latest git versions of Kdenlive, MLT, Frei0r, FFmpeg and some other important libraries. Note: It looks like the daily builds have not switched over to the ver 15.04 branch. So this will not give you the bleeding edge code.

You can test this 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) and Fedora.

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 your system.

kdenlive-fedora17-x86_64-YYYYMMDD.tar.bz2 is for 64bit Fedora
kdenlive-ubuntu12.04-x86_64-YYYYMMDD.tar.bz2 is for 64bit Ubuntu - (release 12.04 or higher) or other Debian based distros
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 instal and can be preferable to builing 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 homepage

  1. 若是您的發行版比 Debian 6Ubuntu 10.04 及延伸版還舊, 你必須把腳本裏的設定變數設成 ENABLE_SWFDEC=0