Afanasy on Ubuntu 21.04

Installation and configuration.
Post Reply
VahMG
Posts: 4
Joined: Mon Apr 26, 2021 8:04 pm

Afanasy on Ubuntu 21.04

Post by VahMG »

Greetings.
A few days ago a new version of Ubuntu was released (21.04)
And as it turns out, our beloved Afanasy is not yet ready to work with it :)
The most likely reason is a new version of python - 3.9
Ideas how to fix it?

Maybe it makes sense in the future to include python in the installation package, as it is done in houdini or nuke?
User avatar
timurhai
Site Admin
Posts: 733
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Afanasy on Ubuntu 21.04

Post by timurhai »

Hi!

It is very easy to build Afanasy on Linux manually.
https://cgru.readthedocs.io/en/latest/i ... html#linux
You can try to do it, and ask here on some problems.

Python is much-much more bigger software than Afanasy, it will be not Afanasy with Python, it will be Python with Afanasy.
Also Linux packages (deb and rpm) idea is to install dependencies, and not to include them.
Or we should make some archive and installation executable like it is done for houdini or nuke, and it will not be a deb or rpm package.
I stand for a Linux package, not for some custom executable, as Linux packages are more native for Linux, they can be placed in some local studio repository.
But if will really need some other functionality in the future, I will think about some custom installation.

ps
Houdini and Nuke includes not only Python, and they can't include only Python. In order to have a custom Python version, compiled on some not system-native gcc, they also need to include other libraries that Python needs, and that other libraries has own dependencies too, and to on. That is why houdini and nuke distributives has size more than 1 GB.

pps
Python is not the only Afanasy library, there is also PySide and Qt. And I should know and manage all dependencies and sub-dependencies. For this, i need to hire and manage some programmers and Linux administrators.

This is why Linux packages is a much more easy and preferred way to distribute software for Linux.
And it is especially suitable for an open-source software, where people can maunally build it for any Python version.
Timur Hairulin
CGRU 3.2.0, Ubuntu 20.04 LTS, MS Windows 10 (clients only).
User avatar
timurhai
Site Admin
Posts: 733
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Afanasy on Ubuntu 21.04

Post by timurhai »

Hi!
Okay, I did it myself :D (using virtualbox).
You can upload it here:
https://sourceforge.net/projects/cgru/f ... z/download

If you will use it, please, tell something about how it works (should be fine).
Timur Hairulin
CGRU 3.2.0, Ubuntu 20.04 LTS, MS Windows 10 (clients only).
VahMG
Posts: 4
Joined: Mon Apr 26, 2021 8:04 pm

Re: Afanasy on Ubuntu 21.04

Post by VahMG »

Thank you very much, your clarifications helped )
Although the process of building from source is not at all obvious for beginners or people far from programming.
For example, I came across a nuance that my system lacks some environment variable, which may become a problem for someone. In my case, I had to modify the file "install_depends_devel.sh"

If someone needs it, I can share it, it remains only to understand how to attach bash-scripts to forum posts ))
or, before starting, type the following command: "export DISTRIBUTIVE=Ubuntu"
VahMG
Posts: 4
Joined: Mon Apr 26, 2021 8:04 pm

Re: Afanasy on Ubuntu 21.04

Post by VahMG »

timurhai wrote: Wed Apr 28, 2021 9:25 am Hi!
Okay, I did it myself :D (using virtualbox).
You can upload it here:
https://sourceforge.net/projects/cgru/f ... z/download

If you will use it, please, tell something about how it works (should be fine).
Thank you very much!
Will definitely inform you )
VahMG
Posts: 4
Joined: Mon Apr 26, 2021 8:04 pm

Re: Afanasy on Ubuntu 21.04

Post by VahMG »

so far so good )
working as always - perfect
User avatar
timurhai
Site Admin
Posts: 733
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Afanasy on Ubuntu 21.04

Post by timurhai »

Great!
btw,
I recently started to collect studios using Afanasy: https://cgru.info/#studios
You are welcome! (if you are not already there)
Timur Hairulin
CGRU 3.2.0, Ubuntu 20.04 LTS, MS Windows 10 (clients only).
Post Reply