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.
sudo yum update
sudo yum groupinstall "Development Tools" "Legacy Software Development"
sudo apt-get update
sudo apt-get install build-essential
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
yum -y install gcc yum -y install gcc-c++ yum install make #-- 或者 yum groupinstall "Development Tools" #-- 或者 yum install gcc gcc-c++ kernel-devel
Command to list groups on a CentOS / RHEL 7
# yum group list
# yum group install "Development Tools"
To install development tools, run:
sudo apt-get install build-essential
Any other tools can be installed with:
sudo apt-get install tool-name