Linux script to update your Blender Build

Automagically grabs you a new Blender build from your Bash command line.
This is for experienced Linux Users Only…

Visit my sourceforge.net page if this would be of benifit to you.
http://bashupdateblender.sourceforge.net


too complex… you can complete it if you are building it yourself with three commands
git pull (updates your local files with remote files)
make -j8 (compiles the sourcecode)
make install (installs the binary to the correct location)

imgspice.com/d5lx3q1twbtn/sekk.jpg.html ____________

Hi @doublebishop, could you explain to commands, please? I’m interesting…

pretty much if you are building blender yourself you dont have to wait for the buildbot… once its all setup, very quick & easy to rebuild and keep up to date.

This should get your started some what – http://wiki.blender.org/index.php/Dev:Doc/Building_Blender/Linux

Thks a lot doublebishop, I run to read right away…

To update the source, calling make update should do the trick. It will call git pull --rebase (to update the repository and rebase any commit you’ve made on top of the update) and then git submodule foreach git pull --rebase origin master (to update and rebase the UI scripts, addons, translations, etc…). After that simply calling make should build and install Blender.

Nevertheless @@etoven, your script is good for people who don’t feel like building, but it could be smarter e.g: find the architecture of the host machine and present the user a choice of build (between master and gooseberry) to download.

I wrote a similar script in the past, if you want to see, here I leave the link (in python): https://github.com/zebus3d/LastBlenderDownloader

since we share custom scripts, i present my personal script to update blender:
file: blenderGitUpdate
http://www.pasteall.org/55744/bash

it ask you for what you want do like:
-change branch
-import/remove branch
-git update
-show the logs (full, or since last update)
-cmake with UI (if you want cuda bulid enable WITH_CYCLES_CUDABINARIES and you should change the CYCLES_CUDA_BINARIES_ARCH to your card architecture to speed up the compile)
-reboot to terminal without X for make(since compiling cuda needs 9 gigs of vram)
-reboot to X

it’s customized for my settings(git PATH: ~/blender-git/blender, blender alias blenderGit) and is not created for general use.
it’s tested only with Arch Linux
you should run once


cd ~/blender-git/blender
git submodule update --init --recursive
git submodule foreach git checkout master
git submodule foreach git pull --rebase origin master



to initialize the blender git before run my script.

Im not sure I follow. This is a single command or just double click if you perfer and no git or night of madness with cmake required at all.

I made a script out of my three commands which i just double click, usually recompiles blender within a minute. usually much faster then downloading a binary.

Just for the record: The initial script will only get you the i686 version of Blender, which may not be the one you want. You’re better off using another way to update Blender.

Please read the config options in the script. That is not true.

BTW: git pull and recompile binary can up to 45min. I know because I do both. While downloading a graphicall build takes minutes.

Sorry, you’re right. The top image is a bit misleading, though…