LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Install visual C# and postgreSQL on redhat linux server 5 (https://www.linuxquestions.org/questions/linux-software-2/install-visual-c-and-postgresql-on-redhat-linux-server-5-a-4175415232/)

Jagoul 07-06-2012 08:39 AM

Install visual C# and postgreSQL on redhat linux server 5
 
dear all
i have just installed rhel 5
and i want to install visual c# on it with a good database application such postgreSQL or my sql
how can i do that to make the application run well with the database ,please give me steps
thanks in advance

John VV 07-07-2012 02:19 AM

you want to install Microsofts VisualC# ( that would be the "MS visual studio.net" ?

if so , you do not

now if it is the Linux PORT of the c# and the "MS dot net framework" that is called mono

seeing as this is RHEL 5 ? what ( RHEL5.8 is the current in the older 5 series )
It is not a free operating system and requires a paid for support contract

contact your red hat support rep ( you bought the license you might as well use it )
http://www.redhat.com/support/customer-portal.html
also with the paid for license you get access to the knowledge-base
search for "mono"
https://access.redhat.com/knowledge/search
( you will need to log in to the red hat eb site to use it )

try this
Code:

su -
yum search mono
----- if it is listed -----
yum install mono

however you will find all kind of software issues with running MS's c-sharp on linux
it requires the MS dot net framework port ( mono)
and it is YEARS behind windows in versions and support

you might want to port all that c# code into standard c++

Jagoul 07-08-2012 02:25 AM

thanks John for your help
i went to mono-project web site and i didn't find a version for red hat
also in customer-portal at red hat web site there is nothing much for c# development
they prefer Java as a cross-platform language
my goal is to install something like Microsoft visual C# and link it to a Database such as MySql or postgreSql
to start developing my application ,
can you keep on guiding me ?
thanks again for your precious time

John VV 07-08-2012 04:04 AM

Quote:

my goal is to install something like Microsoft visual C#
then you might want to install the current "Microsoft dot net framework" on a windows server
and not on a Linux server

the c# ( c- sharp) language is a Microsoft created language
for use on Microsoft operating systems

If you MUST use RHEL5 then port the c# code to c++

but seeing as RHEL5 is NOT a free OS you did by the required license ??
the std 1 year for $299 PER year is the recommended

type in mono into the "knowledge base" search after you log in to the red hat web site
https://access.redhat.com/knowledge/search


however SELD is a bit of a better choice for mono
Microsoft HELPS novell with it

Jagoul 07-09-2012 02:15 PM

i must download microsoft visual c# equivalent on red hat enterprise linux 5
and i need an advice about a database server too
so i can't change the operating system
thanks in advance

John VV 07-09-2012 02:55 PM

see above
Ask your paid for tech support
( for a server the standard 1 year support contract is $799 USD PER year every year)

you ARE paying red hat from $349 to $8600 so you might want to use the tech support you bought

mysql is standard on RHEL

MS's C# requires the Microsoft " dot net framework " to be installed
On Linux that is the MONO port
but it is many versions BEHIND windows
so C# that is for current Microsoft ".net " might NOT even be able to run on MONO
it depends on the code

chrism01 07-09-2012 07:43 PM

Quote:

i must download microsoft visual c# equivalent
In that case, use the default RHEL compiler gcc which includes C++ functionality.

C# is a MS only tool which they refuse to port to Linux (like all their stuff).

If you REALLY have to use C# instead of C++, you'll either
1. use mono, but see warnings above
2. use Wine, but that's an MS env inside/on top of RHEL and is not talking to RHEL env as such.

Basically, (imho) forget C# and use the gcc instead.
Install using the yum cmd eg
Code:

yum install gcc


All times are GMT -5. The time now is 03:28 PM.