0
点赞
收藏
分享

微信扫一扫

Golang Copy()方法学习

Gaaidou 03-05 19:30 阅读 2

C

yum install gcc -y			#安装gcc编译器
gcc --version				#验证环境

gcc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4)
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

C++

yum install g++ -y			#安装g++编译器
g++ --version				#验证环境

g++ (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4)
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Go

Go语言环境本地yum源不自带,需要将软件包导入

tar -C /usr/local -zxvf go1.20.5.linux-arm64.tar.gz		#解压缩go到/usr/local
vim /etc/profile		#编辑环境变量

#添加
export PATH=$PATH:/usr/local/go/bin
go version			#验证环境

go version go1.20.5 linux/arm64

 

 

举报

相关推荐

0 条评论