[Mono-list] Problem in installing Mono - Redhat 4 or 5

Ian Norton ian.norton-badrul at thales-esecurity.com
Wed Mar 9 06:32:16 EST 2011


On Wed, Mar 09, 2011 at 11:28:59AM +0000, ce.hossam wrote:
> Hi All,
> I have a problem in installing mono on Redhat 4 or 5
> 
> I downloaded these packages and installed it using rpm -i command :
> 
> mono-addon-core-2.10.1-6.1.x86_64.rpm
> mono-addon-data-2.10.1-6.1.x86_64.rpm
> mono-addon-data-sqlite-2.10.1-6.1.x86_64.rpm
> mono-addon-winforms-2.10.1-6.1.x86_64.rpm
> mono-addon-web-2.10.1-6.1.x86_64.rpm
> mono-addon-extras-2.10.1-6.1.x86_64.rpm
> mono-addon-locale-extras-2.10.1-6.1.x86_64.rpm
> mono-addon-libgdiplus0-2.10-6.2.x86_64.rpm
> 
> and they are installed successfully
> 
> after that I tried to execute a "exe" file it gives me :
> cannot execute binary file !!

can you do this?:

$ mono myprogram.exe

If that doesnt work, what does the following produce?

$ file myprogram.exe

> I think it is a configration problem as when i tried to erase these rpms
> using the command
> 
> rpm -e mono-addon-core-2.10.1-6.1.x86_64.rpm

try:

$ rpm -e mono-addon-core-2

rpm -e wants a package name, not a filename.

Regards

Ian


More information about the Mono-list mailing list