Debian(Ubuntu) 中apt-get使用
来源:互联网 发布:jq删除数组中指定元素 编辑:程序博客网 时间:2024/05/21 04:40
类Debian系统中apt使用
apt-get 是类debian系统用于处理包的命令行工具.
update
用于从包来源的源文件重新同步包索引文件。可用软件包的索引从/etc/apt/sources.list中指定的位置获取。
debian(Ubuntu) 安装软件会从本地存档(Packages.gz)中获取软件的下载源, 所以, 在安装软件前应先执行apt-get update
upgrade
upgrade只是简单的更新包,不管依赖,它既不添加包,或是删除包。在不改变现有软件设置的基础上更新软件,不改变软件的依赖关系,当软件的依赖关系发生改变时,upgrade对此情形不处理。
dist-upgrade
针对依赖关系改变的情形并作出处理,会改变配置文件,改变旧的依赖关系,添加包,删除包。
apt-cache search package_name
搜索软件包,可以按关键字查找软件包,通常用于查询的关键字会使用软件包的名字或软件包的一部分.
apt-cache show package_name
显示指定软件包的信息,包括版本号,安装状态和包依赖关系等.
0 0
- Debian(Ubuntu) 中apt-get使用
- Debian 中使用apt-get update 出现NO_PUBKEY 解决方法
- Ubuntu中使用apt-get安装LAMP
- ubuntu中使用apt-get安装zbar
- Ubuntu中使用apt-get安装LAMP
- ubuntu/debian下apt-get问题总结
- debian/ubuntu设置apt-get源
- ubuntu apt-get 使用
- Debian下使用apt-get安装lnmp
- debian 无法使用apt-get解决办法
- Ubuntu apt-get apt-cache 命令使用
- Ubuntu apt-get apt-cache命令 使用
- Ubuntu apt-get apt-cache命令 使用
- Ubuntu apt-get apt-cache 命令使用
- Ubuntu中apt-get用法
- Ubuntu中apt-get用法
- Ubuntu中apt-get用法
- Ubuntu中apt-get用法
- C# DES解密异常问题
- Dockerfile相关指令的的简要说明
- struct和union在内存中占用空间大小的计算
- RPC实践(二)JsonRPC实践
- 密码强度判断
- Debian(Ubuntu) 中apt-get使用
- JQuery实现全选、全不选和反选功能
- runtime系列(二) method swizzling 与AOP编程
- Java关键字之synchronized
- wordpress笔记
- Oracle表空间操作/用户权限/导入导出
- Failed to apply plugin [id 'com.android.application']
- java compiler level does not match the version of the installed Java project facet 解决方法
- netstat 统计网络连接数