﻿<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Dev%3ADoc%2FBuilding_Blender%2FLinux%2Fdependencies</id>
	<title>Dev:Doc/Building Blender/Linux/dependencies - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Dev%3ADoc%2FBuilding_Blender%2FLinux%2Fdependencies"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:Doc/Building_Blender/Linux/dependencies&amp;action=history"/>
	<updated>2026-04-28T20:46:19Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Dev:Doc/Building_Blender/Linux/dependencies&amp;diff=94215&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:Doc/Building_Blender/Linux/dependencies&amp;diff=94215&amp;oldid=prev"/>
		<updated>2018-06-28T18:45:56Z</updated>

		<summary type="html">&lt;p&gt;1版 をインポートしました&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2018年6月28日 (木) 18:45時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ja&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(相違点なし)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Yamyam</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Dev:Doc/Building_Blender/Linux/dependencies&amp;diff=94214&amp;oldid=prev</id>
		<title>2017年8月4日 (金) 05:13にwiki&gt;Blendifyによる</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:Doc/Building_Blender/Linux/dependencies&amp;diff=94214&amp;oldid=prev"/>
		<updated>2017-08-04T05:13:56Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= 2. Install/Update the dependencies =&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
------------------------------------------------&lt;br /&gt;
             WARNING FOR EDITORS&lt;br /&gt;
------------------------------------------------&lt;br /&gt;
This page has a conditional rule in it to distinguish Ubuntu/Fedora/Generic distro.&lt;br /&gt;
&lt;br /&gt;
This has been done because the previous situation was messy because we had commands for fedora, ubuntu and generic distro all in one page.&lt;br /&gt;
&lt;br /&gt;
To edit this page watch at the #switch: statement and place your edit under the right condition.&lt;br /&gt;
&lt;br /&gt;
Thanks!&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- show auto-deps section? --&amp;gt;&lt;br /&gt;
{{#switch:{{FULLPAGENAME}}&lt;br /&gt;
Dev:Doc/Building Blender/Linux/Arch/CMake=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- show nothing! --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| &amp;lt;!-- default, show this section --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Automatic dependencies installation ==&lt;br /&gt;
&lt;br /&gt;
The preferred way to install dependencies under Linux is now to use the &amp;lt;code&amp;gt;install_deps.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
script featured with Blender sources.&lt;br /&gt;
It currently supports Debian (and derived), Fedora, Suse and Arch distributions.&lt;br /&gt;
When using the &amp;lt;code&amp;gt;install_deps.sh&amp;lt;/code&amp;gt; script, you are only required to install the following dependencies:&lt;br /&gt;
&lt;br /&gt;
{{#switch:{{FULLPAGENAME}}&lt;br /&gt;
&lt;br /&gt;
|Dev:Doc/Building Blender/Linux/Ubuntu/CMake=&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;sudo apt-get update; sudo apt-get install git build-essential&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|Dev:Doc/Building Blender/Linux/Fedora/CMake=&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;su -c 'yum install @&amp;quot;C Development Tools and Libraries&amp;quot; git'&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|Dev:Doc/Building Blender/Linux/OpenSUSE/CMake=&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;zypper install git gcc-c++&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Not yet available…&lt;br /&gt;
|Dev:Doc/Building Blender/Linux/Gentoo/CMake=&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;sudo emerge dev-vcs/git&amp;lt;/source&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|Dev:Doc/Building Blender/Linux/Arch/CMake=&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;sudo pacman -S git base-devel&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| &amp;lt;!-- switch default, keep this as the last condition --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git, build-essential&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Then, get the sources and run &amp;lt;code&amp;gt;install_deps.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd ~/blender-git&lt;br /&gt;
./blender/build_files/build_environment/install_deps.sh&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This script works for Debian/Redhat/SuSE/Arch based distributions, both 32 and 64 bits.&lt;br /&gt;
&lt;br /&gt;
For other distributions, it can:&lt;br /&gt;
* Print the list of all main dependencies needed to build Blender (&amp;lt;code&amp;gt;--show-deps&amp;lt;/code&amp;gt; option).&lt;br /&gt;
* Attempt to build main 'big' libraries you cannot easily install from packages (&amp;lt;code&amp;gt;--build-foo&amp;lt;/code&amp;gt; options, see &amp;lt;code&amp;gt;--help&amp;lt;/code&amp;gt; of the script for details).&lt;br /&gt;
&lt;br /&gt;
{{Warning/Important}}It might be required to re-run install-depsh.sh once in a while, as Blender updates its dependencies. You will typically want to try this when you have build errors after updating the sources.{{clr}}&lt;br /&gt;
&lt;br /&gt;
Some commands in this script requires sudo, so you'll be likely be asked for your password.&lt;br /&gt;
&lt;br /&gt;
When the script finishes installing/building all the packages, it'll print which parameters for CMake you should use to build Blender.&lt;br /&gt;
&lt;br /&gt;
{{Template:MoreDetails | + install_deps.sh options |&lt;br /&gt;
&lt;br /&gt;
This scripts accepts some optional command lines arguments (use &amp;lt;code&amp;gt;--help&amp;lt;/code&amp;gt; one to get an exhaustive list), among which:&lt;br /&gt;
;&amp;lt;code&amp;gt;--source &amp;lt;path&amp;gt;&amp;lt;/code&amp;gt; &lt;br /&gt;
:Where to store downloaded sources for libraries we have to build (defaults to &amp;lt;code&amp;gt;~/src/blender-deps&amp;lt;/code&amp;gt;).&lt;br /&gt;
;&amp;lt;code&amp;gt;--install &amp;lt;path&amp;gt;&amp;lt;/code&amp;gt; &lt;br /&gt;
:Where to install the libraries we have to build (defaults to &amp;lt;code&amp;gt;/opt/lib&amp;lt;/code&amp;gt;).&lt;br /&gt;
;&amp;lt;code&amp;gt;--with-all&amp;lt;/code&amp;gt; &lt;br /&gt;
:Include some extra libraries that are by default not considered mandatory (main effect of this one is building OpenCollada).&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
}} &amp;lt;!-- end switch to check if this title should display --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Template:MoreDetails | + Manual Dependency Installation (optional) |&lt;br /&gt;
&lt;br /&gt;
== Manual Dependency Installation ==&lt;br /&gt;
&lt;br /&gt;
To manually install Blender's dependency packages:&lt;br /&gt;
&lt;br /&gt;
{{#switch:{{FULLPAGENAME}}&lt;br /&gt;
&lt;br /&gt;
|Dev:Doc/Building Blender/Linux/Ubuntu/CMake=&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;sudo apt-get update; sudo apt-get install git build-essential \&lt;br /&gt;
 libfreetype6-dev \&lt;br /&gt;
 libglew-dev \&lt;br /&gt;
 libglu1-mesa-dev \&lt;br /&gt;
 libjpeg-dev \&lt;br /&gt;
 libpng12-dev \&lt;br /&gt;
 libsndfile1-dev \&lt;br /&gt;
 libx11-dev \&lt;br /&gt;
 libxi-dev \&lt;br /&gt;
 python3.5-dev \&lt;br /&gt;
 libalut-dev \&lt;br /&gt;
 libavcodec-dev \&lt;br /&gt;
 libavdevice-dev \&lt;br /&gt;
 libavformat-dev \&lt;br /&gt;
 libavutil-dev \&lt;br /&gt;
 libfftw3-dev \&lt;br /&gt;
 libjack-dev \&lt;br /&gt;
 libmp3lame-dev \&lt;br /&gt;
 libopenal-dev \&lt;br /&gt;
 libopenexr-dev \&lt;br /&gt;
 libopenjpeg-dev \&lt;br /&gt;
 libsdl1.2-dev \&lt;br /&gt;
 libswscale-dev \&lt;br /&gt;
 libtheora-dev \&lt;br /&gt;
 libtiff5-dev \&lt;br /&gt;
 libvorbis-dev \&lt;br /&gt;
 libx264-dev \&lt;br /&gt;
 libspnav-dev&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|Dev:Doc/Building Blender/Linux/Fedora/CMake=&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;su -c 'yum install gcc-c++ git libpng-devel \&lt;br /&gt;
 libjpeg-devel openjpeg openjpeg-devel libXi-devel openexr-devel openal-soft-devel \&lt;br /&gt;
 freealut-devel SDL-devel fftw-devel libtiff-devel lame-libs \&lt;br /&gt;
 freetype-devel jack-audio-connection-kit-devel \&lt;br /&gt;
 ffmpeg-libs ffmpeg-devel xvidcore-devel libogg-devel faac-devel \&lt;br /&gt;
 faad2-devel x264-devel libvorbis-devel libtheora-devel lame-devel libspnav-devel'&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Fedora 14 does not include ffmpeg, lame and other non-free libs in the default repository, you will need to add the &amp;quot;&amp;quot;&amp;quot;rpmfusion&amp;quot;&amp;quot;&amp;quot; repository See: [http://rpmfusion.org/Configuration rpmfusion].&lt;br /&gt;
Fedora 12 doesn't include python3 in its repositories but you can use the packages that are available for Fedora 13 and 14.&lt;br /&gt;
You may download them from [http://koji.fedoraproject.org/koji/buildinfo?buildID=155875 here].&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!-- Check also http://koji.fedoraproject.org/koji/packageinfo?packageID=9781 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you are running Fedora 14 or a newer version, you can simply install Python 3.2 from your package manager.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;su -c 'yum install python3 python3-devel python3-libs'&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|Dev:Doc/Building Blender/Linux/OpenSUSE/CMake=&lt;br /&gt;
&lt;br /&gt;
Install Packman repository&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
zypper addrepo http://packman.jacobs-university.de/suse/11.3/ packman &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or use Yast to install Packman repository.&lt;br /&gt;
&lt;br /&gt;
Then install the dependencies:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
zypper install mc git gcc-c++ libSDL-devel \&lt;br /&gt;
  openal-soft-devel libffmpeg-devel \&lt;br /&gt;
  libpng-devel libjpeg-devel python3-devel libtiff-devel OpenEXR-devel&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|Dev:Doc/Building Blender/Linux/Gentoo/CMake=&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;sudo emerge dev-vcs/git \&lt;br /&gt;
media-libs/openal \&lt;br /&gt;
x11-libs/libXi x11-misc/util-macros \&lt;br /&gt;
media-libs/libsndfile media-libs/openjpeg \&lt;br /&gt;
media-sound/jack-rack media-libs/libpng \&lt;br /&gt;
media-libs/openexr media-libs/freealut \&lt;br /&gt;
media-libs/libvorbis media-libs/mesa \&lt;br /&gt;
media-libs/freetype media-libs/libsdl \&lt;br /&gt;
media-libs/tiff sci-libs/fftw \&lt;br /&gt;
media-libs/x264 media-libs/libquicktime \&lt;br /&gt;
media-video/ffmpeg dev-lang/python&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After installation check your active Python with eselect, you should be using Python3.x.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;eselect python list&amp;lt;/source&amp;gt;&lt;br /&gt;
output example:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;Available Python interpreters:&lt;br /&gt;
  [1]   python2.7 *&lt;br /&gt;
  [2]   python3.5&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|Dev:Doc/Building Blender/Linux/Arch/CMake=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;sudo pacman -S \&lt;br /&gt;
 git python gettext \&lt;br /&gt;
 mesa libxi glew \&lt;br /&gt;
 libtiff libjpeg libpng openexr openjpeg \&lt;br /&gt;
 pcre libxml2 \&lt;br /&gt;
 openal sdl ffmpeg libsndfile&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To build WITH_CYCLES_CUDA_BINARIES=ON, you will need...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;sudo pacman -S cuda-toolkit&amp;lt;/source&amp;gt;&lt;br /&gt;
To build WITH_CYCLES_CUDA_BINARIES=ON, '''on 64bit installations''' you will need to enable '''multilib'''...&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;sudo pacman -S lib32-glibc&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| &amp;lt;!-- switch default, keep this as the last condition --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git, build-essential, libx11-dev, libxi-dev, libsndfile1-dev, libopenexr-dev, &lt;br /&gt;
libopenjpeg-dev, libpng12-dev, libjpeg-dev libopenal-dev, libalut-dev, python3.5-dev, &lt;br /&gt;
libglu1-mesa-dev, libsdl-dev, libfreetype6-dev, libtiff4-dev, &lt;br /&gt;
libavdevice-dev, libavformat-dev, libavutil-dev, libavcodec-dev, libswscale-dev, &lt;br /&gt;
libx264-dev, libxvidcore4-dev, libmp3lame-dev, libspnav-dev, python3.5&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
As a final note, here are the key libraries that you may want to use with Blender:&lt;br /&gt;
;[http://www.python.org/ Python] (3.5)&lt;br /&gt;
:Needed for interface scripts (building without Python is supported but not meant for general use).&lt;br /&gt;
;[http://www.boost.org/ Boost] (min 1.49)&lt;br /&gt;
:Necessary for Cycles, OSL, Audaspace, Internationalization…&lt;br /&gt;
;[http://opencolorio.org/ OpenColorIO] (min 1.0)&lt;br /&gt;
:Necessary to handle color spaces.&lt;br /&gt;
;[https://sites.google.com/site/openimageio/ OpenImageIO]&lt;br /&gt;
:Necessary for Cycles and OSL (min 1.1 in this case).&lt;br /&gt;
;[http://llvm.org/ LLVM] (min 3.0)&lt;br /&gt;
:Necessary for OSL.&lt;br /&gt;
;[http://code.google.com/p/openshadinglanguage/ OpenShadingLanguage]&lt;br /&gt;
:Enable custom shaders under Cycles.&lt;br /&gt;
;[http://ffmpeg.org/ FFMPEG] or [http://libav.org/ libav (ffmpeg fork)]&lt;br /&gt;
:For handling most video formats/codecs.&lt;br /&gt;
;[http://openvdb.org/ OpenVDB] (min 3.1)&lt;br /&gt;
:For caching of smoke simulations.&lt;br /&gt;
&lt;br /&gt;
See also: [[Dev:Doc/Building_Blender/Linux/Dependencies_From_Source|Building Dependencies From Source]]&lt;br /&gt;
&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>wiki&gt;Blendify</name></author>
		
	</entry>
</feed>