1、yum install libjpeg-devel gcc gcc-c++ zlib-devel bzip2-devel openssl-devel xz-libs
2、下载python最新版2.7.10解压缩后进行安装
```
tar -zxvf Python-2.7.10.tgz
cd Python-2.7.10/
./configure --prefix=/usr/local
make all
make install
make clean
make distclean继续阅读 »
We create an empty console project first:
```bash
$ xmake create -P ./hello
create hello ...
create ok!👌
```
And xmake will generate some files:
```bash
$ cd ./hello
$ tree .
.
├── src
│ └── main.c
└── xmake.lua
```
It is a simple console program only for printing hello xmake!
```bash
$ cat ./src/main.c
incl继续阅读 »
Install on windows
Download xmake source codes
Enter the source code directory
Run install.bat
Select the installed directory and enter into this directory
Please wait some mintues
Install from source codes on linux and macosx
bash
$ git clone git@github.com:waruqi/xmake.git
$ cd ./xmake
$ sudo ./install
Install us继续阅读 »