apt命令用不了了怎么解决?
Tofloor
poster avatar
arreatguy
deepin
2013-08-23 05:43
Author
初学者,才装两天,好像昨天还用命令行装了百度插件,现在 不知道怎么成这样了 sudo -apt也是这样

ak@ak-To-be-filled-by-O-E-M:~/桌面$ apt
未找到 'apt' 命令,您要输入的是否是:
命令 'at' 来自于包 'at' (main)
命令 'opt' 来自于包 'llvm' (universe)
命令 'pat' 来自于包 'dist' (universe)
命令 'ppt' 来自于包 'bsdgames' (universe)
命令 'gpt' 来自于包 'gpt' (universe)
命令 'apm' 来自于包 'apmd' (main)
命令 'apg' 来自于包 'apg' (main)
命令 'apf' 来自于包 'apf-firewall' (universe)
命令 'aptd' 来自于包 'aptdaemon' (main)
命令 'aft' 来自于包 'aft' (universe)
命令 'ant' 来自于包 'ant1.7' (universe)
命令 'ant' 来自于包 'ant' (main)
命令 'xapt' 来自于包 'xapt' (universe)
命令 'atp' 来自于包 'atp' (universe)
apt:未找到命令
ak@ak-To-be-filled-by-O-E-M:~/桌面$ whereis apt
apt: /etc/apt /usr/lib/apt /usr/share/apt /usr/share/man/man8/apt.8.gz
ak@ak-To-be-filled-by-O-E-M:~/桌面$
Reply Favorite View the author
All Replies
cxbii
deepin
2013-08-23 06:20
#1
http://wiki.linuxdeepin.com/index.php?t ... 1%E7%90%86

你应该看看常见包管理命令
没有sudo-apt这个用法,sudo是单独的命令. apt-get也是一个命令,但是apt有:
  1. apt-add-repository            apt-get
  2. apt-cache                     aptitude
  3. apt-cdrom                     aptitude-create-state-bundle
  4. apt-config                    aptitude-curses
  5. aptd                          aptitude-run-state-bundle
  6. aptdcon                       apt-key
  7. apt-extracttemplates          apt-mark
  8. apt-ftparchive                apt-sortpkgs
Copy the Code
这么多命令....我觉得如果你有兴趣,可以找找命令类的文章看看.
Reply View the author
arreatguy
deepin
2013-08-23 06:24
#2
我写错了,本来是想写sudo apt 的
Reply View the author
arreatguy
deepin
2013-08-23 06:25
#3
话说你们那些被认定为“代码”的东西是怎么弄出来的?
Reply View the author
cxbii
deepin
2013-08-23 06:30
#4
话说你们那些被认定为“代码”的东西是怎么弄出来的?
至于命令类的,找点linux下命令介绍的文章看看好了你问我那些代码是怎么弄出来的,你需要进入完整的编辑器,看到图上的codo,选中你要设置的内容然后点击那个codo就可以了image.jpg
Reply View the author
arreatguy
deepin
2013-08-23 06:40
#5
  1. have a try,never mind
Copy the Code
Reply View the author