apt和snap

ubuntu用apt代替了apt-get,ubuntu的母公司Canonical在最新版的Ubuntu中用snap代替了apt。
类似于yum代替了rpm,而后又使用dnf代替了yum。

[Wed Mar 24 11:05 u20@u20-0-52 ~ ]$ type snap
snap is /usr/bin/snap
[Wed Mar 24 11:06 u20@u20-0-52 ~ ]$ type apt
apt is /usr/bin/apt
[Wed Mar 24 11:06 u20@u20-0-52 ~ ]$ whatis snap
snap (8)             - Tool to interact with snaps
[Wed Mar 24 11:06 u20@u20-0-52 ~ ]$ whatis apt
apt (8)              - command-line interface

snap

[Wed Mar 24 11:06 u20@u20-0-52 ~ ]$ snap help --all
The snap command lets you install, configure, refresh and remove snaps.
Snaps are packages that work across many different Linux distributions,
enabling secure delivery and operation of the latest apps and utilities.Usage: snap <command> [<options>...]Commands can be classified as follows:Basics (basic snap management):find             Find packages to installinfo             Show detailed information about snapsinstall          Install snaps on the systemremove           Remove snaps from the systemlist             List installed snaps...more (slightly more advanced snap management):refresh          Refresh snaps in the systemrevert           Reverts the given snap to the previous stateswitch           Switches snap to a different channeldisable          Disable a snap in the systemenable           Enable a snap in the systemcreate-cohort    Create cohort keys for a set of snapsHistory (manage system change transactions):changes          List system changestasks            List a change's tasksabort            Abort a pending changewatch            Watch a change in progressDaemons (manage services):services         Query the status of servicesstart            Start servicesstop             Stop servicesrestart          Restart serviceslogs             Retrieve logs for servicesPermissions (manage permissions):connections      List interface connectionsinterface        Show details of snap interfacesconnect          Connect a plug to a slotdisconnect       Disconnect a plug from a slotConfiguration (system administration and configuration):get              Print configuration optionsset              Change configuration optionsunset            Remove configuration optionswait             Wait for configurationApp Aliases (manage aliases):alias            Set up a manual aliasaliases          List aliases in the systemunalias          Remove a manual alias, or the aliases for an entire snapprefer           Enable aliases from a snap, disabling any conflicting aliasesAccount (authentication to snapd and the snap store):login            Authenticate to snapd and the storelogout           Log out of snapd and the storewhoami           Show the email the user is logged in withSnapshots (archives of snap data):saved            List currently stored snapshotssave             Save a snapshot of the current datacheck-snapshot   Check a snapshotrestore          Restore a snapshotforget           Delete a snapshotexport-snapshot  Export a snapshotimport-snapshot  Import a snapshotDevice (manage device):model            Get the active model for this devicereboot           Reboot into selected system and moderecovery         List available recovery systemsWarnings (manage warnings):warnings         List warningsokay             Acknowledge warningsAssertions (manage assertions):known            Show known assertions of the provided typeack              Add an assertion to the systemIntrospection (introspection and debugging of snapd):version          Show version detailsdebug            Run debug commandsDevelopment (developer-oriented features):download         Download the given snappack             Pack the given directory as a snaprun              Run the given snap commandtry              Test an unpacked snap in the systemprepare-image    Prepare a device imageFor more information about a command, run 'snap help <command>'.

apt

[Wed Mar 24 11:09 u20@u20-0-52 ~ ]$ apt --help
apt 2.0.2ubuntu0.2 (amd64)
Usage: apt [options] commandapt is a commandline package manager and provides commands for
searching and managing as well as querying information about packages.
It provides the same functionality as the specialized APT tools,
like apt-get and apt-cache, but enables options more suitable for
interactive use by default.Most used commands:list - list packages based on package namessearch - search in package descriptionsshow - show package detailsinstall - install packagesreinstall - reinstall packagesremove - remove packagesautoremove - Remove automatically all unused packagesupdate - update list of available packagesupgrade - upgrade the system by installing/upgrading packagesfull-upgrade - upgrade the system by removing/installing/upgrading packagesedit-sources - edit the source information filesatisfy - satisfy dependency stringsSee apt(8) for more information about the available commands.
Configuration options and syntax is detailed in apt.conf(5).
Information about how to configure sources can be found in sources.list(5).
Package and version choices can be expressed via apt_preferences(5).
Security details are available in apt-secure(8).This APT has Super Cow Powers.

Ubuntu中老牌apt和新人snap相关推荐

  1. ubuntu中的apt终端命令解析

    ubuntu中的apt终端命令解析 apt(Advanced Packaging Tool)是ubuntu下的安装包管理工具,用于大部分软件的更新卸载: $ sudo apt install 软件名: ...

  2. ubuntu中使用apt命令安装ipython失败解决方案

    在最近使用ubuntu安装ipython时,出现如下报错: 出现这个问题,主要是因为apt还在运行,故解决方案为: 1.找到并且杀掉所有的apt-get 和apt进程 运行下面的命令来生成所有含有 a ...

  3. ubuntu导入第三方库_在Ubuntu中,如何添加Apt存储库

    APT存储库是网络服务器或本地目录,其中包含deb软件包和元数据文件,这些文件可由APT工具读取. 虽然默认的Ubuntu存储库中有数千个可用的应用程序,但是有时你需要从第三方存储库安装软件. 在本教 ...

  4. linux 卸载apt包,apt - 如何删除Ubuntu中损坏的软件包 - Ubuntu问答

    问题描述 我无法删除破损的包裹.使用以下命令:sudo apt-get -f install,但得到以下响应: Preparing to unpack .../nodejs_0.10.28-1chl1 ...

  5. ubuntu中配置好清华的apt源

    文章目录 6 软件管理 6.4 在ubuntu中配置好清华的apt源,安装wireshark 6 软件管理 6.4 在ubuntu中配置好清华的apt源,安装wireshark 首先找到清华的镜像源路 ...

  6. ubuntu中apt和apt-get

    ubuntu中apt和apt-get 1.平时在使用ubuntu时用到了指令: (1)更新软件列表 (2)更新软件包 2.那么apt和apt-get有什么区别呢 (1)安装软件包 (2)移除软件包 ( ...

  7. 如何在 Ubuntu 中安装和删除软件

    文章目录 1.Ubuntu Software 1.1.使用Ubuntu软件中心安装软件[推荐] 1.2.使用Ubuntu软件中心删除软件[推荐] 2..deb 文件 2.1.使用 .deb 文件在 U ...

  8. ubuntu中安装软件的方法

    ubuntu中安装软件的方法 一:直接在Ubuntu软件商店安装 二:使用apt命令安装 三:使用snap命令安装 四:使用dpkg命令安装deb包 五:使用源码编译安装 一:直接在Ubuntu软件商 ...

  9. linux动画制作软件,如何在Ubuntu中安装2D动画软件OpenToonz

    OpenToonz,开源2D动画软件,现在可以通过Snap软件包轻松安装在Ubuntu 16.04,Ubuntu 18.04及更高版本中. OpenToonz基于Toonz Studio Ghibli ...

最新文章

  1. 【ZooKeeper】集群安装与配置
  2. Spring事务专题(三)事务的基本概念,Mysql事务处理原理
  3. ubuntu16.04下配置caffe无GPU
  4. Installation error: INSTALL_FAILED_UID_CHANGED 的解决办法
  5. Java毕设动物管理系统_java毕业设计_springboot框架的现代化动物园管理系统EB
  6. wps单机无网络版_单平台销量破百万,这个国产单机系列要出网游,还要上主机...
  7. zz -- QQ圈子感想
  8. iOS中UIKit继承结构
  9. 最大似然估计_R初等统计分析(一)——概率分布、最大似然估计
  10. [转载] 细思极恐的星座分析(下)- 外太空?内子宫?人类的天赋从何而来?
  11. c# WPF设置软件界面背景为MediaElement并播放视频
  12. linux制作img镜像文件,制作img镜像文件的5种方法 .
  13. 从「广义斯托克斯公式」结合「外微分公式」导出「牛顿-莱布尼茨公式」、「格林公式」、「高斯公式」、「斯托克斯公式」
  14. java对人物画像分级_绘制用户画像——根据用户行为计算标签权重介绍及实现...
  15. 云片网短信模版自定义变量的替换内容
  16. TRITTON天猫旗舰店开业 2月20日7折大促
  17. 微信mars学习笔记
  18. alias别名设置及删除
  19. 打开win7任务管理器的六种方法
  20. Hive -- Hive面试题及答案(3)

热门文章

  1. 客户案例|AI如何助力快消行业降本增效
  2. 51单片机计算定时器初值
  3. Eclipse---Refreshing /.org.eclipse.jdt.core.exter
  4. 格式化磁盘、挂载,swap分区
  5. MySQL与Python最详细的使用文档
  6. 【7 查找】二叉排序树查找关键字。
  7. Yolact训练自己的数据集
  8. Anaconda的升级、配置及使用
  9. Dbeaver 连接 phoenix
  10. 神经网络常用激活函数及其应用举例