Installing the GNU C compiler and GNU C++ compiler
To install the gcc and g++ compilers, open a terminal. Enter the following command, and remember to make sure you are either connected to the internet or have your Ubuntu Installation CD in the CD drive when using apt-get.
sudo apt-get install build-essential
This will also install GNU make
Installing the GNU Java compiler
Note that GNU's Java compiler is not the same as the one developed and distributed by Sun Microsystems, and will not provide Java to the firefox browser. For that, please see Java. To install gcj, the GNU Java compiler, open a terminal and enter the following command.
sudo apt-get install gcj
To install the GNU Java bytecode interpreter, run the following in your terminal
sudo apt-get install gij
Installing the GNU Fortran compilers
To install the GNU Fortran 77 compiler - g77 - open a terminal and enter the following command.
sudo apt-get install g77
To install the GNU Fortran 95 compiler - gfortran - the command is
sudo apt-get install gfortran
Installing the GNU autotools
To install autoconf and automake, open a terminal and run the following command.
sudo apt-get install autoconf automaken
Apt-get will tell you to explicitly choose a version of automake. If, for example, you decide to use automake1.9, run the following.
sudo apt-get install autoconf automake1.9
https://wiki.ubuntu.com/InstallingCompilers
InstallingCompilers
- oneleaf
- 论坛管理员
- 帖子: 10441
- 注册时间: 2005-03-27 0:06
- 系统: Ubuntu 12.04
InstallingCompilers
当净其意如虚空,远离妄想及诸取,令心所向皆无碍
- yonsan
- 帖子: 887
- 注册时间: 2005-07-01 18:56
- 来自: 广州市
Installing the GNU C compiler and GNU C++ compiler
安装GNU C及GNU C++编译器
To install the gcc and g++ compilers, open a terminal. Enter the following command, and remember to make sure you are either connected to the internet or have your Ubuntu Installation CD in the CD drive when using apt-get.
(你想要)安装gcc 与 g++编译器(的话), 打开一个终端(窗口).输入以下命令,并且使用apt-get前确保你已经连接上因特网或者光驱中有Ubuntu安装光盘.
sudo apt-get install build-essential
This will also install GNU make
Installing the GNU Java compiler
(执行以上这条命令)除了会安装GNU make工具之外还会安装GNU Java编译器
Note that GNU's Java compiler is not the same as the one developed and distributed by Sun Microsystems, and will not provide Java to the firefox browser. For that, please see Java. To install gcj, the GNU Java compiler, open a terminal and enter the following command.
注意GNU的java编译器与由Sun Microsystems开发与发布的Java编译器是不同的!并且没有为firefox 浏览器提供java支持.因此,请留心java.想安装gcj,即GNU java编译器,打开一个终端窗口并且输入以下命令.
sudo apt-get install gcj
To install the GNU Java bytecode interpreter, run the following in your terminal
安装GNU Java 字节编码解释程序,在你的终端中运行以下命令
sudo apt-get install gij
Installing the GNU Fortran compilers
安装GNU Fortran编译器
To install the GNU Fortran 77 compiler - g77 - open a terminal and enter the following command.
想安装GNU Fortran 77编译器 - g77, (你可以)打开一个终端窗口并且轮船入以下命令
sudo apt-get install g77
To install the GNU Fortran 95 compiler - gfortran - the command is
想安装GNU Fortran 95编译器 - gfortran,输入以下命令
sudo apt-get install gfortran
Installing the GNU autotools
安装GNU autotools
To install autoconf and automake, open a terminal and run the
following command.
想安装autoconf 和 automake,打开一个终端窗口并运行以下命令
sudo apt-get install autoconf automaken
Apt-get will tell you to explicitly choose a version of automake. If, for example, you decide to use automake1.9, run the following.
Apt-get将会明确地告诉你选择具体的automake版本,例如,你决定使用automake1.9的话,运行以下命令
sudo apt-get install autoconf automake1.9
参考网址:
https://wiki.ubuntu.com/InstallingCompilers
安装GNU C及GNU C++编译器
To install the gcc and g++ compilers, open a terminal. Enter the following command, and remember to make sure you are either connected to the internet or have your Ubuntu Installation CD in the CD drive when using apt-get.
(你想要)安装gcc 与 g++编译器(的话), 打开一个终端(窗口).输入以下命令,并且使用apt-get前确保你已经连接上因特网或者光驱中有Ubuntu安装光盘.
sudo apt-get install build-essential
This will also install GNU make
Installing the GNU Java compiler
(执行以上这条命令)除了会安装GNU make工具之外还会安装GNU Java编译器
Note that GNU's Java compiler is not the same as the one developed and distributed by Sun Microsystems, and will not provide Java to the firefox browser. For that, please see Java. To install gcj, the GNU Java compiler, open a terminal and enter the following command.
注意GNU的java编译器与由Sun Microsystems开发与发布的Java编译器是不同的!并且没有为firefox 浏览器提供java支持.因此,请留心java.想安装gcj,即GNU java编译器,打开一个终端窗口并且输入以下命令.
sudo apt-get install gcj
To install the GNU Java bytecode interpreter, run the following in your terminal
安装GNU Java 字节编码解释程序,在你的终端中运行以下命令
sudo apt-get install gij
Installing the GNU Fortran compilers
安装GNU Fortran编译器
To install the GNU Fortran 77 compiler - g77 - open a terminal and enter the following command.
想安装GNU Fortran 77编译器 - g77, (你可以)打开一个终端窗口并且轮船入以下命令
sudo apt-get install g77
To install the GNU Fortran 95 compiler - gfortran - the command is
想安装GNU Fortran 95编译器 - gfortran,输入以下命令
sudo apt-get install gfortran
Installing the GNU autotools
安装GNU autotools
To install autoconf and automake, open a terminal and run the
following command.
想安装autoconf 和 automake,打开一个终端窗口并运行以下命令
sudo apt-get install autoconf automaken
Apt-get will tell you to explicitly choose a version of automake. If, for example, you decide to use automake1.9, run the following.
Apt-get将会明确地告诉你选择具体的automake版本,例如,你决定使用automake1.9的话,运行以下命令
sudo apt-get install autoconf automake1.9
参考网址:
https://wiki.ubuntu.com/InstallingCompilers
I will be back!
- oneleaf
- 论坛管理员
- 帖子: 10441
- 注册时间: 2005-03-27 0:06
- 系统: Ubuntu 12.04
- millenniumdark
- 论坛版主
- 帖子: 4159
- 注册时间: 2005-07-02 14:41
- 系统: Ubuntu 14.04 (Kylin)
- 联系: