在进行NS3脚本编写前,Ubuntu上需要安装一个C/C++的IDE环境,这里选用VS Code来进行开发。
在Ubuntu上安装VS Code可使用Ubuntu-make来完成。Ubuntu-make的前身是Ubuntu Developer Tools Center,就是“Ubuntu开发者工具中心”。Ubuntu Developer Tools Center是在Ubuntu 14.10版本中出现的,到了15.04版本改名为Ubuntu-make了。
安装步骤
1、添加PPA源,将ubuntu-make加入apt软件仓库的列表,sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make

2、更新apt,不然会在install时找不到源 sudo apt update

3、安装ubuntu-make sudo apt install ubuntu-make

4、安装VS Code,VS Code在ide类中。在ubuntu-make中,为开发环境分了一些大类:android、crystal、dart、electronics、games、go、ide、kotlin、maven、nodejs、rust、scala、swift、web。运行命令 umake ide visual-studio-code来进行安装,安装时会让用户选择安装目录

查看相关授权信息之后,键入a选择接受便开始下载安装。


网友评论