Skip to content

Instantly share code, notes, and snippets.

@plembo
Last active January 14, 2022 22:22
Show Gist options
  • Save plembo/cb6a90d3115615cd1555657a7c91db1a to your computer and use it in GitHub Desktop.
Save plembo/cb6a90d3115615cd1555657a7c91db1a to your computer and use it in GitHub Desktop.
Install of blender binaries to user home

Installing blender binaries to $HOME

This gist follows my new pattern of installing vendor binaries to user $HOME rather than /opt or /usr/local. Installing to user home has 2 basic benefits: (1) avoids permissions issues; and (2) avoids conflicts with system software.

Here is my new practice when installing Blender:

  1. Download the latest LTS release from https://www.blender.org/download/lts/.
  2. Extract the contents to ~/.local/blender.
$ mkdir ~/.local/blender
$ tar xJf blender-x.xx.x-linux-x64.tar.xz -C ~/.local/blender --strip-components=1
  1. Create a symlink for blender under ~/.local/bin:
$ ln -s ~/.local/blender/blender ~/.local/bin/blender
  1. Setup the application shortcut:
$ cp ~/.local/blender/blender.desktop ~/.local/share/applications
  1. Put the blender product icon where the menu system can find it:
$ cp ~/.local/blender/blender.svg ~/.local/share/icons

That's it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment