1.安装ubuntu 16.04
sudo apt-get update
sudo apt-get upgrade
2.安装eclipse
sudo apt-get install eclipse
sudo apt-get install eclipse-pde
sudo apt-get install eclipse-jet
sudo apt-get install eclipse
sudo apt-get install eclipse-pde
sudo apt-get install eclipse-jet
然后我们安装c/c++支持,打开Eclipse,在Help,Install New Software,点workwith后面的Add来添加,
Name:CDT
Location:http://download.eclipse.org/tools/cdt/releases/indigo
然后再work with中选中新加的CDT,等待刷新之后,选择第一个CDT Main Features,一路Next就好了
安装完成后重启Eclipse,就可以新建C++ project了
P.S.如果发现C++工程一堆莫名其妙的错误那么说明没有安装合适的c++编译器,ubuntu自带的gcc编译器是不能编译c++的,我们需要安装g++:
sudo apt-get install g++
之后重启Eclipse就可以了正常编译了
2.安装mysql支持
$sudo apt-get install mysql-server
$sudo apt-get install mysql-client
//$ sudo yum install mysql-devel -y //RHEL,Centos,Fedora
$ sudo apt-get install libmysqlclient-dev -y //Ubuntu
如果已经安装成功了,找到mysql.h的文件路径,-I 编译即可
$ sudo find /usr/ -name ‘mysql.h’
$ gcc -I/usr/include/mysql …
sudo apt install libmysql++-dev
http://blog.csdn.net/linrulei11/article/details/7298834
4.安装python
5.FileZilla
6.MonoDevelop
7.安装freetds
下载freetds : http://www.inhhh.com/download/freetds-stable.0.91.tgz
解压 : tar zxvf freetds-stable.0.91.tgz
cd freetds0.91
chmod +x ./configure
sudo ./configure –prefix=/usr/local/freetds–with-tdsver=8.0–enable-msdblib
sudo make
sudo make install
cd /usr/local/freetds0.91/etc/freetds.conf
sudo chmod -x freetds.conf
sudo vi /etc/ld.so.conf
加入一行:
/usr/local/freetds/lib
然后运行以下指令使更改生效:
ldconfig