我在使用Debian的虚拟主机上,它有一个过时的单声道版本。我没有sudo权限。我已经使用./configure --prefix = $ HOME。
将更新版本编译到我的主目录中如何使用已编译的版本运行程序?
答案 0 :(得分:1)
With a prefix of $HOME and assuming you have done a 'make install', add mono's bin dir to your path and test to see you are are picking up the correct/newer one:
export PATH=${HOME}/bin:${PATH}
which mono
At that point, you can:
mono yourprogram.exe
Note: Instead of using your home directory as the prefix, you might want to install to a sub-directory to keep all those mono sub-dirs separate from your other HOME directories; i.e. Use --prefix=$HOME/mono when you autogen/configure mono.