Score:1

How to install a newer version of blender than repositories without snap or flatpak?

cn flag

I'm trying to install Blender. I don't want to use snap or flatpak. I downloaded a blender tar filed and extracted it.

Trying to find out where to move this folder such that Ubuntu know about the folder. I read that /usr/local/ should be the place

enter image description here

However, after a reboot my system does not know about Blender: enter image description here

termninal says

>>> blender 
Command 'blender' not found, but can be installed with:
sudo apt install blender

Where should I put the folder? Would love your input

terdon avatar
cn flag
Why don't you want to use snap or flatpack? Or at least the repositories? That's how you "correctly" install and is much simpler and easier.
nammerkage avatar
cn flag
Hi @terdon - The snap version is running an old version (approx 3.0.0 while newest is 3.4.1). Flatpak is new but there are some issues with making blender a path variable (not sure if it's the right word, but when the program is installed the terminal does not know any blender)
user535733 avatar
cn flag
@nammerkage See `snap info blender`: The current latest/stable blender snap is 3.4.1. latest/edge is 3.6.0. Anything else means you are using a different channel, which is very easy to change.
terdon avatar
cn flag
And do you absolutely and definitely need the very latest version? Even if you cannot find a newer one in snap or the repositories, if you don't need the absolutely newest one, just go for one of those.
nammerkage avatar
cn flag
Sorry @user535733 i meant the blender form apt.. Not snap. You are right, snap is new.
nammerkage avatar
cn flag
@terdon sadly I need the newest one. Is it not possible using the downloaded file from Blender.com?
terdon avatar
cn flag
Yes, it's possible, but much harder and more complicated. So unless you know for a fact that you absolutely need a specific feature that is only present in the newest, it just isn't worth the effort. If this is what you need please [edit] your question and explain _exactly_ what you did. Simply un-tarring will not install anything. You will also probably need to compile it.
Mahler avatar
in flag
You can try 'chmod +x blender' before running it. It needs 'executable' permission.
user535733 avatar
cn flag
"Blender [3.0.1] from apt" means that you are using Ubuntu 22.04 LTS. Bolting newer software onto an older LTS release is almost always the wrong solution. It is unmaintainable and may eventually break your system. It's a common mistake. If you want to use a newer deb package, then you must run a newer release of Ubuntu (22.10 = 3.2, 23.04 will include 3.4). If you don't want to use the snap, then you are embarking upon a journey of learning.
Score:1
ru flag

I had the same problem on Ubuntu 22.10, but managed to solve it. I don't know which of the following actions worked, so I list them all:

  1. I copied the blender.desktop file that is in the Blender tar archive into the ~/.local/share/applications folder, changed the path for the executable and for the icon, and I set it as executable. This didn't launch Blender and in the right click menu there was no Allow launching option.

  2. I added the line:

    application/x-blender=blender.desktop
    

    to the /usr/share/applications/defaults.list file.

    Using a terminal:

    echo "application/x-blender=blender.desktop" | sudo tee -a /usr/share/applications/defaults.list
    

    This did not work.

  3. I copied the blender.desktop file to the desktop: here with the right click there was an Allow launching option, and it launched Blender. It was possible to add Blender to the Favourites and then I moved the blender.desktop file back to ~/.local/share/applications.

After the above, even after eliminating everything I had done, Blender remained in the favorites and is present in the Applications overview. I don't know, maybe I missed some logout or restart.

Note that since the first versions of Ubuntu, I had never installed Blender this way. I was always creating a Programs folder, unpacking the Blender tar/zip, renaming the folder as blender and creating the launcher. With this method I could always update the Blender version by simply unzipping the new zip and renaming the new folder.

With Ubuntu 22.10 it was just a bit more complicated, but it was also late at night.

Hope this can help.

Score:1
id flag

Create a link to Blender to call it since the location you have it in is not in the $PATH statement. To see your $PATH statement run echo $PATH from a terminal. The executables need to be in a directory that is in your path.

Since /usr/local/bin should be in your path you can use the following to create a link to Blender.

sudo ln -s /usr/local/blender-3.4.1-linux-x64/blender /usr/local/bin/blender
Score:1
om flag

Just open a terminal and type:

sudo apt install blender

And you'll have the latest deb version of blender.

If you want the most recent version, you should consider the snap or flatpak version.

The alternative is to manually create a shortcut to the blender executable inside that folder you've created. That will require a few more steps.

nammerkage avatar
cn flag
Didn't work, it installed the snap package instead. (Snap package is at version 3.0.1, but newest is 3.4.1). But thanks for the suggestion
jmath1983 avatar
om flag
Have you tried to do `sudo apt-mark hold snap && sudo apt update && sudo apt install blender`?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.