LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-06-2012, 08:39 AM   #1
Jagoul
Member
 
Registered: Aug 2009
Location: beirut-lebanon
Distribution: red hat enterprise 5 on my pc,and suse 11 on my laptop
Posts: 38

Rep: Reputation: 15
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

Last edited by Jagoul; 07-06-2012 at 08:41 AM.
 
Old 07-07-2012, 02:19 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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++

Last edited by John VV; 07-07-2012 at 02:20 AM.
 
Old 07-08-2012, 02:25 AM   #3
Jagoul
Member
 
Registered: Aug 2009
Location: beirut-lebanon
Distribution: red hat enterprise 5 on my pc,and suse 11 on my laptop
Posts: 38

Original Poster
Rep: Reputation: 15
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
 
Old 07-08-2012, 04:04 AM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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

Last edited by John VV; 07-08-2012 at 04:05 AM.
 
Old 07-09-2012, 02:15 PM   #5
Jagoul
Member
 
Registered: Aug 2009
Location: beirut-lebanon
Distribution: red hat enterprise 5 on my pc,and suse 11 on my laptop
Posts: 38

Original Poster
Rep: Reputation: 15
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
 
Old 07-09-2012, 02:55 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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
 
Old 07-09-2012, 07:43 PM   #7
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Redhat - g++ missing (cannot install visual studio) balajis Linux - Newbie 8 08-06-2011 02:04 AM
compatibity of redhat linux and postgresql neerajchaudhari Linux - Software 1 09-02-2005 04:34 AM
C++ PostgreSQL interface library for RedHat Linux 9 prenayan Linux - Software 1 08-19-2003 01:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration