[Seek Help] deepin怎么安装gcc? Resolved
Tofloor
poster avatar
138******24
deepin
2022-12-30 05:28
Author

deepin怎么安装gcc编译器?

yum -y install gcc gcc-c++ kernel-devel是错的

image.png

Reply Favorite View the author
All Replies
忘记、过去
deepin
2022-12-30 05:33
#1

为啥要在 Debian/Ubuntu 系的发行版上用 yum 呢......joy

重新找下教程吧,别看 CentOS 的,找 Ubuntu 的

Reply View the author
deepin
2022-12-30 05:40
#2

sudo apt install gcc

Reply View the author
dufengming2008
deepin
2022-12-30 05:44
#3

系统默认有安装gcc。

yum命令是centos\redhat\Fedora等系列Linux的软件包管理器

deepinv20系列上游是Debian10 软件包管理器是apt

Reply View the author
璀璨星空
deepin
2022-12-30 05:47
#4

你拿红帽子系的命令去命令Debian系的系统doubt ,这不就是拿明朝的剑斩本朝的官吗joy

Reply View the author
152******14
deepin
2022-12-30 06:16
#5

deepin 不是自带gcc 吗?

Reply View the author
jjcui8595
deepin
2022-12-30 06:41
#6
dufengming2008

系统默认有安装gcc。

yum命令是centos\redhat\Fedora等系列Linux的软件包管理器

deepinv20系列上游是Debian10 软件包管理器是apt

正解

Reply View the author
喵呢酱
deepin
2022-12-30 16:17
#7
152******14

deepin 不是自带gcc 吗?

自带的太老了

Reply View the author
喵呢酱
deepin
2022-12-30 16:18
#8

之前也觉得源里的太老了,想自己装,挺烦的,后来就直接换到opensuse tw了joy

Reply View the author
fuuko
deepin
2022-12-30 16:22
#9
璀璨星空

你拿红帽子系的命令去命令Debian系的系统doubt ,这不就是拿明朝的剑斩本朝的官吗joy

明明是倭国的剑joy

Reply View the author
138******24
deepin
2022-12-30 19:19
#10

sudo apt install gcc

谢谢

Reply View the author
138******24
deepin
2022-12-30 19:20
#11

谢谢各位

Reply View the author
sukanka
deepin
2022-12-31 19:32
#12

先 sudo apt install yum

Reply View the author