How to install blender on linux

Installing BlenderВ¶

Blender is released approximately every three months. You can keep up to date with the latest changes through the release notes.

System RequirementsВ¶

Blender is available for download on Windows, macOS, and Linux. Always check that the graphics drivers are up to date and that OpenGL is well supported. Blender has a set of minimum and recommended requirements; so make sure these are met before trying to install Blender.

Support for other hardware such as graphic tablets and 3D mice are covered later in Configuring Hardware .

Download BlenderВ¶

Blender offers a variety of different binary packages to choose from depending on their level of stability. Each package has the trade off of newest feature versus stability. The package that is right for you depends on your requirements for those two. A studio for example might want to have long-term support, while a hobbyist may want newer features, while others may just want to test upcoming features. Each package described below has something just right for everyone.

A package packed with the latest features and is considered stable without regressions. A new stable release version is available about every four months.

A package updated daily to include the newest changes in development. These versions are not as thoroughly tested as the stable release, and might break, although they are official and usually not highly experimental.

Blender’s source code is available for free to either reference or to Build from Source. While normal users are not expected to compile Blender it does have advantages:

Blender is always up to date.

It allows access to any version or branch where a feature is being developed.

It can be freely customized.

The procedure for installing a binary, either the latest stable release or a daily build, is the same. Follow the steps for your platform.

Blender doesn’t have a built-in updating system. This means you will need to update Blender yourself by following the upgrade steps described in the sections below.

© Copyright : This page is licensed under a CC-BY-SA 4.0 Int. License. Last updated on 10/10/2021.

Источник

Building Blender/Linux/Ubuntu

Quick Setup

The following instructions will create a Blender build in a blender-git folder in your home directory.

Install Packages

Install essential packages with the package manager.

For Wayland support ( BUILD_CMAKE_ARGS=»-DWITH_GHOST_WAYLAND=ON» )

Download Sources

Download the latest source code from the git.blender.org.

For additional information on using Git with Blender’s sources, see Git Usage.

Download Libraries

For Intel and AMD Linux systems, we recommend using precompiled libraries. These are the quickest way to get a feature complete Blender build and can be downloaded as follows.

These libraries are built on CentOS 7 for VFX reference platform compatibility, but they work fine on other Linux distributions.

For other systems or to use system packages, see Advanced Setup.

Update and Build

Get latest source code and add-ons, and build. These commands can be used for the first build, and repeated whenever you want to update to the latest version.

After the build finished, you will find blender ready to run in

If building fails after an update, it sometimes helps to remove the

/blender-git/build_linux folder to get a completely clean build.

Advanced Setup

Automatic Dependency Installation

When not using precompiled libraries, the preferred way to install dependencies under Linux is to use the install_deps.sh script in the Blender sources. It will install system packages where possible, and if needed can build some libraries from source.

It currently supports Debian (and derivatives), Ubuntu, Fedora, Suse and Arch distributions. It is executed as follows.

Some commands in this script requires sudo, so you’ll be likely be asked for your password. When the script finishes installing/building all the packages, it prints the instructions to configure the build with the required CMake parameters.

For other distributions, it can:

  • Print the list of all main dependencies needed to build Blender ( —show-deps option).
  • Attempt to build main ‘big’ libraries you cannot easily install from packages ( —build-foo options, see —help of the script for details).
Читайте также:  Лучшая файловая система для ssd под windows

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.

This scripts accepts some optional command lines arguments (use —help one to get an exhaustive list), among which:

Where to store downloaded sources for libraries we have to build (defaults to

Where to install the libraries we have to build (defaults to /opt/lib ). —with-all Include some extra libraries that are by default not considered mandatory (main effect of this one is building OpenCollada).

Portable Builds

The above instructions install packages through the system package manager. This makes it possible to share packages between Blender and other software, however the resulting builds will generally not work on other computers.

When using the precompiled libraries, builds are portable and can be shared with others. These libraries are built from source, and this system can also be used to create your own portable libraries.

Running make deps will build libraries in ../lib/linux_x86_64, which will be automatically picked up when building Blender itself.

Besides the libraries, the glibc version of the system affects portability. Builds will only run on Linuxes with the same or higher glibc version. Official builds are made with RHEL 7 and glibc 2.17.

Manual CMake Setup

If you want to have more control over your build configuration or have multiple build directories for a single source directory. You can follow these steps.

Typically useful for developers, who build frequently.

CMake Setup

Now you have to choose a location for CMake build files, currently in-source builds in Blender aren’t supported.

By doing an «out-of-source» build you create a CMake’s directory aside from

/blender-git/blender , for example

This will generate makefiles in the build directory (

As said above, in-source-builds where you build blender from the source code directory are not supported.
If CMake finds a CMakeCache.txt in the source code directory, it uses that instead of using

If you have tried to do an in-source build, you should remove any CMakeCache.txt from the source code directory before actually running the out-of-source build:

Building Blender

After changes have been done and you have generated the makefiles, you can compile using the make command inside the build directory:

Also notice the install target is used, this will copy scripts and documentation into

For future builds you can simply update the repository and re-run make.

Build Options

By default Blender builds will be similar to official releases. Many Build Options are available for debugging, faster builds, and to enable or disable various features.

System Installation

Portable installation is the default where scripts and data files will be copied into the build ‘

/blender-git/build/bin’ directory and can be moved to other systems easily.

To install Blender into the system directories, a system installation can be used instead. Disable WITH_INSTALL_PORTABLE to install into CMAKE_INSTALL_PREFIX which uses a typical Unix FHS layout: bin/, share/blender/, man/ etc.

Optimize Rebuilds

Now that you can build Blender and run Blender, there are changes you can make which greatly increase the speed of build times.

Use one of the CMake configuration editors (ccmake or cmake-gui), see Editing CMake Parameters

For really fast rebuilds you can disable Every option with the WITH_ prefix, except for WITH_PYTHON which is needed for the UI. This speeds up linking and gives a smaller binary.

Remove the files created by make install since they will become stale. However, Blender still needs to be able to find its scripts or you will have a very minimalist looking interface. This can be solved by linking the source directory to your Blender binary path so copying isn’t needed and scripts are always up to date.

For convenient access, create this symlink to run blender from the source directory:

You can add any files created this way to

/blender-git/blender/.git/info/exclude so they won’t count as untracked files for git. Add your local files here, instead of in .gitignore, because .gitignore is also committed and will affect everyone else.

Источник

Installing on LinuxВ¶

Check the Downloading Blender page to find the minimum requirements and where to get Blender (if you have not done so yet).

Install from blender.orgВ¶

Download the Linux version for your architecture and uncompress the file to the desired location (e.g.

/software or /usr/local ).

Blender can now be launched by double-clicking the executable.

When using this method of installation, it is possible to have multiple versions of Blender installed.

For ease of access, you can configure your system by adding a menu entry or shortcut for Blender. You may also associate blend-files with Blender so that when selected from the file browser, they will automatically open in Blender. These settings are typically found in conjunction with the Window Manager settings. (Gnome or KDE.)

Читайте также:  Matebook d14 windows 10 20h2

Install from Package ManagerВ¶

Some Linux distributions may have a specific package for Blender in their repositories.

Installing Blender via the distribution’s native mechanisms ensures consistency with other packages on the system and may provide other features (given by the package manager), such as listing of packages, update notifications and automatic menu configuration. Be aware, though, that the package may be outdated compared to the latest official release, or not include some features of Blender. For example, some distributions do not build Blender with CUDA support, for licensing reasons.

If there is a specific package for your distribution, you may choose what is preferable and most convenient, otherwise, the official binary is available on blender.org.

Install from SnapВ¶

Snap is a universal package manager designed to work across a range of distributions. Assuming snap is already installed, Blender can be installed through snap with:

Installing from this method has a benefit that updates to Blender are automatically installed. Blender from Snap should have a more consistent distribution then individual package managers.

Running from the TerminalВ¶

Avoiding Alt+Mouse ConflictВ¶

Many Window Managers default to Alt — LMB for moving windows, which is a shortcut that Blender uses to simulate a three button mouse. You can either have this feature disabled Preferences ‣ Input ‣ Emulate 3 Button Mouse or you can change the Window Manager settings to use the Meta key instead (also called Super or Windows key):

Enter the following in a command line (effective at next login):

System Settings ‣ Window Management ‣ Window Behavior ‣ Window Actions , Switch from ‘Alt’ to ‘Meta’ key.

Updating on LinuxВ¶

On Linux there are various ways of updating Blender. This section covers the most common approaches.

Updating from blender.orgВ¶

When an update for Blender is released, it can be downloaded directly from the Blender website and installed using the steps described in the section Install from blender.org.

Updating with a Package ManagerВ¶

Many Linux distributions have packages for Blender available, which can be installed using the distribution’s package manager. After installation, Blender can be updated using the same steps as updating any other application.

The Splash screen Defaults page for information about import settings from previous Blender versions and on other quick settings.

© Copyright : This page is licensed under a CC-BY-SA 4.0 Int. License. Last updated on 10/10/2021.

Источник

How to Install Blender 3D on Ubuntu 18.04

The Blender 3D application is a popular, free and open-source toolset for creating and editing 3D computer graphics. These include high-definition animated films, visual effects, 3D models, and interactive 3D applications such as video games.

This article describes how to install and launch the Blender application on your Ubuntu through:

  • The Official Blender website (UI based installation)
  • The Ubuntu Software Manager (UI based installation)
  • Through Snap, and through PPA repository (command-line based installation)

We have run the commands and procedures mentioned in this article on Ubuntu 18.04 LTS system.

Method 1: From the official Blender website

The official Blender website provides downloadable tar.bz2 files for the latest stable and beta versions of Blender, on the following link:

Click on the Download Blender link or select a specific version from the “Windows, macOS, and other versions” link. You can also be more adventurous and try a beta version if one is available on this website.

When you have selected a Blender version by clicking on it, the following dialog will appear:

Select the Save File option and click OK in order to download the tar.bz2 file on your system. The file is around 135 MB and might take some time to download, depending on your Internet speed.

Next, open the location where you have saved the file; it is mostly your Downloads folder by default.

Advertisement

Right-click on the Blender tar.bz2 file and select Extract Here from the options. When the files are extracted into a folder by the same name, open the folder and try to locate the “blender” executable file.

Right-click the ‘blender’ file and then select Run from the options. This will open the Blender application as follows:

Every time you want to access/launch the application, you can run the Blender file from the same location.

If you ever want to remove the application from your system, installed through this method, you can simply delete the folder you extracted from the tar.gz2 file.

Method 2: Install Blender 3D through Ubuntu Software Manager

For a person who does not want to open the Command Line much, installing software present in the Ubuntu repository through the UI is very simple. On your Ubuntu desktop Activities toolbar, click the Ubuntu Software icon.

Читайте также:  Failed to start the virtual machine vmware mac os

In the following view, click on the search icon and enter Blender in the search bar. The search results will list the Blender entries as follows:

All these releases are from different developers. You can click on any entry to see who the developer is. We will prefer the one available on the Snap store.

Click the Blender package that suits your requirements, from the search results. The following dialog will appear:

Click the Install button to begin the installation process. The following authentication dialog will display for you to provide your authentication details as only an authorized user can install software on Ubuntu.

Enter your password and click the Authenticate button. After that, the installation process will begin, displaying a progress bar as follows.

Blender will then be installed to your system and you will get the following message after a successful installation:

Through the above dialog, you can choose to directly launch Blender and even Remove it immediately for whatever reason.

Launch Blender

You can launch Blender through the UI any time you want by entering relevant keywords in the Ubuntu Dash or access it directly from the Applications list.

Remove Blender

You can uninstall Blender through the Ubuntu Software manager by first searching for it through the Search button and then clicking the Remove button from the following view:

A dialog will ask you if you are sure about removing the software from your system. Please enter the Remove button to uninstall Blender. An authentication dialog will display for you to provide the authentication details for a sudo user as only an authorized user can install software on Ubuntu. Enter your password and click the Authenticate button. After that, the uninstall process will begin, removing Blender from your system.

Method 3: Install Blender on the command line

Open your Ubuntu command line, the Terminal, either through the Dash or by pressing the Ctrl+Alt+T shortcut. You can then install Blender either through the Snap store or through the Thomas Schiex PPA repository.

Install Blender with Snap

If you do not have the Snap utility installed on your system, you can install it by running the following command:

The system will ask you for your password as only an authorized user can add, update, remove and configure software on Ubuntu.

Then enter the following command in order to install Blender through Snap:

This will install the latest version of Blender available in the Snap store.

In case you want to remove Blender installed through this method, you can do so through the following command:

Install Blender through the Thomas Schiex PPA repository

Open the Terminal and enter the following command to add the Thomas Schiex repository to your Ubuntu.

This repository keeps the latest available and the most reliable version of Blender.

Then enter the following command in order to update your system’s software repository index with that of the Internet so that you can install the latest release of the software.

Now enter the following apt-get command in order to install the latest Blender version:

The system will prompt you with a Y/n to confirm the beginning of the installation procedure. Enter Y and then hit Enter. The installation process will begin and might take some time depending on your Internet speed. Blender then will be installed on your system.

Remove Package

In order to uninstall Blender from your system, enter the following command as sudo:

The system will prompt you with a Y/n option in order to begin the uninstall procedure. Please enter Y and hit Enter to begin. Blender will then be removed from your system.

If you wish to remove the Thomas Schiex PPA repository from your system, you can do so by opening the Software & Updates utility from your Ubuntu Dash.

Select the required PPA that you want to remove and then click the Remove button.

Please choose any one of the methods that suits you from the ones we have presented in this article. You can then reliably work with this toolset to create and edit animated films, visual effects, 3D models, video games and much more.

Karim Buzdar

About the Author: Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications. As an IT engineer and technical author, he writes for various web sites. You can reach Karim on LinkedIn

Источник

Оцените статью