LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   programming packages in sarge (http://www.linuxquestions.org/questions/debian-26/programming-packages-in-sarge-215025/)

levicc00123 08-08-2004 12:38 PM

programming packages in sarge
 
I'm looking to program on Sarge, what packages do I need in order to program in C/C++, python, ruby, perl, and java?

sterrenkijker 08-09-2004 05:34 PM

You need gcc, the c compiler, g++, the c++ compiler, a good editor ;), I think libc6-dev.

For java I used the java SDK from sun (which you can download for free), but there is also a GNU-java compiler: gjc or gcj or something.

You may need some development-packages (*-dev).

Python, Ruby and Pearl: I don't know, no experience.

I have probably forgotten something, I'm really not an expert on this, but maybe this will help a bit.

Corien

funkydan2 08-09-2004 06:49 PM

Odds are that many of the packages you need for programming - particularly C/C++, python and Perl are already installed on your system.

A good way to check would be to write some "Hello World" programs and check that they compile/run.

So for perl ...

--------------------------------------------------
$vim helloworld.pl

#!/usr/bin/perl

print "Hello World\n";

--------------------------------------------------
and then "$perl helloworld.pl" (or chmod 755 helloworld.pl then ./helloworld.pl)

you dig?

sterrenkijker 08-10-2004 01:12 AM

Take a good look at the errormessages: if there are missing files, go to http://www.debian.org/distrib/packages. You can find packages here on their content, so maybe you can find the package you need.

I had the same problem, and actually solved it by installing just about everything that seemed necessary, so now I don't know what I actually needed exactly.


All times are GMT -5. The time now is 07:22 PM.