瀏覽代碼

安装基本软件,和repo解压

xuxinyi 1 年之前
父節點
當前提交
22b00835f9
共有 1 個文件被更改,包括 26 次插入1 次删除
  1. 26 1
      开发笔记.md

+ 26 - 1
开发笔记.md

@@ -22,4 +22,29 @@
     PermitRootLogin prohibit-password 找到这个,去掉前面的#,proht...改为yes
 
     重启ssh
-    sudo systemctl restart ssh
+    sudo systemctl restart ssh
+
+4.换源
+    sudo vim /etc/apt/sources.list
+    将里面内容填入该文件中
+    {
+        deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
+        deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
+        deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
+        deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
+        deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
+    }
+
+4.开发环境搭建
+ sudo apt install gawk wget git diffstat unzip 
+ sudo apt install texinfo gcc-multilib build-essential chrpath socat 
+ sudo apt install libsdl1.2-dev xterm ncurses-dev lzop libelf-dev make
+
+
+ 5.泰山派sdk
+    解压出来的.repo包执行下面命令
+    .repo/repo/repo sync -l -j88
+    如果报错:/usr/bin/env: ‘python’: No such file or director
+    apt-get install repo
+
+