-
Notifications
You must be signed in to change notification settings - Fork 65
/
Copy pathcaiss-linux-env.sh
executable file
·31 lines (24 loc) · 1.43 KB
/
caiss-linux-env.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#**************************************************************
# @author Chunel
# @Name caiss-linux-env.sh
# @date 2020/11/15 1:25 上午
# @Desc Caiss在linux上运行需要安装的环境集合
#**************************************************************/
echo -e "\033[32m ************************************************************** \033[0m"
echo -e "\033[32m [caiss] begin to update environment, please always enter [Y] if needed. \033[0m"
apt-get update # 更新软件列表
apt-get upgrade # 更新软件
echo -e "\033[32m [caiss] begin to install [git], please enter [Y] if needed. \033[0m"
apt-get install git
echo -e "\033[32m [caiss] begin to install [cmake], please enter [Y] if needed. \033[0m"
apt-get install cmake
echo -e "\033[32m [caiss] begin to install [g++], please enter [Y] if needed. \033[0m"
apt-get install g++
echo -e "\033[32m [caiss] begin to install [boost], please enter [Y] if needed. \033[0m"
apt-get install libboost-dev # 安装boost库
echo -e "\033[32m [caiss] begin to install [eigen3], please enter [Y] if needed. \033[0m"
apt-get install libeigen3-dev # 安装eigen3
cp -r /usr/include/eigen3/Eigen/ /usr/local/include/
echo -e "\033[32m [caiss] congratulation! U have been finished install environment all Caiss needed on Linux. \033[0m"
echo -e "\033[32m [caiss] please go on as README described. \033[0m"
echo -e "\033[32m ************************************************************** \033[0m"