Deepin15.4怎么装Git呢
Tofloor
poster avatar
cnsimo
deepin
2017-05-05 06:19
Author
  1. sudo apt-get install git
Copy the Code
发现并没有git软件包。
  1. sudo add-apt-repository ppa:git-core/ppa
Copy the Code
发现并不能添加仓库。
去某镜像站下载了Ubuntu版的git的deb包和debain版的deb包,用GDebi软件包安装程序打开貌似是说包错误。

那么这就很尴尬了,我该怎么安装Git呢,谁有妙招,兄弟们?
Reply Favorite View the author
All Replies
1 / 2
To page
avatar
Feng Yu
deepin
2017-05-05 06:29
#1
你update了吗?deepin用的是debian sid的仓库,git是debian sid仓库就有的。还有就是deepin基于debian sid,是不能使用ubuntu的ppa的,所以你第二个添加ppa仓库也必然会失败
Reply View the author
avatar
cnsimo
deepin
2017-05-05 06:32
#2
https://bbs.deepin.org/post/138948
你update了吗?deepin用的是debian sid的仓库,git是debian sid仓库就有的。还有就是deepin基于debian sid ...

对,就因为知道了是基于debian的,所以去下了一个deb包,结果包错误,我试试update一下
Reply View the author
avatar
159******10
deepin
2017-05-05 06:34
#3
我记得仓库里是有的,如果没有就去官方下一个安装https://git-scm.com/
Reply View the author
avatar
cnsimo
deepin
2017-05-05 06:37
#4
https://bbs.deepin.org/post/138948
你update了吗?deepin用的是debian sid的仓库,git是debian sid仓库就有的。还有就是deepin基于debian sid ...

可以了,我还以为新装的系统并不用update呢,对了,怎么看系统是基于Ubuntu的还是基于Debian的,我不会判断,以前deepin貌似是基于Ubuntu的?
Reply View the author
avatar
pikachuhy
deepin
2017-05-05 06:40
#5
要更新 等把新索引建好就可以了
Reply View the author
avatar
wanywhn
deepin
2017-05-05 06:43
#6
cnsimo 发表于 2017-5-4 22:37
可以了,我还以为新装的系统并不用update呢,对了,怎么看系统是基于Ubuntu的还是基于Debian的,我不会判 ...

现在是debian
Reply View the author
avatar
comzhong
deepin
2017-05-05 07:12
#7
sudo apt-get update
sudo apt-get install git
Reply View the author
avatar
yutent
deepin
2017-05-05 08:51
#8
It has been deleted!
avatar
Feng Yu
deepin
2017-05-05 21:24
#9
https://bbs.deepin.org/post/138948
可以了,我还以为新装的系统并不用update呢,对了,怎么看系统是基于Ubuntu的还是基于Debian的,我不会判 ...

关注官方新闻就行了。2014及之前版本基于ubuntu,从deepin 15开始基于debian sid
Reply View the author
avatar
Feng Yu
deepin
2017-05-05 21:25
#10
https://bbs.deepin.org/post/138948
sudo apt-get update
sudo apt-get install git

debian现在把apt-xxx全部统一到apt命令上去了,以后不用记那么多apt-xx命令了

sudo apt update; sudo apt install -y git
Reply View the author
avatar
cnsimo
deepin
2017-05-06 03:58
#11
https://bbs.deepin.org/post/138948
debian现在把apt-xxx全部统一到apt命令上去了,以后不用记那么多apt-xx命令了

sudo apt update; sudo ap ...

这么神奇了
Reply View the author
avatar
cnsimo
deepin
2017-05-06 03:59
#12
https://bbs.deepin.org/post/138948
刚装完系统, 需要先update一下,更新本地的索引, 再去安装你想要的程序。

你的内存怎么那么大,cpu那么菜了,感觉难以理解
Reply View the author
avatar
comzhong
deepin
2017-05-06 04:05
#13
https://bbs.deepin.org/post/138948
你的内存怎么那么大,cpu那么菜了,感觉难以理解

其实也没什么问题,关键得看作用,不一定大内存就得配高性能CPU
Reply View the author
avatar
cnsimo
deepin
2017-05-06 04:29
#14
https://bbs.deepin.org/post/138948
其实也没什么问题,关键得看作用,不一定大内存就得配高性能CPU

好吧,我个人用8个G就够用了,这个Deepin的WiFi功能是不是不太好用啊,我朋友是WiFi功能用不了,我的是连接不上带用户名的WiFi,只能连接普通的WiFi
Reply View the author
avatar
comzhong
deepin
2017-05-06 05:02
#15
https://bbs.deepin.org/post/138948
好吧,我个人用8个G就够用了,这个Deepin的WiFi功能是不是不太好用啊,我朋友是WiFi功能用不了,我的是连 ...

我觉得主要还是驱动的问题,可以自己找驱动来装上试试,还有可以换内核试试,不同版本内核带的驱动会有所变化
Reply View the author
avatar
yutent
deepin
2017-05-06 06:09
#16
It has been deleted!
avatar
lxyzai
deepin
2017-05-07 06:44
#17
https://bbs.deepin.org/post/138948
debian现在把apt-xxx全部统一到apt命令上去了,以后不用记那么多apt-xx命令了

sudo apt update; sudo ap ...

刚刚更新之后用sudo apt install —y git 尝试安装,提示无法定位安装包—y,是因为什么呢?
Reply View the author
avatar
Feng Yu
deepin
2017-05-07 07:57
#18
https://bbs.deepin.org/post/138948
刚刚更新之后用sudo apt install —y git 尝试安装,提示无法定位安装包—y,是因为什么呢? ...

-y不是--y
Reply View the author
avatar
lxyzai
deepin
2017-05-08 02:37
#19

恩恩,重新试了一下,已经成功了,非常感谢
Reply View the author
avatar
carrjay
deepin
2017-05-08 03:01
#20
怎么可能没有呢  你先update赛
Reply View the author
1 / 2
To page