LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-18-2005, 09:28 AM   #1
j0hn_galt
LQ Newbie
 
Registered: Jun 2005
Location: Bangalore , India
Distribution: Fedora Core 4, Suse 10.1
Posts: 27

Rep: Reputation: 15
vi for debian


how do i get vi editor for debian?

apt-get install vi doesnt seem to work
 
Old 07-18-2005, 09:31 AM   #2
fsateler
Member
 
Registered: Jul 2004
Location: Santiago, Chile
Distribution: Debian Unstable
Posts: 107

Rep: Reputation: 15
apt-get install vim

Vim is Vi IMproved, however it includes a compatibility mode with vi
 
Old 07-18-2005, 09:46 AM   #3
j0hn_galt
LQ Newbie
 
Registered: Jun 2005
Location: Bangalore , India
Distribution: Fedora Core 4, Suse 10.1
Posts: 27

Original Poster
Rep: Reputation: 15
hi fsateler
thanks for your reply...i got vi now....but now i came across another problem- the include fles

firstly,you must know that im using debian on colinux. so when i got it , the file system must have been very minimal( im not really sure, but pretty much since it dint have gcc). i installed gcc and other packages like kde. meanwhile i decided to try a c program.i tried compiling a "hello world" program using nano( before i got vi).
on compiling it the "stdio.h" header was not found. i browsed to /usr/include and it had only 3 files! namely: X11 ,initreq.h and proc.
now my questions:

are the include files stored anywhere else

if not how do i get the inlcude files.
 
Old 07-18-2005, 10:22 AM   #4
fsateler
Member
 
Registered: Jul 2004
Location: Santiago, Chile
Distribution: Debian Unstable
Posts: 107

Rep: Reputation: 15
for that you need to install libc6-dev. Note that usually when you install a package, it's development files are not installed, so you need to install them separately, installing {package-name}-dev packages.
 
Old 07-18-2005, 10:56 AM   #5
j0hn_galt
LQ Newbie
 
Registered: Jun 2005
Location: Bangalore , India
Distribution: Fedora Core 4, Suse 10.1
Posts: 27

Original Poster
Rep: Reputation: 15
thanks a lot!
 
  


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
differences between debian and debian-based distros dratix Debian 8 05-03-2008 11:05 AM
Debian Review - Debian was made for KDE vxc69 Debian 23 05-28-2007 07:56 AM
What's the difference between debian and other debian-based distro like knoppix? Akhran Debian 11 08-28-2005 06:07 PM
Progeny Debian Upgrade to Debian Unstable? mrmdls Debian 1 09-25-2003 07:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:49 AM.

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