在Linux中设置编程环境

时间:2022-05-14 12:45:45

I recently started using Linux as my primary OS. What are the tools that I will need to set up a complete programming environment in Linux for C and C++?

我最近开始使用Linux作为我的主要操作系统。在Linux中为C和c++建立一个完整的编程环境需要哪些工具?

16 个解决方案

#1


21  

Standard stuff:

标准的东西:

  • The compiler tools, gcc, gdb, etc.
  • 编译工具、gcc、gdb等。
  • Some sort of editor/IDE (emacs, vim, eclipse)
  • 某种编辑器/IDE (emacs、vim、eclipse)
  • Profiling tools
  • 分析工具
  • Source Control (SubVersion, git, etc)
  • 源代码控制(SubVersion, git等)
  • Language specific tools, like easy_install for python (you said C/C++, but the same goes for everything)
  • 语言特定的工具,比如python的easy_install(你说过C/ c++,但是所有的东西都一样)
  • A web server maybe? Apache, Lighttpd, nginx
  • 也许一个web服务器?Apache Lighttpd,nginx
  • Any libraries you'll be using. Are you doing kernal hacking? Driver development? opengl?
  • 您将使用的任何库。你在做kernal黑客吗?驱动程序开发?opengl吗?

#2


6  

Among others you should also have gprof and valgrind ( or something in it's class ).

在其他课程中,你还应该有gprof和valgrind(或者是课堂上的东西)。

#3


5  

Vi (or emacs), gcc , make
Tradiationally unix development is more commandline than ide. There are very good IDEs, the main ones are probably eclipse and kdevelop

gcc(或emacs)使传统的unix开发比ide更适合命令行。有很好的ide,主要的可能是eclipse和kdevelop

#4


3  

It depends on your definition of "Complete programming environment", and whether you are using C, C++, or both (C/C++ is an awful term that shouldn't be used. Either it's C, or C++).

这取决于您对“完整编程环境”的定义,以及您是使用C、c++还是两者都使用(C/ c++是一个不应该使用的糟糕术语。要么是C,要么是c++。

If you are looking for an IDE, Eclipse/CDT is the most highly-recommended one from my experience (I don't actually use any IDE, so I can't offer first-hand advice).

如果您正在寻找IDE, Eclipse/CDT是我的经验中最值得推荐的(实际上我不使用任何IDE,所以我不能提供第一手的建议)。

If you can cope with command-line control (and in the end I find it makes things easier to do and doesn't take a whole lot of getting used to), a simple text editor with highlighting will suffice. I prefer KATE (part of KDE), as it features a built-in terminal as well as many features you would expect from an editor inside an IDE, like code folding and regex search/replace.

如果您能够处理命令行控制(并且在最后我发现它使事情更容易做,并且不需要花费大量的时间去适应),一个简单的文本编辑器就足够了。我更喜欢KATE (KDE的一部分),因为它具有内置的终端,以及许多您希望在IDE中使用编辑器的特性,比如代码折叠和regex搜索/替换。

Many people also recommend Vim or Emacs, both of which are probably available through your distro's repositories. (Eclipse is probably available too, but in my experience the CDT is confusing to install via packages. YMMV). They are both ancient editors; and there is a powerful holy war between the two, so I won't get involved.

许多人还推荐Vim或Emacs,它们都可能通过您的发行版的存储库获得。(Eclipse可能也可用,但以我的经验,通过包安装CDT会让人感到困惑。YMMV)。他们都是古代的编辑;这两者之间有一场强大的圣战,所以我不会介入。

Your compiler should probably be GCC - on a Debian system, installing the g++ package as well as build-essential should be enough to get C++ going (build-essential should contain the gcc package required for C development). Whatever your distro, GCC is probably easily available or else already on your system.

您的编译器应该是GCC -在Debian系统上,安装g++包和build-essential应该足以让c++运行(build-essential应该包含C开发所需的GCC包)。无论您的发行版是什么,GCC都很容易获得,或者您的系统上已经有了其他的GCC。

#5


3  

Seconding swilliams, I'd say the basics are:

其次是swilliams,我想说的是:

  • an editor or IDE (I use vim),
  • 编辑器或IDE(我使用vim),
  • a compiler (almost certainly gcc)
  • 编译器(几乎可以肯定是gcc)
  • make, or maybe some other similar tool like ant if you want
  • 制作,或者其他类似的工具,比如ant
  • a debugger (almost certainly gdb)
  • 调试器(几乎肯定是gdb)
  • source control (I use subversion)
  • 源代码控制(我使用subversion)
  • Standard unix utilities like grep and diff, but you have those already
  • 标准的unix实用程序,如grep和diff,但是您已经有了它们

Other than that, I'd say install as you go. Linux is more about little utilities that each do one thing than monolithic development environments that do everything. So if you find yourself needing something, you can always just install it, be that thing a memory profiler, a documentation generator, a bigger/smaller/more different editor, et cetera, et cetera.

除此之外,我建议您在运行时进行安装。Linux更多的是一些小工具,每个工具只做一件事,而不是做所有事情的单片开发环境。如果你发现自己需要什么东西,你可以安装它,不管是内存分析器,文档生成器,大的/小的/不同的编辑器,等等。

#6


2  

What distribution are you running?

你在运行什么发行版?

In Ubuntu or any Debian based distribution you can issue the following command to install all the necessary tools.

在Ubuntu或任何基于Debian的发行版中,您可以发出以下命令来安装所有必要的工具。

sudo apt-get install build-essential

From there you can install your SCM solution of choice and an IDE if you prefer or just use your favorite text editor.

从那里,您可以安装您选择的SCM解决方案和IDE(如果您喜欢的话),或者使用您最喜欢的文本编辑器。

#7


1  

The simplest of answers is an editor (take your pick - at least one is already on there) and gcc/g++.

最简单的答案是编辑器(您可以选择——至少有一个已经在那里)和gcc/g+。

If you want an IDE, there are a slew of questions related to that on SO :) (including this one C++ IDE for Linux?).

如果您想要一个IDE,那么有很多与SO:)相关的问题(包括Linux的c++ IDE ?)

#8


1  

Kdevelop is a well regarded and well written IDE for Linux, installing it should get you every other tool you might want to develop with installed as well and and IDE to go with it.

Kdevelop是一个很好的Linux编写的IDE,安装它应该可以为您提供您想要开发的所有其他工具,以及与之配套的IDE。

By "every other tool" I mean gcc, grep, diff, autoconf et al should be grabbed by the package manager and installed at the same time, but I could be wrong. I don't have a standard distro on hand to test that with.

我说的“其他所有工具”是指gcc、grep、diff、autoconf等应该被包管理器捕获并同时安装,但我可能是错的。我手头没有标准的发行版来测试它。

Personally, I use vim, but I have used kdevelop in the past.

就我个人而言,我使用vim,但我过去使用过kdevelop。

vim/vi is handy because you know that some form of vi is always available on every unix platform.

vim/vi非常方便,因为您知道在每个unix平台上都可以使用某种形式的vi。

  • I have to correct my post. I just looked at the package requirements for kdevelop on ubuntu... it does NOT appear to require gcc and install it automatically
  • 我得更正我的帖子。我刚刚看了kdevelop在ubuntu上的包需求……它似乎不需要gcc并自动安装它

#9


1  

If you want something very easy to use, with ability to import visual studio projects, and a feel much like VS, give Codeblocks a try. Its quick ( since its not Java based ) and in general works well.

如果你想要一些很容易使用的东西,有导入visual studio项目的能力,并且感觉很像VS,那就试试Codeblocks。它的quick(因为它不是基于Java的)和总体上运行良好。

#10


1  

Another great utility that you can use are *nix man pages. Each function in the C library has an associated man page.

您可以使用的另一个很棒的实用程序是*nix手册页。C库中的每个函数都有一个关联的手册页。

For example:

例如:

man printf

printf的男人

man strncpy

男人strncpy

...

#11


0  

I took an old windows laptop with a dead hard drive and replaced the hard drive then installed Ubuntu (linux / debian all in one handy release) on it. I had to burn the ubuntu installation files onto a cd first on another working computer.

我拿了一台旧的windows笔记本电脑,用一个死硬的硬盘代替硬盘,然后在上面安装了Ubuntu (linux / debian)。我必须首先在另一台工作的计算机上将ubuntu安装文件刻录到光盘上。

Here's where I got my linux from (complete with desktop gui, very easy to install, lots of programs to use, it was my first linux but not my first unix):

这里是我的linux(完整的桌面gui,非常容易安装,有很多程序可以使用,这是我的第一个linux,但不是我的第一个unix):

http://www.ubuntu.com/getubuntu/download

http://www.ubuntu.com/getubuntu/download

Then i installed Netbeans for my integrated development environment (IDE) altough I am using it for java -- but it comes with c++ support as shown below:

然后我为我的集成开发环境(IDE)安装了Netbeans,尽管我在java中使用它——但它附带c++支持,如下所示:

http://www.netbeans.org/features/cpp/

http://www.netbeans.org/features/cpp/

I also installed mySql, you didn't ask, but that is another key component that completes my development environment.

我也安装了mySql,你没问,但那是另一个完成我的开发环境的关键组件。

Good luck to you.

祝你好运。

#12


0  

On most distros, everything you need will be installed by default (very few don't include gcc, they all include some kind of editor). I generally do my development in Vim (or gVim, which is the graphical version -- the best of both worlds). For those times when I'm feeling the need for a "real" IDE, Eclipse with the Vim plugin is really nice. It's almost like working in Vim, except you get the Eclipse stuff -- again, best of both worlds. The Vim plugin for Eclipse that I'm using is not free, however :( I believe there is a free one, but the last time I tried it, it wasn't very good.

在大多数发行版中,您需要的所有内容都将默认安装(很少有不包括gcc的,它们都包含某种编辑器)。我通常在Vim(或gVim,这是图形化版本——这是两个世界中最好的)中进行开发。当我觉得需要一个“真正的”IDE时,使用Vim插件的Eclipse是非常好的。这就像在Vim中工作一样,除了您得到Eclipse的东西——同样,这是最好的。我所使用的Eclipse的Vim插件并不是免费的(我相信有一个免费的,但是我上次尝试的时候,它不是很好)。

#13


0  

Personally I use Ubuntu w/ Eclipse CDT. Eclipse is what most people might think of as a Java IDE, but CDT is a set of extensions that really tune it for C/C++ development. It's smart enough to figure out what toolset to use (MacOSX GCC vs Linux GCC, for example).

我个人使用Ubuntu w/ Eclipse CDT。Eclipse可能是大多数人认为的Java IDE,但是CDT是一组扩展,它真正地为C/ c++开发调优。它足够聪明,可以知道使用什么工具集(例如MacOSX GCC和Linux GCC)。

Eclipse CDT Website

Eclipse CDT网站

For best results, currently the 6.0 JRE for Ubuntu seems to have problems with recent Eclipse versions, so what I did was remove the 6.0 JRE and run:

为了获得最好的结果,目前Ubuntu的6.0 JRE在最近的Eclipse版本中似乎有问题,所以我删除了6.0 JRE并运行:

apt-get install build-essential sun-java5-jre sun-java5-bin

安装——安装——基本sun-java5-jre sun-java5-bin

Then grab the latest Eclipse from the website, unpack it in a directory.

然后从网站上获取最新的Eclipse,将其解压到一个目录中。

As a final touch, edit the eclipse.ini file that comes with Eclipse and add this line to it:

最后,编辑eclipse。Eclipse附带的ini文件,并在其中添加这一行:

-XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith

- xx:CompileCommand =排除,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith

This will further stabilize the app, making it as rocksolid as Windows or Mac.

这将进一步稳定应用程序,使它像Windows或Mac一样坚固。

If you prefer commandline tools over GUI tools, some ones I use regularly:

如果您更喜欢命令行工具而不是GUI工具,我经常使用的一些工具:

  • CMake -- Portable build tool. It's easy to use and can output a variety of formats like Makefiles or Visual Studio files.
  • CMake——可移植的构建工具。它易于使用,并且可以输出各种格式,如makefile或Visual Studio文件。

apt-get install cmake

apt-get安装cmake

  • Vim -- VI improved, if you want a text editor with some bells and whistles. Otherwise, just use 'nano', which comes with Ubuntu.
  • Vim——VI得到了改进,如果你想要一个带有一些附加功能的文本编辑器。否则,只需要使用“nano”,就可以使用Ubuntu了。

apt-get install vim

apt-get安装vim

#14


0  

Twe options, you must make your decision now and never look back, or risk being burned at the stake:

我们的选择是,你必须现在就做决定,不要回头看,否则你将面临被烧死的危险:

a. Emacs b. vi(m)

一个Emacs b . vi(m)。

Do not listen to any rational arguments before choosting... listen to the light inside yourself...

在选择之前,不要听任何理性的观点。倾听你内心的光芒……

#15


0  

Install a lot of bell a whistles for the editor you choose, vi is usable but no fun. vim is fun, but vim with extras is great.

为您选择的编辑器安装大量的bell哨子,vi是可用的,但没有乐趣。vim很有趣,但是附加的vim很棒。

(And the same is true for Emacs even if that means installing tetris and a doctor ;-) )

(对Emacs也是如此,即使这意味着安装俄罗斯方块和医生;-)

/Johan

/约翰

#16


0  

Two must haves are guake and pithos. I cant see how any one can have a list of dev tools without these.

两个必须要的东西是双生和双生。如果没有这些,我看不出任何开发工具的列表。

#1


21  

Standard stuff:

标准的东西:

  • The compiler tools, gcc, gdb, etc.
  • 编译工具、gcc、gdb等。
  • Some sort of editor/IDE (emacs, vim, eclipse)
  • 某种编辑器/IDE (emacs、vim、eclipse)
  • Profiling tools
  • 分析工具
  • Source Control (SubVersion, git, etc)
  • 源代码控制(SubVersion, git等)
  • Language specific tools, like easy_install for python (you said C/C++, but the same goes for everything)
  • 语言特定的工具,比如python的easy_install(你说过C/ c++,但是所有的东西都一样)
  • A web server maybe? Apache, Lighttpd, nginx
  • 也许一个web服务器?Apache Lighttpd,nginx
  • Any libraries you'll be using. Are you doing kernal hacking? Driver development? opengl?
  • 您将使用的任何库。你在做kernal黑客吗?驱动程序开发?opengl吗?

#2


6  

Among others you should also have gprof and valgrind ( or something in it's class ).

在其他课程中,你还应该有gprof和valgrind(或者是课堂上的东西)。

#3


5  

Vi (or emacs), gcc , make
Tradiationally unix development is more commandline than ide. There are very good IDEs, the main ones are probably eclipse and kdevelop

gcc(或emacs)使传统的unix开发比ide更适合命令行。有很好的ide,主要的可能是eclipse和kdevelop

#4


3  

It depends on your definition of "Complete programming environment", and whether you are using C, C++, or both (C/C++ is an awful term that shouldn't be used. Either it's C, or C++).

这取决于您对“完整编程环境”的定义,以及您是使用C、c++还是两者都使用(C/ c++是一个不应该使用的糟糕术语。要么是C,要么是c++。

If you are looking for an IDE, Eclipse/CDT is the most highly-recommended one from my experience (I don't actually use any IDE, so I can't offer first-hand advice).

如果您正在寻找IDE, Eclipse/CDT是我的经验中最值得推荐的(实际上我不使用任何IDE,所以我不能提供第一手的建议)。

If you can cope with command-line control (and in the end I find it makes things easier to do and doesn't take a whole lot of getting used to), a simple text editor with highlighting will suffice. I prefer KATE (part of KDE), as it features a built-in terminal as well as many features you would expect from an editor inside an IDE, like code folding and regex search/replace.

如果您能够处理命令行控制(并且在最后我发现它使事情更容易做,并且不需要花费大量的时间去适应),一个简单的文本编辑器就足够了。我更喜欢KATE (KDE的一部分),因为它具有内置的终端,以及许多您希望在IDE中使用编辑器的特性,比如代码折叠和regex搜索/替换。

Many people also recommend Vim or Emacs, both of which are probably available through your distro's repositories. (Eclipse is probably available too, but in my experience the CDT is confusing to install via packages. YMMV). They are both ancient editors; and there is a powerful holy war between the two, so I won't get involved.

许多人还推荐Vim或Emacs,它们都可能通过您的发行版的存储库获得。(Eclipse可能也可用,但以我的经验,通过包安装CDT会让人感到困惑。YMMV)。他们都是古代的编辑;这两者之间有一场强大的圣战,所以我不会介入。

Your compiler should probably be GCC - on a Debian system, installing the g++ package as well as build-essential should be enough to get C++ going (build-essential should contain the gcc package required for C development). Whatever your distro, GCC is probably easily available or else already on your system.

您的编译器应该是GCC -在Debian系统上,安装g++包和build-essential应该足以让c++运行(build-essential应该包含C开发所需的GCC包)。无论您的发行版是什么,GCC都很容易获得,或者您的系统上已经有了其他的GCC。

#5


3  

Seconding swilliams, I'd say the basics are:

其次是swilliams,我想说的是:

  • an editor or IDE (I use vim),
  • 编辑器或IDE(我使用vim),
  • a compiler (almost certainly gcc)
  • 编译器(几乎可以肯定是gcc)
  • make, or maybe some other similar tool like ant if you want
  • 制作,或者其他类似的工具,比如ant
  • a debugger (almost certainly gdb)
  • 调试器(几乎肯定是gdb)
  • source control (I use subversion)
  • 源代码控制(我使用subversion)
  • Standard unix utilities like grep and diff, but you have those already
  • 标准的unix实用程序,如grep和diff,但是您已经有了它们

Other than that, I'd say install as you go. Linux is more about little utilities that each do one thing than monolithic development environments that do everything. So if you find yourself needing something, you can always just install it, be that thing a memory profiler, a documentation generator, a bigger/smaller/more different editor, et cetera, et cetera.

除此之外,我建议您在运行时进行安装。Linux更多的是一些小工具,每个工具只做一件事,而不是做所有事情的单片开发环境。如果你发现自己需要什么东西,你可以安装它,不管是内存分析器,文档生成器,大的/小的/不同的编辑器,等等。

#6


2  

What distribution are you running?

你在运行什么发行版?

In Ubuntu or any Debian based distribution you can issue the following command to install all the necessary tools.

在Ubuntu或任何基于Debian的发行版中,您可以发出以下命令来安装所有必要的工具。

sudo apt-get install build-essential

From there you can install your SCM solution of choice and an IDE if you prefer or just use your favorite text editor.

从那里,您可以安装您选择的SCM解决方案和IDE(如果您喜欢的话),或者使用您最喜欢的文本编辑器。

#7


1  

The simplest of answers is an editor (take your pick - at least one is already on there) and gcc/g++.

最简单的答案是编辑器(您可以选择——至少有一个已经在那里)和gcc/g+。

If you want an IDE, there are a slew of questions related to that on SO :) (including this one C++ IDE for Linux?).

如果您想要一个IDE,那么有很多与SO:)相关的问题(包括Linux的c++ IDE ?)

#8


1  

Kdevelop is a well regarded and well written IDE for Linux, installing it should get you every other tool you might want to develop with installed as well and and IDE to go with it.

Kdevelop是一个很好的Linux编写的IDE,安装它应该可以为您提供您想要开发的所有其他工具,以及与之配套的IDE。

By "every other tool" I mean gcc, grep, diff, autoconf et al should be grabbed by the package manager and installed at the same time, but I could be wrong. I don't have a standard distro on hand to test that with.

我说的“其他所有工具”是指gcc、grep、diff、autoconf等应该被包管理器捕获并同时安装,但我可能是错的。我手头没有标准的发行版来测试它。

Personally, I use vim, but I have used kdevelop in the past.

就我个人而言,我使用vim,但我过去使用过kdevelop。

vim/vi is handy because you know that some form of vi is always available on every unix platform.

vim/vi非常方便,因为您知道在每个unix平台上都可以使用某种形式的vi。

  • I have to correct my post. I just looked at the package requirements for kdevelop on ubuntu... it does NOT appear to require gcc and install it automatically
  • 我得更正我的帖子。我刚刚看了kdevelop在ubuntu上的包需求……它似乎不需要gcc并自动安装它

#9


1  

If you want something very easy to use, with ability to import visual studio projects, and a feel much like VS, give Codeblocks a try. Its quick ( since its not Java based ) and in general works well.

如果你想要一些很容易使用的东西,有导入visual studio项目的能力,并且感觉很像VS,那就试试Codeblocks。它的quick(因为它不是基于Java的)和总体上运行良好。

#10


1  

Another great utility that you can use are *nix man pages. Each function in the C library has an associated man page.

您可以使用的另一个很棒的实用程序是*nix手册页。C库中的每个函数都有一个关联的手册页。

For example:

例如:

man printf

printf的男人

man strncpy

男人strncpy

...

#11


0  

I took an old windows laptop with a dead hard drive and replaced the hard drive then installed Ubuntu (linux / debian all in one handy release) on it. I had to burn the ubuntu installation files onto a cd first on another working computer.

我拿了一台旧的windows笔记本电脑,用一个死硬的硬盘代替硬盘,然后在上面安装了Ubuntu (linux / debian)。我必须首先在另一台工作的计算机上将ubuntu安装文件刻录到光盘上。

Here's where I got my linux from (complete with desktop gui, very easy to install, lots of programs to use, it was my first linux but not my first unix):

这里是我的linux(完整的桌面gui,非常容易安装,有很多程序可以使用,这是我的第一个linux,但不是我的第一个unix):

http://www.ubuntu.com/getubuntu/download

http://www.ubuntu.com/getubuntu/download

Then i installed Netbeans for my integrated development environment (IDE) altough I am using it for java -- but it comes with c++ support as shown below:

然后我为我的集成开发环境(IDE)安装了Netbeans,尽管我在java中使用它——但它附带c++支持,如下所示:

http://www.netbeans.org/features/cpp/

http://www.netbeans.org/features/cpp/

I also installed mySql, you didn't ask, but that is another key component that completes my development environment.

我也安装了mySql,你没问,但那是另一个完成我的开发环境的关键组件。

Good luck to you.

祝你好运。

#12


0  

On most distros, everything you need will be installed by default (very few don't include gcc, they all include some kind of editor). I generally do my development in Vim (or gVim, which is the graphical version -- the best of both worlds). For those times when I'm feeling the need for a "real" IDE, Eclipse with the Vim plugin is really nice. It's almost like working in Vim, except you get the Eclipse stuff -- again, best of both worlds. The Vim plugin for Eclipse that I'm using is not free, however :( I believe there is a free one, but the last time I tried it, it wasn't very good.

在大多数发行版中,您需要的所有内容都将默认安装(很少有不包括gcc的,它们都包含某种编辑器)。我通常在Vim(或gVim,这是图形化版本——这是两个世界中最好的)中进行开发。当我觉得需要一个“真正的”IDE时,使用Vim插件的Eclipse是非常好的。这就像在Vim中工作一样,除了您得到Eclipse的东西——同样,这是最好的。我所使用的Eclipse的Vim插件并不是免费的(我相信有一个免费的,但是我上次尝试的时候,它不是很好)。

#13


0  

Personally I use Ubuntu w/ Eclipse CDT. Eclipse is what most people might think of as a Java IDE, but CDT is a set of extensions that really tune it for C/C++ development. It's smart enough to figure out what toolset to use (MacOSX GCC vs Linux GCC, for example).

我个人使用Ubuntu w/ Eclipse CDT。Eclipse可能是大多数人认为的Java IDE,但是CDT是一组扩展,它真正地为C/ c++开发调优。它足够聪明,可以知道使用什么工具集(例如MacOSX GCC和Linux GCC)。

Eclipse CDT Website

Eclipse CDT网站

For best results, currently the 6.0 JRE for Ubuntu seems to have problems with recent Eclipse versions, so what I did was remove the 6.0 JRE and run:

为了获得最好的结果,目前Ubuntu的6.0 JRE在最近的Eclipse版本中似乎有问题,所以我删除了6.0 JRE并运行:

apt-get install build-essential sun-java5-jre sun-java5-bin

安装——安装——基本sun-java5-jre sun-java5-bin

Then grab the latest Eclipse from the website, unpack it in a directory.

然后从网站上获取最新的Eclipse,将其解压到一个目录中。

As a final touch, edit the eclipse.ini file that comes with Eclipse and add this line to it:

最后,编辑eclipse。Eclipse附带的ini文件,并在其中添加这一行:

-XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith

- xx:CompileCommand =排除,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith

This will further stabilize the app, making it as rocksolid as Windows or Mac.

这将进一步稳定应用程序,使它像Windows或Mac一样坚固。

If you prefer commandline tools over GUI tools, some ones I use regularly:

如果您更喜欢命令行工具而不是GUI工具,我经常使用的一些工具:

  • CMake -- Portable build tool. It's easy to use and can output a variety of formats like Makefiles or Visual Studio files.
  • CMake——可移植的构建工具。它易于使用,并且可以输出各种格式,如makefile或Visual Studio文件。

apt-get install cmake

apt-get安装cmake

  • Vim -- VI improved, if you want a text editor with some bells and whistles. Otherwise, just use 'nano', which comes with Ubuntu.
  • Vim——VI得到了改进,如果你想要一个带有一些附加功能的文本编辑器。否则,只需要使用“nano”,就可以使用Ubuntu了。

apt-get install vim

apt-get安装vim

#14


0  

Twe options, you must make your decision now and never look back, or risk being burned at the stake:

我们的选择是,你必须现在就做决定,不要回头看,否则你将面临被烧死的危险:

a. Emacs b. vi(m)

一个Emacs b . vi(m)。

Do not listen to any rational arguments before choosting... listen to the light inside yourself...

在选择之前,不要听任何理性的观点。倾听你内心的光芒……

#15


0  

Install a lot of bell a whistles for the editor you choose, vi is usable but no fun. vim is fun, but vim with extras is great.

为您选择的编辑器安装大量的bell哨子,vi是可用的,但没有乐趣。vim很有趣,但是附加的vim很棒。

(And the same is true for Emacs even if that means installing tetris and a doctor ;-) )

(对Emacs也是如此,即使这意味着安装俄罗斯方块和医生;-)

/Johan

/约翰

#16


0  

Two must haves are guake and pithos. I cant see how any one can have a list of dev tools without these.

两个必须要的东西是双生和双生。如果没有这些,我看不出任何开发工具的列表。