请问,apt-get和apt不加get有什么区别?
Tofloor
poster avatar
liujy126
deepin
2020-04-24 18:28
Author
是不是一样的,看到有的人写的有-get,有的没有。
Reply Favorite View the author
All Replies
avatar
deepin_bylt
deepin
2020-04-24 18:43
#1
没多大区别,好像不加-get就无法使用TAB补全
Reply View the author
avatar
走钢丝
deepin
2020-04-24 18:53
#2
后者集成了好几个分散在其他命令的主要功能。
Reply View the author
avatar
liujy126
deepin
2020-04-24 19:03
#3
https://bbs.deepin.org/post/192775
后者集成了好几个分散在其他命令的主要功能。

说的是不加get吗?
Reply View the author
avatar
ShineWay
deepin
2020-04-24 19:24
#4
https://bbs.deepin.org/post/192775
说的是不加get吗?

对,现在基本都是用apt
Reply View the author
avatar
神末shenmo
deepin
Spark-App
Q&A Team
2020-04-24 19:54
#5
apt有进度条
Reply View the author
avatar
132******13
deepin
2020-04-24 20:48
#6
apt = apt-get、apt-cache 和 apt-config 中最常用命令选项的集合,参考 https://blog.csdn.net/liudsl/article/details/79200134
我基本都是用的apt,自动补全没有问题,还可以少打几个字
Reply View the author
avatar
lenke
deepin
2020-04-24 21:37
#7
没有补全是因为权限不够,sudo以后就可以补全了
Reply View the author
avatar
ghostry
deepin
2020-04-24 21:50
#8
还有一个是 aptitude 好像很少人用.
Reply View the author
avatar
9136
deepin
2020-04-24 22:13
#9
终端运行 man 8 apt 和 man 8 apt-get, 阅读一遍就知道其区别了.
总的来说, apt 比 apt-get 更高级, apt-get 主要做 command line tool 使用, 而 apt 可能还包括 GUI.
参考连接: https://askubuntu.com/questions/445384/what-is-the-difference-between-apt-and-apt-get
Reply View the author
avatar
迷墙
deepin
2020-04-24 22:32
#10
本帖最后由 gaoyanglion 于 2020-4-24 14:34 编辑






我优先用apt命令,少敲好几个字符
Reply View the author
avatar
星外之神
deepin
2020-04-24 22:42
#11
https://bbs.deepin.org/post/192775
没多大区别,好像不加-get就无法使用TAB补全

补全、输错可以用fuck命令修正吧
Reply View the author
avatar
liujy126
deepin
2020-04-24 23:18
#12
https://bbs.deepin.org/post/192775
补全、输错可以用fuck命令修正吧

竟然有fuck命令?这么糙啊?
Reply View the author
avatar
icedragon
deepin
2020-04-24 23:49
#13
https://bbs.deepin.org/post/192775
竟然有fuck命令?这么糙啊?

应该是指 thefuck 吧。
Reply View the author
avatar
终南
deepin
2020-04-25 00:00
#14
https://bbs.deepin.org/post/192775
竟然有fuck命令?这么糙啊?

Reply View the author
avatar
星外之神
deepin
2020-04-25 00:25
#15
https://bbs.deepin.org/post/192775
应该是指 thefuck 吧。

是的,但是输入的话就是fuck
Reply View the author
Comments
linus_follower
2020-04-25 01:11
祖安命令行
avatar
liujy126
deepin
2020-04-25 00:29
#16
linux好猛
Reply View the author
avatar
minchengan
deepin
2020-04-25 04:20
#17
linux把对nvida的不满带到命令行里来了
Reply View the author
avatar
不会开车有驾照
deepin
2020-04-25 04:37
#18
学习学习,不知道区别小白偷偷学习
Reply View the author