Forum

Author Topic: Couldn't install Metashape on Linux (Debian 10)  (Read 5254 times)

MF Drone

  • Newbie
  • *
  • Posts: 2
    • View Profile
Couldn't install Metashape on Linux (Debian 10)
« on: March 08, 2021, 04:08:57 PM »
Hello all,

I tried to install metashape on a VPS on linux (Debian 10). I tried either with Mate or xfce4 and always get this error message (see attached) : "Could not load the qt platform plugin xcb". I get this error even being in root

Any idea about this error ? Couldn't find many about it on the forums...

I tried to install or reinstall some Qt things out there : https://doc.qt.io/qt-5/linux-requirements.html but it didn't make any difference.


More informations :

The VPS is a cloud-based instance (OVH) that I run though Remote Desktop with XRDP and X11.


Thanks a lot for your help...

Yann




Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15600
    • View Profile
Re: Couldn't install Metashape on Linux (Debian 10)
« Reply #1 on: March 09, 2021, 04:41:59 PM »
Hello Yann,

Please provide the output of the following command executed without sudo:
Code: [Select]
QT_DEBUG_PLUGINS=1 ./metashape.shIn case the output contains any sensible information, send the output to support@agisoft.com.
Best regards,
Alexey Pasumansky,
Agisoft LLC

MF Drone

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Couldn't install Metashape on Linux (Debian 10)
« Reply #2 on: March 12, 2021, 06:18:15 PM »
Hello,

I finally made it working by doing this after downloading the archive (just replace mfdrone by your username) :

sudo su
cd /home/mfdrone/Downloads/
tar zxvf metashape-pro_1_7_1_amd64.tar.gz
chown -R mfdrone:mfdrone metashape-pro
apt install qtcreator -y
apt install build-essential -y
apt install qt5-default -y
apt install qt5-doc qt5-doc-html qtbase5-doc-html qtbase5-examples -y