Skip to main content
added 155 characters in body
Source Link
PGmath
  • 25.3k
  • 17
  • 106
  • 202

A quick wayThis is a script to quickly install/update blenderBlender to the latest daily build. Note that these builds are likely to be somewhat unstable and buggy but will provide the newest updates available.

mv blender* previous_blender
blender_beta=head
blender_alpha=tail
xz=https://builder.blender.org$(wget -O - https://builder.blender.org/download/ | \
  grep -io '<a href=['"'"'"][^"'"'"']*['"'"'"]' | \
  sed -e 's/^<a href=["'"'"']//i' -e 's/["'"'"']$//i' | \
  grep linux64 | \
  $blender_beta -n 1)
echo $xz
wget $xz
tar xf blender*.tar.xz
rm blender*.tar.xz
mv blender* blender
cat blender/blender.desktop \
  | sed -e 's@^\(Icon=\)\(.*\)@\1'"$PWD/blender/"'\2.svg@' \
  | sed -e 's@^\(Exec=\)\(.*\)@\1'"$PWD/blender/"'\2@' \
  > $HOME/.local/share/applications/blender.desktop
update-desktop-database $HOME/.local/share/applications/

A quick way to install/update blender.

mv blender* previous_blender
blender_beta=head
blender_alpha=tail
xz=https://builder.blender.org$(wget -O - https://builder.blender.org/download/ | \
  grep -io '<a href=['"'"'"][^"'"'"']*['"'"'"]' | \
  sed -e 's/^<a href=["'"'"']//i' -e 's/["'"'"']$//i' | \
  grep linux64 | \
  $blender_beta -n 1)
echo $xz
wget $xz
tar xf blender*.tar.xz
rm blender*.tar.xz
mv blender* blender
cat blender/blender.desktop \
  | sed -e 's@^\(Icon=\)\(.*\)@\1'"$PWD/blender/"'\2.svg@' \
  | sed -e 's@^\(Exec=\)\(.*\)@\1'"$PWD/blender/"'\2@' \
  > $HOME/.local/share/applications/blender.desktop
update-desktop-database $HOME/.local/share/applications/

This is a script to quickly install/update Blender to the latest daily build. Note that these builds are likely to be somewhat unstable and buggy but will provide the newest updates available.

mv blender* previous_blender
blender_beta=head
blender_alpha=tail
xz=https://builder.blender.org$(wget -O - https://builder.blender.org/download/ | \
  grep -io '<a href=['"'"'"][^"'"'"']*['"'"'"]' | \
  sed -e 's/^<a href=["'"'"']//i' -e 's/["'"'"']$//i' | \
  grep linux64 | \
  $blender_beta -n 1)
echo $xz
wget $xz
tar xf blender*.tar.xz
rm blender*.tar.xz
mv blender* blender
cat blender/blender.desktop \
  | sed -e 's@^\(Icon=\)\(.*\)@\1'"$PWD/blender/"'\2.svg@' \
  | sed -e 's@^\(Exec=\)\(.*\)@\1'"$PWD/blender/"'\2@' \
  > $HOME/.local/share/applications/blender.desktop
update-desktop-database $HOME/.local/share/applications/
deleted 3 characters in body
Source Link

A quick way to install/update blender.

mv blender* previous_blender
blender_stable=headblender_beta=head
blender_daily=tailblender_alpha=tail
xz=https://builder.blender.org$(wget -O - https://builder.blender.org/download/ | \
  grep -io '<a href=['"'"'"][^"'"'"']*['"'"'"]' | \
  sed -e 's/^<a href=["'"'"']//i' -e 's/["'"'"']$//i' | \
  grep linux64 | \
  $blender_daily$blender_beta -n 1)
echo $xz
wget $xz
tar xf blender*.tar.xz
rm blender*.tar.xz
mv blender* blender
cat blender/blender.desktop \
  | sed -e 's@^\(Icon=\)\(.*\)@\1'"$PWD/blender/"'\2.svg@' \
  | sed -e 's@^\(Exec=\)\(.*\)@\1'"$PWD/blender/"'\2@' \
  > $HOME/.local/share/applications/blender.desktop
update-desktop-database $HOME/.local/share/applications/

A quick way to install/update blender.

mv blender* previous_blender
blender_stable=head
blender_daily=tail
xz=https://builder.blender.org$(wget -O - https://builder.blender.org/download/ | \
  grep -io '<a href=['"'"'"][^"'"'"']*['"'"'"]' | \
  sed -e 's/^<a href=["'"'"']//i' -e 's/["'"'"']$//i' | \
  grep linux64 | \
  $blender_daily -n 1)
echo $xz
wget $xz
tar xf blender*.tar.xz
rm blender*.tar.xz
mv blender* blender
cat blender/blender.desktop \
  | sed -e 's@^\(Icon=\)\(.*\)@\1'"$PWD/blender/"'\2.svg@' \
  | sed -e 's@^\(Exec=\)\(.*\)@\1'"$PWD/blender/"'\2@' \
  > $HOME/.local/share/applications/blender.desktop
update-desktop-database $HOME/.local/share/applications/

A quick way to install/update blender.

mv blender* previous_blender
blender_beta=head
blender_alpha=tail
xz=https://builder.blender.org$(wget -O - https://builder.blender.org/download/ | \
  grep -io '<a href=['"'"'"][^"'"'"']*['"'"'"]' | \
  sed -e 's/^<a href=["'"'"']//i' -e 's/["'"'"']$//i' | \
  grep linux64 | \
  $blender_beta -n 1)
echo $xz
wget $xz
tar xf blender*.tar.xz
rm blender*.tar.xz
mv blender* blender
cat blender/blender.desktop \
  | sed -e 's@^\(Icon=\)\(.*\)@\1'"$PWD/blender/"'\2.svg@' \
  | sed -e 's@^\(Exec=\)\(.*\)@\1'"$PWD/blender/"'\2@' \
  > $HOME/.local/share/applications/blender.desktop
update-desktop-database $HOME/.local/share/applications/
Source Link

A quick way to install/update blender.

mv blender* previous_blender
blender_stable=head
blender_daily=tail
xz=https://builder.blender.org$(wget -O - https://builder.blender.org/download/ | \
  grep -io '<a href=['"'"'"][^"'"'"']*['"'"'"]' | \
  sed -e 's/^<a href=["'"'"']//i' -e 's/["'"'"']$//i' | \
  grep linux64 | \
  $blender_daily -n 1)
echo $xz
wget $xz
tar xf blender*.tar.xz
rm blender*.tar.xz
mv blender* blender
cat blender/blender.desktop \
  | sed -e 's@^\(Icon=\)\(.*\)@\1'"$PWD/blender/"'\2.svg@' \
  | sed -e 's@^\(Exec=\)\(.*\)@\1'"$PWD/blender/"'\2@' \
  > $HOME/.local/share/applications/blender.desktop
update-desktop-database $HOME/.local/share/applications/