当前位置:   article > 正文

安装Ubuntu18.04后配置安卓11环境_fdtget: command not found

fdtget: command not found

1、安装“ifconfig”,sudo apt install net-tools

  1. @-virtual-machine:~$ ifconfig
  2. Command 'ifconfig' not found, but can be installed with:
  3. sudo apt install net-tools
  4. @-virtual-machine:~$ sudo apt install net-tools
  5. [sudo] password for linfangfang:
  6. Reading package lists... Done
  7. Building dependency tree
  8. Reading state information... Done
  9. The following packages were automatically installed and are no longer required:
  10. python3-click python3-colorama
  11. Use 'sudo apt autoremove' to remove them.
  12. The following NEW packages will be installed:
  13. net-tools
  14. 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
  15. Need to get 194 kB of archives.
  16. After this operation, 803 kB of additional disk space will be used.
  17. Get:1 http://cn.archive.ubuntu.com/ubuntu bionic/main amd64 net-tools amd64 1.60+git20161116.90da8a0-1ubuntu1 [194 kB]
  18. Fetched 194 kB in 2s (81.2 kB/s)
  19. Selecting previously unselected package net-tools.
  20. (Reading database ... 163792 files and directories currently installed.)
  21. Preparing to unpack .../net-tools_1.60+git20161116.90da8a0-1ubuntu1_amd64.deb ...
  22. Unpacking net-tools (1.60+git20161116.90da8a0-1ubuntu1) ...
  23. Setting up net-tools (1.60+git20161116.90da8a0-1ubuntu1) ...
  24. Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
  25. linfangfang@linfangfang-virtual-machine:~$ ifconfig
  26. ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
  27. inet 10.11.1.168 netmask 255.255.255.0 broadcast 10.11.1.255
  28. inet6 fe80::42a4:f376:8226:2969 prefixlen 64 scopeid 0x20<link>
  29. ether 00:0c:29:f1:e9:07 txqueuelen 1000 (Ethernet)
  30. RX packets 9141 bytes 4451845 (4.4 MB)
  31. RX errors 0 dropped 0 overruns 0 frame 0
  32. TX packets 1829 bytes 157924 (157.9 KB)
  33. TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

 2、安装SSH服务

  1. sudo apt install openssh-server
    开启ssh服务 sudo service ssh start
  2. sudo apt install openssh-client
  3. 使用secureCRTCRT连接 

3、安装Samba

 1、  sudo apt-get install samba samba-commo

  2、增加samba用户名和密码:sudo smbpasswd -a XXXX

xxx@xxxx-virtual-machine:~$ sudo smbpasswd -a xxxx
New SMB password:
Retype new SMB password:
Added user xxxx.
xxxx@xxxx-virtual-machine:~$

3、共享需要文件夹 sudo vi /etc/samba/smb.conf   

[share]
comment = share folder
browseable = yes
path = /home/xxxx         ==>可以是新创建的路径
create mask = 0700
directory mask = 0700
valid users = xxxx
force user = xxxx
force group = xxxx
public = yes
available = yes
writable = yes
 

4、开启samba服务:sudo service smbd restart

5、sudo apt-get install openjdk-8-jre

    xxxx@xxxx-virtual-machine:/usr/lib/jvm$ java -version
openjdk version "1.8.0_292"
OpenJDK Runtime Environment (build 1.8.0_292-8u292-b10-0ubuntu1~18.04-b10)
OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)

6、安装git :sudo apt-get install git

7、make: command not found

    sudo apt-get install  make

8、No python 'pyelftools', please: pip install pyelftools

   sudo apt-get install python

  sudo apt-get install python-pip

  sudo pip install pyelftools

9、line 589: fdtget: command not found

    sudo apt-get install device-tree-compiler

 【centos】  yum install dtc

10、/bin/sh: 1: bison: not found

sudo apt-get install bison

11、/bin/sh: 1: flex: not found

sudo apt-get install flex

12、fatal error: openssl/bio.h: No such file or directory

sudo apt-get install libssl-dev

13、

sudo apt-get install git bc bison build-essential curl flex g++-multilib
gcc-multilib \
gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev
liblz4-tool libncurses5-dev \
libsdl1.2-dev libssl-dev libwxgtk3.0-dev libxml2 libxml2-utils lzop pngcrush
rsync schedtool \
squashfs-tools xsltproc yasm zip zlib1g-dev

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Monodyee/article/detail/497561
推荐阅读
相关标签
  

闽ICP备14008679号