使用者工具

網站工具


os:linux:centos_-_install_gcc

差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

Both sides previous revision 前次修改
os:linux:centos_-_install_gcc [2017/10/20 12:20]
eddie
os:linux:centos_-_install_gcc [2018/09/19 11:50] (目前版本)
eddie
行 1: 行 1:
 +====== Install Development Tools in Linux (GNU GCC Compiler and others) ======
 +===== Introduction =====
 +If you plan to use your computer to develop software, or simply install software from sources, you will need some basic tools like:
 +
 +gcc\\
 +c++\\
 +make\\
 +others\\
 +
 +These tools are installed in different ways, depending your Linux distribution,​ here I will cover Fedora, Debian and derivatives (like Ubuntu or Mint) and Arch Linux.
 +
 +===== Fedora =====
 +
 +  sudo yum update
 +
 +  sudo yum groupinstall "​Development Tools" "​Legacy Software Development"​
 +
 +===== Debian / Ubuntu / Debian derivatives =====
 +
 +  sudo apt-get update
 +
 +  sudo apt-get install build-essential
 +
 +===== Arch Linux =====
 +
 +  sudo pacman -Sy base-devel
 +
 +You now have the needed tools to compile software in your Linux box.
 +
 +You can verify the version of packages you have with:
 +
 +  gcc -v
 +
 +and
 +
 +  make -v
 +
 +====== 其他來源 ======
 <code bash> <code bash>
 yum -y install gcc yum -y install gcc
行 19: 行 57:
  
   # yum group install "​Development Tools" ​   # yum group install "​Development Tools" ​
-  ​+ 
 +====== For Ubuntu 18.04 ====== 
 +To install development tools, run: 
 +  sudo apt-get install build-essential 
 + 
 +Any other tools can be installed with: 
 +  sudo apt-get install tool-name
os/linux/centos_-_install_gcc.txt · 上一次變更: 2018/09/19 11:50 由 eddie