调试程序

程序调试 #

安装调试工具+开启远程 #

  • 需重启sshd
apt install -y apt-file | apt-file update
echo "X11UseLocalhost no" >> /etc/ssh/sshd_config

Apt使用 #

#apt-file -h
list|show          <pattern>        List files in packages
search|find        <pattern>        Search files in packages
update                              Fetch Contents files from apt-sources.
#apt install --print-uris tree  #显示下载链接
'http://mirrors.tuna.tsinghua.edu.cn/debian/pool/main/t/tree/tree_2.1.0-1_amd64.deb' tree_2.1.0-1_amd64.deb 52464 MD5Sum:a12f30705b94d891f14bd5199fe6f4f2