28

I installed Blender from official Ubuntu repository but its version is always behind the version available from the official Blender website.

I'm aware that I can launch the program within the downloaded folder, but i want to replace the install version with a new version downloaded from the website?

It must be present in the unity launcher.

I'm also aware of the available PPA's that are available, however I just want to install Blender manually.

Thanks in advance

2
  • 2
    If some people are willing to help with testing, we can probably get blender 2.61 in official backports.
    – micahg
    Mar 12, 2012 at 4:02
  • 1
    blender can be installed through steam now.
    – john9983
    Jun 10, 2016 at 9:01

7 Answers 7

36
+50

Here is a step-by-step tutorial on how to download the current version of Blender from the website and replace the version installed from the Software Center with the one that you downloaded. I hope this is what you wanted.

1. Get Blender

Open your browser and go to http://www.blender.org/download/get-blender/ . Download the appropriate version for your computer, 32-bit or 64-bit. If you don't know whether your computer is 32-bit or 64-bit, open a terminal (Ctrl+Alt+T) and run the following command :

uname -m

The Blender website showcasing the different Blender downloads available.

2. Extract Blender

Open Blender in your downloads folder, right-click on the file you downloaded and click "Extract Here". Once it finishes extracting, move the folder containing Blender to your Home Folder and rename it "blender" for ease of moving it later. enter image description here

3. Uninstall the current version of Blender

Open a terminal by pressing Ctrl+Alt+T. Type this command set: sudo apt-get remove blender . enter image description here

4. Copy the Blender files to where they need to go

Open a terminal. Type ls to see what files are in your home directory. There should be a folder called "blender". If there is, run the following command. If not, rename the folder and try again. If there's no folder at all, go back to step 2. Command:

sudo cp ~/blender /usr/lib/blender -r

This will copy all the files in the blender folder to /usr/lib/blender. enter image description here

5. Verify that the files copied properly

Open the file browser by clicking the "Home Folder" icon in the launcher. Click "File System" on the left side, then open the folder usr, then lib blender. See if there's anything there. If there is, move on to the next step, if not, repeat the previous steps.

enter image description here

6. Open Blender

Open the Blender application. Right-click on the icon that appears in the launcher for the program, and click "Keep in Launcher".

enter image description here

Conclusion

Ta-Da! This is the best you can do to install the current version of Blender. You can redo these steps as many times as needed when a new version of Blender comes out. To remove everything in the blender folder so you can do these steps again, open a terminal and run these commands: sudo rm /usr/lib/blender -r . This is the best you can do, it keeps the blender files in a safe place, and gives a launcher with which to open it. You can't install the current version Blender other then this way in Ubuntu 11.10, however 12.04 will ship with Blender 2.61. For more information see this launchpad post: https://answers.launchpad.net/ubuntu/+source/blender/+question/186716 and this one: https://bugs.launchpad.net/ubuntu/+source/blender/+bug/915248 . Hope that helps!

8
  • 8
    Installing it into /usr/lib is a bad idea. The linux standard base suggest /opt for this sort of task. You could also use /usr/local .. Mar 13, 2012 at 4:37
  • Yes, both of those folders are perfectly valid. However, I chose /usr.lib because that's the default place where Ubuntu puts programs. Sure, there are other folders, but one could sit and argue over which one to use for a while, so I picked usr and stuck with it.
    – William
    Mar 13, 2012 at 4:52
  • 1
    That is not correct. By default ubuntu packages put their files across the whole filesystem depending on what file they are. E.g. executables go into /usr/bin configuration into /etc and so on. Synaptic or any other package manger can show you a list of all files and the various positions.. Mar 13, 2012 at 5:16
  • 1
    @William - suggest change from /usr/lib to /usr/local/lib - it will achieve the same. +1 for the answer BTW
    – fossfreedom
    Mar 13, 2012 at 11:07
  • 2
    Umm.... after doing a little more research - I found that /opt is better. Is this correct?
    – William
    Mar 13, 2012 at 12:45
8

This answer deals with installing Blender from scratch and addressing concerns of installing to /usr/lib. It makes use of terminal commands and gui operations.

Install Blender

Untar (decrompress) the file and copy it to /opt/

tar -xjf blender-2.72b-linux-glibc211-x86_64.tar.bz2
sudo mkdir /opt/blender
sudo cp -r blender-2.72b-linux-glibc211-x86_64/* /opt/blender

Create a Unity Launcher

First, create the launcher file in gedit

gksudo gedit /usr/share/applications/blender.desktop

With that file open paste the following text into it and save it.

[Desktop Entry]
Name=Blender-2.7
Name[de]=Blender-2.7
Name[fr]=Blender-2.7
GenericName=3D modeller
GenericName[de]=3D Modellierer
GenericName[fr]=modeleur 3D
GenericName[ru]=Редактор 3D-моделей
Comment=Create and edit 3D models and animations
Comment[de]=Erstellen und Editieren von 3D Modellen und Animationen
Comment[fr]=Création et édition d'objets 3D et animations
Comment[ru]=Создание и редактирование трёхмерных моделей и анимаций
Exec=/opt/blender/blender %F
Icon=/opt/blender/icons/scalable/apps/blender.svg
Terminal=false
Type=Application
Categories=Graphics;3DGraphics;
StartupNotify=false
MimeType=application/x-blender;

Associate .blend files with Blender

Finally, to associate .blend files with Blender, right-click on a .blend file and click on Properties

enter image description here

In that window click on the Open With tab and select Blender

enter image description here

Now, when you double-click a .blend file it'll open the file Blender.

8

NOTICE: This PPA is no longer available. The links and answer have been left in place for historical purposes.

with this ppa.

sudo add-apt-repository ppa:cheleb/blender-svn
sudo apt-get update
sudo apt-get install blender

PPA description

This PPA contains fresh (mostly daily) Blender SVN trunk builds. Please note that these are development builds and may contain bugs.

NOTE:
Cycles is now enabled in all Series - including Ubuntu Lucid Lynx.

The current build configuration is:
===================================
WITH_AUDASPACE ON
WITH_BLENDER ON
WITH_BUILDINFO ON
WITH_BUILTIN_GLEW ON
WITH_BULLET ON
WITH_CODEC_FFMPEG ON
WITH_CODEC_SNDFILE ON
WITH_CXX_GUARDEDALLOC OFF
WITH_CYCLES ON
WITH_CYCLES_CUDA_BINARIES OFF
WITH_CYCLES_TEST OFF
WITH_FFTW3 ON
WITH_GAMEENGINE ON
WITH_GHOST_DEBUG OFF
WITH_GHOST_SDL OFF
WITH_HEADLESS OFF
WITH_IK_ITASC ON
WITH_IMAGE_CINEON ON
WITH_IMAGE_DDS ON
WITH_IMAGE_FRAMESERVER ON
WITH_IMAGE_HDR ON
WITH_IMAGE_OPENEXR ON
WITH_IMAGE_OPENJPEG ON
WITH_IMAGE_REDCODE ON
WITH_IMAGE_TIFF ON
WITH_INPUT_NDOF ON
WITH_INSTALL_PORTABLE OFF
WITH_INTERNATIONAL ON
WITH_JACK ON
WITH_LIBMV ON
WITH_LZMA ON
WITH_LZO ON
WITH_MEM_JEMALLOC OFF
WITH_MOD_BOOLEAN ON
WITH_MOD_CLOTH_ELTOPO OFF
WITH_MOD_DECIMATE ON
WITH_MOD_FLUID ON
WITH_MOD_OCEANSIM ON
WITH_MOD_REMESH ON
WITH_MOD_SMOKE ON
WITH_OPENAL ON
WITH_OPENCOLLADA ON
WITH_OPENMP ON
WITH_PLAYER ON
WITH_PYTHON ON
WITH_PYTHON_INSTALL ON
WITH_PYTHON_MODULE OFF
WITH_PYTHON_SAFETY OFF
WITH_PYTHON_SECURITY OFF
WITH_RAYOPTIMIZATION ON
WITH_SDL ON
WITH_X11_XF86VMODE ON
WITH_X11_XINPUT ON
WITH_XDG_USER_DIRS OFF 
0
3

have you looked at this?

http://wiki.blender.org/index.php/Doc:2.6/Manual/Introduction/Installing_Blender/Linux (old dead link)

https://en.blender.org/index.php/Doc:2.6/Manual/Introduction/Installing_Blender/Linux (archived link)

Installing into /opt or /usr/local

You can also install Blender into /opt or /usr/local by moving the Blender directory into one of those locations. If you want to be able to run Blender from any directory you will also need to update your PATH variable. Consult your operating system documentation for the recommended method of setting your PATH.

You can purge the repo version from your system, and add the latest one you downloaded to /opt/ and update your $PATH

see How to add a directory to the PATH?

start blender, and it should appear in the launcher. Right-click the icon and select 'Keep in launcher'

4
  • 1
    note that you won't get automatic updates (like you would with a PPA) using this method.
    – amc
    Mar 11, 2012 at 6:38
  • The link is dead. Which is why answers on StackExchange should not just be links, but quote the important content. Dec 13, 2018 at 13:26
  • yes, link was dead (but linked to page with archived content), which I've updated. The instructions that were at that page ("copy the downloaded version into /opt/ and add to your PATH") were in my original answer...
    – amc
    Dec 13, 2018 at 21:51
  • Sorry, I assumed, there must have been more to the answer in the linked document. My fault. Dec 14, 2018 at 7:59
2

Just check the Blender wiki for installing on Linux.

And easiest method for installation is by PPA, just try this PPA:

sudo add-apt-repository ppa:thomas-schiex/blender
sudo apt-get update
sudo apt-get install blender

Source: askmetutorials.com

0
1
sudo snap install blender --classic

this will work if you have snap installed and is the quickest way to get it done. The classic flag allows for it to be installed as a normal Linux program instead of a snap with its own loop back device.

0

Simple steps:

  1. Download .tar.bz from official site and extract it.
  2. sudo mv /{path_to}/{Extracted folder} /opt/blender
  3. Create a symbolic link for use from the command line:

sudo ln -s /opt/blender/blender /usr/bin/blender

In Ubuntu, if you also want to add Blender to the Unity Launcher, extra steps:

  1. Create a new file: sudo blender /usr/share/applications/blender.desktop
  2. Copy the following in it:
[Desktop Entry]
Version={blender_version}
Name=Blender
GenericName=Text Editor

Exec=blender
Terminal=false
Icon=/opt/blender/icons/{path_to_preferred_icon}
Type=Application
Categories=PhotoEditor;IDE;Development
X-Ayatana-Desktop-Shortcuts=NewWindow

[NewWindow Shortcut Group]
Name=New Window
Exec=blender -n
TargetEnvironment=Unity

updated w/ @Chuck's input

You need to make sure you have a SYMBOLIC LINK to /usr/bin/blender or else you'll get the following error when you try to start Blender: Fatal Python error: Py_Initialize: unable to load the file system codec

2
  • Update the /opt/blender/ folder already has a blender.desktop file created for you. Just copy it to the /usr/share/applications folder:
    – John Doe
    Sep 26, 2019 at 16:27
  • You need to make sure you have a SYMBOLIC LINK to /usr/bin/blender or else you'll get the following error when you try to start Blender: Fatal Python error: Py_Initialize: unable to load the file system codec
    – Chuck
    Jan 25, 2022 at 18:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .