I'm new to blender, was trying to render my project, and ran into a bug that appears to be a problem with the blender installed by
sudo apt install blender.
Fortunately, the blender website has a more recent version that doesn't have the bug, version 2.92.0. I downloaded the blender-2.92.0-linux64.tar.xz file from their website and extracted it in my home directory and you can run it right from that location. I would like to remove the Blender 2.82 (sub 7) installed by apt and make my system refer to the blender i've downloaded myself such that command line uses the new version. Right now this refers to the old version:
$ blender -v Blender 2.82 (sub 7)
So my questions are:
- to remove the old blender (and any vestige of its files), is it sufficient to just
sudo apt remove blender?
- where in my file system should I put the contents of blender-2.92.0-linux64.tar.xz? Is there a standard location for software that you install yourself?
- Are there any environment variables I need to set? Should I set these in .profile? .bashrc? Or somewhere else?
- Do I need to create any kind of symbolic link in /usr/bin directory or something like that to point to the new version of blender?
EDIT: some additional information.
Extracting the tar file yields these contents:
$ ls -l blender-2.92.0-linux64 total 238960 drwxrwxr-x 5 jaith jaith 4096 Apr 14 19:56 2.92 -rwxr-xr-x 1 jaith jaith 244635248 Feb 25 01:33 blender -rw-r--r-- 1 jaith jaith 5589 Jan 13 08:40 blender.desktop -rwxr-xr-x 1 jaith jaith 713 Jan 13 08:40 blender-softwaregl -rw-r--r-- 1 jaith jaith 1732 Jan 13 08:40 blender.svg -rw-r--r-- 1 jaith jaith 3874 Jan 13 08:40 blender-symbolic.svg -rwxr-xr-x 1 jaith jaith 5340 Jan 13 08:40 blender-thumbnailer.py -rw-r--r-- 1 jaith jaith 4765 Jan 13 08:40 copyright.txt drwxrwxr-x 2 jaith jaith 4096 Apr 14 19:56 lib drwxrwxr-x 2 jaith jaith 4096 Apr 14 19:56 license -rw-r--r-- 1 jaith jaith 5200 Feb 25 01:31 readme.html
There's the blender executable, the blender.desktop file, with these two entries of special interest because they have no path whatsoever:
Exec=blender %f Icon=blender
I believe a proper installation should not require any changes to PATH so I think the answer to my question #3 should probably be NO. Path on my machine is currently:
$ echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
which does not include
EDIT 2: I would add that the information in the readme.html file that comes with Blender is especially unhelpful:
INSTALLATION Linux: Unpack the archive, then run the Blender executable.
The linux install instructions on the Blender site also look rather unorthodox and incomplete as well.