日志 | 2020/4/19

1、Ubuntu安装软件提示“无法获取软件包”?

sudo apt-get update:访问源列表里的每个网址,并读取软件列表,然后保存在本地电脑
sudo apt-get upgrade:会把本地已安装的软件,与刚下载的软件列表里对应软件进行对比,如果发现已安装的软件版本太低,就会提示你更新

2、gcc:fatal error:no input files & compilation terminated?

apt-get install gcc
apt-get install vim
gcc hello.c -o hello
chomd +x hello
./hello

3、Xsehll 完美连接Win10 Linux子系统?

https://www.jianshu.com/p/9df97c22efc9

4、Ubuntu中Git的配置?

5、Vim字体的配置?

6、Makefile:描述文件的依赖关系

Makefile简易教程:https://www.cnblogs.com/owlman/p/5514724.html
make命令教程:http://www.ruanyifeng.com/blog/2015/02/make.html

  • incl:头文件
  • bin:执行码
  • lib:静态/动态库
  • $@——目标文件
  • $^——所有的依赖文件
  • $<——第一个依赖文件

7、常用Shell命令?

猜你喜欢

转载自www.cnblogs.com/dolphinmind/p/12730445.html
今日推荐