Installation on Ubuntu 21.04


i was trying to install Klayout in Ubuntu 21.04, I faced quite some problem in installing it using the .deb file in the download section of the file.
This is do to some missing dependencies that have been removed in the public repositories ? in particular the Qt5 and the libpython3.8 .
I managed to solve the problem installing manually the Qt5 dependencies and I was left with the libpython3.8 that I have no idea of how to solve since the library is already installed but is the 3.9 version that comes as default with the distro.

I then proceeded to manually compile the files, even there i faced quite few dependencies problems coming from some qtxml ... library.

The final solution was to install the software using a simple " sudo apt install klayout".
The software got installed but at the running moment a warning was displayed regarding a Wayland related problem and the software didn't run.
I then logout and log in using gnome on xorg.
Now the software works fine, but I have to use the xorg environment.

Did someone experience similar issues with the installation ? hope my description can help someone with the same problem. Would be also interesting to know what is missing in the new ubuntu that causes so much trouble


  • I would like to see, somewhere in the release collateral,
    a complete list of all packages required (with version)
    or better yet, some "pull scripts" that would ensure that
    the dependencies are all in place or make it so. Like
    apt for Ubuntu, rpm for RHEL, ??? Rather than waiting
    for compile-fail and wading through the barf, why not
    get in front of it?

    Some of these distributions are too fast-revving to
    rely on, and some users (like me) are not really good
    at compiling if anything anomalous happens. Such
    as some distro-monger deciding you should be on a
    different version, without asking.

Sign In or Register to comment.