gael@gael-XPS-13-9310:~$ sudo add-apt-repository ppa:savoury1/blender [sudo] Mot de passe de gael : New builds of Blender 2.93.2 (and Blender 3.0.0 Alpha) for Xenial & newer. Update (26 Feb 2021): Blender 2.92.0+ supports building CUDA kernels with a combination of CUDA 10.2 and 11.3 (covering SM_30 through SM_8x). Also, Blender >= 2.93 requires OpenColorIO >= 2.0.0 so OpenColorIO 1.1.1 is now packaged as opencolorio1 (providing libopencolorio1{-dev} packages) such that each OpenColorIO version can be used for different builds as needed. Update (29 Sep 2020): Blender 2.91.0 Alpha and newer builds now with USD (Universal Scene Description) support plus pre-compiled CUDA 11.1 kernels. * Note: Both blender and blender-git versions can easily be co-installed on the same system, via packaging various blender* files as blender-git* to ensure no file conflicts between the two packages. Plus they also use distinct config paths (~/.config/blender/2.93 and ~/.config/blender/3.0). These are fresh builds with as many features enabled as possible. Making use of work by Irie Shinsuke [1], Thomas Schiex [2] & Debian's multimedia packaging team (thank you all!) and developing that work further this is a fairly complete and up-to-date Blender build. Packages found here that are not in default Debian/Ubuntu repos include: Alembic, Open Image Denoise, Open Shading Language, Partio, Ptex, & Universal Scene Description (USD). *** Donations: https://ko-fi.com/savoury1 & https://paypal.me/Savoury1 *** If you find this PPA useful then please consider a donation (above links). It will help me continue the efforts providing up-to-date Blender for all! ========================================================================== Blender - fresh builds (Xenial & newer) ========================================================================== alembic-io (1.8.2), blender (2.93.2), blender-git (3.0.0 Alpha 20210716), collada-dom (2.5.0), embree (3.12.2), ilmbase (3.1.0 = imath), libde265 (1.0.8), libheif (1.12.0), libraw (0.20.2), libsdl2 (2.0.14), llvm-toolchain-11 (11.0.1), mpdecimal (2.5.1), nanovdb (0.1.0), opencollada (1.6.68), opencolorio1 (1.1.1), opencolorio (2.0.1), opencv (imath rebuilds), openexr (3.0.5), openimagedenoise (1.4.1), openimageio (2.2.16.0), openscenegraph (3.6.5), openshadinglanguage (1.11.14.1), opensubdiv (3.4.4), openvdb (8.1.0), partio (1.14.0), ptex (2.4.0+git20210629), pystring (1.1.3+git20200203), python3.9 (3.9.6), robin-map (0.6.3), tbb (2020.3), usd (21.02), yaml-cpp (0.6.3) Focal only: pyside2 (5.14.0+really5.13.2 downgrade, due various use cases being broken by Focal pyside2 5.14 plus Qt 5.12, eg. missing pyside2-uic) Xenial & Bionic: armadillo, boost1.71, cfitsio, charls, coin3 (4.0.0), curl, dcmtk, collada2gltf, fftw3, fontconfig, freetype, gdal, gdcm, geos, hwloc, icu (66.1), jemalloc (5.2.1), json-c4, lapack, libdap, libevent, libgeotiff, libidn2, libpng1.6, libpsl5, libzstd, mpich, netcdf, ogdi, openjpeg2, openssl, poppler, pmix, proj, pugixml, pysimplesoap, python-{boto,httplib2,imaplib2} (compat with new openssl), superlu, tesseract, tiff, xerces-c, xz-utils, zlib1g Xenial only: hdf5, icu60, icu-le-hb, infinipath-psm, libfabric, libharu, libkml, libsquish, libwebp, nghttp2, rdma-core Note: Many above deps for Xenial & Bionic are interconnected and have been copied here from other PPAs at this Launchpad site to make installation of the latest Blender on older series easier, without needing too many PPAs. ========================================================================== *** Install *** NOTE FOR ALL: Blender here is built with ppa:savoury1/ffmpeg4 (the latest stable release of FFmpeg 4.x) which PPA must also be added for install of Blender. Thus, these are the steps required for a successful installation: sudo add-apt-repository ppa:savoury1/ffmpeg4 sudo add-apt-repository ppa:savoury1/blender sudo apt-get update sudo apt-get upgrade && sudo apt-get dist-upgrade sudo apt-get install blender * Notes about Numpy: Due Blender 2.93+ needing Python 3.9+ (Xenial is 3.5, Bionic 3.6, and Focal 3.8) Blender here is built with Python 3.9 for all series. Numpy from python3-numpy (to /usr/lib/python3/dist-packages) will therefore not work with Python 3.9 used by Blender for Focal and earlier. A workaround is to install Numpy through pip then add a user site-packages path to sys.path in a startup script (following steps outlined below). All blender{-git}-data packages here depend on python3.9{-distutils} to ensure a complete Python 3.9 install is available. The following commands using Python 3.9 will install pip first and then a compatible Python Numpy package (bootstrap.pypa.io is hosted by Python Packaging Authority or PyPA so it's a trusted site in terms of downloading get-pip.py to install pip): cd ~ curl https://bootstrap.pypa.io/get-pip.py | python3.9 python3.9 -m pip install --target=.local/lib/python3.9/site-packages numpy Then a Blender startup script can be added, using the path for user config files. Use "~/.config/blender/2.93/scripts/startup" for 2.93 and create a file such as usercustomize.py (change "USER" in the below to the logged in username on your system) with contents such as the following two lines: import sys sys.path.insert(0, '/home/USER/.local/lib/python3.9/site-packages') The result will be that "import numpy" works fine after loading Blender on older series (ie. Xenial or Bionic) making Numpy functionality available. Notes for Xenial & Bionic: Blender is demanding software. Recent versions require many newer system libraries than shipped with these older series. Packages here are built against various other PPAs at this Launchpad site (see "Build" section below) and require various newer packages from those PPAs to successfully install. This includes requiring GCC 9.3.0 (default GCC for Focal) as Blender here is built with GCC 9.3.0 as the minimum. Thus, installing Blender from this PPA requires extra steps for Xenial & Bionic (many dependencies from backports, graphics & multimedia PPAs are now copied here, so those PPAs should not need to be added -- if you find a dependency still missing after the below steps please do let me know!): sudo add-apt-repository ppa:savoury1/gcc-defaults-9 sudo add-apt-repository ppa:savoury1/ffmpeg4 sudo add-apt-repository ppa:savoury1/display sudo add-apt-repository ppa:savoury1/blender sudo apt-get update sudo apt-get upgrade && sudo apt-get dist-upgrade sudo apt-get install blender Understand this will bring many upgrades including to GCC 9.3.0 which will be made the system default GCC version. As always, please remember that it is wise to backup first before such a major upgrade process is undertaken! If running nVidia hardware see the display PPA for more information about nVidia drivers: https://launchpad.net/~savoury1/+archive/ubuntu/display Note for Xenial: CUDA 11.1+ requires Linux kernel >= 4.5 for bug-free functionality, just as a newer kernel is best for numerous post-Xenial release (2016 onwards) display drivers and graphics programs. See here: https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html See the same display PPA above re: kernel >= 4.5 for new display drivers. *** Build *** This PPA has build dependencies on: ppa:savoury1/build-tools ppa:savoury1/backports ppa:savoury1/graphics ppa:savoury1/multimedia ppa:savoury1/ffmpeg4 Additionally, required by Xenial & Bionic: ppa:savoury1/haskell-build ppa:savoury1/tex-2019 ppa:savoury1/python ppa:savoury1/display ppa:savoury1/gcc-defaults-9 ppa:savoury1/llvm-defaults-10 ppa:savoury1/boost-defaults1.71 Note about i386: Blender is not a good match for i386 arch and 2.90+ fails to build on i386 even after carefully removing all amd64 only configs and deps. The Blender packages built here will thus always be amd64 only, as that is clearly the target architecture for all features. Bye bye i386! *** Credits *** - Creators of Blender: The Blender Foundation and Blender Institute https://www.blender.org/about/ - Package code for Blender: Debian Multimedia Maintainers https://tracker.debian.org/pkg/blender - Python 3.9 packages: Now provided by backports from ppa:savoury1/python with packaging hints and ideas from Felix Krull & the "deadsnakes" team (https://launchpad.net/~deadsnakes), whose packages were formerly here. - Package code for Alembic and Open Image Denoise: Irie Shinsuke - Package code for Open Shading Language: Irie Shinsuke & Thomas Schiex [1] https://launchpad.net/~irie/+archive/ubuntu/blender-builddep [2] https://launchpad.net/~thomas-schiex/+archive/ubuntu/blender Plus d’info : https://launchpad.net/~savoury1/+archive/ubuntu/blender