1.卸载现有内核sudo apt purge linux-headers-* linux-headers-*-generic linux-image-*-generic linux-image-extra-*-generic linux-signed-image-*-genericReplace * with the kernel versions (for instance : 4.4.0-36) from the output of the command.例如: sudo apt purg
mac: 1.brew install go默认安装最新的,更新go也是这条命令,建议这个方法,省事 2.从官网https://golang.org/dl/下载pkg包安装,官方说1.12是最后一个支持pkg下载安装的 其他系统参考上面的官网安装介绍 test.go代码: // You can edit this code! // Click here and start typing. package main import "fmt" func main() { fmt.Print