How to fix installer file while installing
-
Ubuntu 18 .404.3 LTS Bionic Beaver
I am installing Qt5.13.0 with the *.run file. During installation it threw this error:
"Error while extracting archive "installer://qt.tools.qtcreator/4.9.1-0qtcreator.7z": Cannot open file "/usr/share/qt5/Qt5.13.0/Tools/QtCreator/share/qtcreator/qml/qmlpuppet/commands/statepreviewimagechangedcommand.h" for writing: Permission denied"
As far as I can see the problem file is within the *.run archive. Has anybody else had this error and what solution did you find?
Regards,
Hedley -
Don't install to
/usr
, install locally ($HOME
) for your local users. This way you won't have permission troubles and won't pollute your OS with many Qt installations.If you still want to install to
/usr
, then - are you running the installer with root permissions? -
@hfinger said in How to fix installer file while installing:
@sierdzio Do you mean something like
/home/.qt5/
? (This is Ubuntu.) Or something like/home/myhome/.qt5/
? Note sure what you mean by local directory. I am a newbie.I usually install to
/home/username/qt
.