Results 1 to 10 of 21
I've recently installed ubuntu linux on my pc (not dual booting),
but have discovered a few hiccups.
First of all, I need a decent text editor including all necessary libraries
...
- 04-14-2008 #1Just Joined!
- Join Date
- Apr 2008
- Posts
- 14
C programming and text editor, Ubuntu
I've recently installed ubuntu linux on my pc (not dual booting),
but have discovered a few hiccups.
First of all, I need a decent text editor including all necessary libraries
to code in c... any suggestions. I'm using the latest version of ubuntu
- 04-14-2008 #2
Install the "build-essential" package first to get GCC:
As far as text editors go, are you just looking to edit text or do you want a whole integrated development environment (IDE) that will let you compile and run from inside the program?Code:sudo apt-get install build-essential
If you just want text literally any program will work. Nano, Gedit, emacs, vi, and any number of other text editors. If you want an IDE, you can try one of these:
Code::Blocks
Eclipse
Anjuta
KDevelopRegistered Linux user #270181
TechieMoe's Tech Rants
- 04-14-2008 #3Just Joined!
- Join Date
- Apr 2008
- Posts
- 14
I'm looking at an IDE. tried to install Kate, but got a nasty error: "System has dependency problems try "sudo apt-get install -f" to fix this."
tried it, and then it started to remove some useful aps, and then i stopped it
- 04-14-2008 #4Just Joined!
- Join Date
- Apr 2008
- Posts
- 14
and now all i get is "dpkg was interupted. you must manually run dpkg --configure -a to fix." which tells me in turn that i have to be a superuser to do this...
Homer says: dope!!
- 04-14-2008 #5
If you installed regular Ubuntu, the reason you couldn't install Kate is that Ubuntu uses the GNOME desktop by default, and Kate is a KDE application. In order to install Kate you also have to install all the KDE libraries, graphics, etc. It's overkill for a text editor. If you just want a plain text editor (with the option of syntax highlighting) the "Text Editor" app in your Accessories menu is more than adequate.
Registered Linux user #270181
TechieMoe's Tech Rants
- 04-14-2008 #6Just Joined!
- Join Date
- Apr 2008
- Posts
- 14
okay, i tried that after i installed build essential, but i don't think i have all the libraries installed... any suggestions on that aspect?
- 04-14-2008 #7Registered Linux user #270181
TechieMoe's Tech Rants
- 04-14-2008 #8Just Joined!
- Join Date
- Apr 2008
- Posts
- 14
gcc hello.c
:stdio.h No such file or directory
- 04-14-2008 #9Just Joined!
- Join Date
- Apr 2008
- Posts
- 14
well, after compiling a c file,
i get a error message saying
:stdio.h " No such folder or directory"
- 04-14-2008 #10
Can you post your C code?
Registered Linux user #270181
TechieMoe's Tech Rants


Reply With Quote
