Installation of MuseScore 4 in Ubuntu 20.04 failed

• Sep 8, 2023 - 08:57

I have tried to install MuseScore 4 in Ubuntu 22.04 for days in vain.

I installed Fuse2, set the AppImage permission to be executable. Nothing worked.

Please help.

Allan


Comments

Troubleshooting anything begins with collecting info.
I would suggest to have a look at the logfile
~/.local/share/MuseScore/MuseScore4/logs
Or start the appimage from command line and read what happens.

In reply to by graffesmusic

I tries to install again and got the following message.
allan-miu@allanmiu-Lenovo-C560:~/.local/share/MuseScore/MuseScore4/logs$ ~/Downloads/MuseScore*.AppImage install
/lib/x86_64-linux-gnu/libjack.so.0
/lib/x86_64-linux-gnu/libnss3.so
/tmp/.mount_MuseScwOIxGx/AppRun: line 26: 12640 Killed "${APPDIR}/bin/mscore-portable" "$@"
allan-miu@allanmiu-Lenovo-C560:~/.local/share/MuseScore/MuseScore4/logs$

What is that means { /tmp/.mount_MuseScwOIxGx/AppRun: line 26: 12640 Killed }
Appreciate!!

In reply to by allanmiu1002

You can try to run the appimage with the check-depends option
./MuseScoreNightly-latest-master-x86_64.AppImage check-depends
/lib/x86_64-linux-gnu/libjack.so.0
/lib/x86_64-linux-gnu/libnss3.so
AppImage contains 2061 executables and 197 libraries.
Checking dependencies for executables and libraries...
...

You can also extract the appimage
./MuseScoreNightly-latest-master-x86_64.AppImage --appimage-extract
This will extract the image in a directory squashfs-root
You then can check e.g.
cd squashfs-root/bin
ldd mscore4portable

(or ldd mscoreportablenightly if you are using a nightly build)
or just run the mscoreportable executable

You can run an appimage without installing it. perhaps it is just a problem with the install option?

In reply to by graffesmusic

Thanks for your response.
Yes, I can run it without installing it. It is a kind of awkward situation.

I did what you said. Here is the error messages.

allan-miu@allanmiu-Lenovo-C560:~$ ./MuseScoreNightly-latest-master-x86_64.AppImage check-depends
/lib/x86_64-linux-gnu/libjack.so.0
/lib/x86_64-linux-gnu/libnss3.so
bash: ./MuseScoreNightly-latest-master-x86_64.AppImage: No such file or directory
bash: /lib/x86_64-linux-gnu/libjack.so.0: Permission denied
bash: /lib/x86_64-linux-gnu/libnss3.so: Permission denied

allan-miu@allanmiu-Lenovo-C560:~$ apt show ~/Downloads/MuseScore*.AppImage
E: Unsupported file /home/allan-miu/Downloads/MuseScore-3.6.2.548021370-x86_64(3).AppImage given on commandline
E: Unsupported file /home/allan-miu/Downloads/MuseScore-4.1.1.232071203-x86_64(1).AppImage given on commandline

allan-miu@allanmiu-Lenovo-C560:~$ ./MuseScoreNightly-latest-master-x86_64.AppImage check-depends
bash: ./MuseScoreNightly-latest-master-x86_64.AppImage: No such file or directory
allan-miu@allanmiu-Lenovo-C560:~$

Ideas of improvements. Thanks a lot.

In reply to by allanmiu1002

So you can run it? And the problem is just the install option?
Obviously, you don't have the MuseScoreNightly-latest-master-x86_64.AppImage on your system.
Maybe try with the appimage present on your system.
An appimage is not an Ubuntu package, the apt command is useless in this case.

You have 2 appimages on your system in the Downloads
/home/allan-miu/Downloads/MuseScore-3.6.2.548021370-x86_64(3).AppImage
/home/allan-miu/Downloads/MuseScore-4.1.1.232071203-x86_64(1).AppImage
And you want to install both of them at the same time
~/Downloads/MuseScore*.AppImage install
I would try with the real name instead of the * wildcard

Do you still have an unanswered question? Please log in first to post your question.