I have installed both Mupen64Plus-Qt and M64Py straight from the ubuntu store.
For m64Py it says library for Mupen Plus 64 not found, i dont know where to find the library file.
i have found this but i dont know how to download it https://github.com/mupen64plus/mupen64plus-core
***/usr/local/bin/mupen64plus --nosaveoptions --datadir /usr/local/share/mupen64plus --plugindir /usr/local/lib/mupen64plus --noosd --windowed "/home/ahmad/Downloads/emus/Legend of Zelda, The - Ocarina of Time (U) (V1.2) [!].z64"
http://code.google.com/p/mupen64plus/
Mupen64Plus Console User-Interface Version 1.99.1
UI-console: attached to core library 'Mupen64Plus Core' version 2.5.0
Includes support for Dynamic Recompiler.
Includes support for MIPS r4300 Debugger.
Core Error: CoreStartup(): Front-end (API version 1.0.0) is incompatible with this core (API 2.1.1)
UI-console: error starting Mupen64Plus core library.***