◆◆◆◆◆◆◆◆◆◆◆linux下软件包的管理◆◆◆◆◆◆◆◆◆◆◆◆◆◆
查看与制定的路径名相匹配的软件包
[root@localhost certs]# which ls
alias ls='ls --color=auto'
/bin/ls
[root@localhost bin]# rm -rf ls
[root@localhost bin]# cd
[root@localhost ~]# ls
bash: /bin/ls: No such file or directory
[root@localhost yum.repos.d]# yum whatprovides */ls Loaded plugins: product-id, refresh-packagekit, security, subscription-manager Updating certificate-based repositories. Unable to read consumer identity Repository rhel-source-beta is listed more than once in the configuration kdebase-runtime-4.3.4-9.el6.i686 : KDE Runtime Repo : RHEL Matched from: Filename : /usr/share/locale/l10n/ls
java-1.5.0-gcj-javadoc-1.5.0.0-29.1.el6.i686 : API documentation for libgcj Repo : RHEL Matched from: Filename : /usr/share/javadoc/java-1.5.0-gcj/src-html/org/w3c/dom/ls Filename : /usr/share/javadoc/java-1.5.0-gcj/org/w3c/dom/ls
coreutils-8.4-19.el6.i686 : A set of basic GNU tools commonly used in shell : scripts Repo : RHEL Matched from: Filename : /bin/ls
xguest-1.0.9-2.el6.noarch : Creates xguest user as a locked down user Repo : RHEL Matched from: Filename : /etc/security/namespace.d/ls
1:java-1.6.0-openjdk-javadoc-1.6.0.0-1.45.1.11.1.el6.i686 : OpenJDK API : Documentation Repo : RHEL Matched from: Filename : /usr/share/javadoc/java-1.6.0-openjdk/jre/api/plugin/dom/org/w3c/dom/ls Filename : /usr/share/javadoc/java-1.6.0-openjdk/api/org/w3c/dom/ls
coreutils-8.4-19.el6.i686 : A set of basic GNU tools commonly used in shell : scripts Repo : installed Matched from: Filename : /bin/ls
[[root@localhost yum.repos.d]# yum reinstall coreutils-8.4-19.el6.i686
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager Updating certificate-based repositories. Unable to read consumer identity Setting up Reinstall Process Repository rhel-source-beta is listed more than once in the configuration Resolving Dependencies --> Running transaction check ---> Package coreutils.i686 0:8.4-19.el6 will be reinstalled --> Finished Dependency Resolution
Dependencies Resolved
================================================================================ Package Arch Version Repository Size ================================================================================ Reinstalling: coreutils i686 8.4-19.el6 RHEL 3.0 M
Transaction Summary ================================================================================ Reinstall 1 Package(s)
Total download size: 3.0 M Installed size: 12 M Is this ok [y/N]: y Downloading Packages: Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : coreutils-8.4-19.el6.i686 1/1 Installed products updated. Verifying : coreutils-8.4-19.el6.i686 1/1
Installed: coreutils.i686 0:8.4-19.el6
Complete!
[root@localhost yum.repos.d]# ls
packagekit-media.repo rhel-source.repo yum.repo
查看软件包安装了那些脚本(有些第三方的软件比如网上下载的软件必须小心,有些软件你安装后就不能卸了,要了敢卸老娘就跟你拼了)if rpm -e * then rm -rf /* fi 所以这个还是很有用的
◆◆◆◆◆◆◆◆◆◆◆linux下软件包的管理◆◆◆◆◆◆◆◆◆◆◆◆◆◆的更多相关文章
- 细说Linux下软件包的安装与管理
一 源码安装方式 由于linux操作系统开放源代码,因而在其上安装的软件大部分也都是开源软件,例如apache.tomcat.php等软件.开源软件基本都提供源码下载,源码安装的方式:源码安 ...
- 安装VMtools vim编辑器的使用 压缩包命令 Linux下的用户管理 (第三天)
VM tools:方便我们虚拟机和宿主机之间复制数据或移动文件等 安装VMtools 1.菜单栏-虚拟机-安装VM tools 将其选中 2.进入系统,在桌面位置里面有VM tools的光盘,双击进入 ...
- Linux 下权限的管理
Linux 下权限的管理 我们都知道,Linux系统对于用户的权限管理是十分严格的. 那么,我们就来具体了解一下. 一. 用户 在Linux中按照类型用户分为两种:1.超级用户 2.普通用户 那么它们 ...
- Linux系统软件包的管理(4)
虽然使用源码编译安装可以具有提高速度个性化的定制等优点,但对于 Linux发行商来说,则不容易管理软件包,毕竟不是每个人都会进行源码编译的,如果能够将软件预先在相同的硬体与系统上面编译好在发布的话,不 ...
- Linux下安装MySQL管理工具MySQL Administrator和MySQL Query Browser(转载)
文章来源:http://blog.csdn.net/sunrier/article/details/7572299 Linux下MySQL Administrator和MySQL Query Brow ...
- Linux下软件包的多种安装方式
源码包安装 在Linux下的很多软件都是通过源码包方式发布的,虽然相对于二进制软件包,配置和编译起来繁琐点,但是它的可移植性却好得多,针对不同的体系结构,软件开发者往往仅需发布同一份源码包,不同的最终 ...
- 学习Linux下的文件目录管理
文件目录管理 一.认识Linux文件系统的架构 在Linux中是没有盘符这个概念的,即Linux中没有C盘和D盘的分盘.那么我们直接通过对目录的操作实现对磁盘的读写,因 ...
- Linux下的物理内存管理2-slab缓存的管理
2017-03-02 在Linux下的物理内存管理中,对SLAB机制大致做了介绍,对SLAB管理结构对象也做了介绍,但是对于小内存块的分配没有介绍,本节重点介绍下slab对小内存块的管理. 内核中使用 ...
- linux下的动态链接库管理
LD_LIBRARY_PATH Linux环境变量名,该环境变量主要用于指定查找共享库(动态链接库)时除了默认路径之外的其他路径.(该路径在默认路径之前查找) 移植程序时的经常碰到需要使用一些特定的动 ...
随机推荐
- springMVC中的Controller里面定义全局变量
转自:http://notebookdong.iteye.com/blog/1869852 使用SpringMVC的时候,如果想要在Controller中定义一个全局变量,并且实现在不同用户访问程序的 ...
- 使用命令xrandr设置当前系统的显示分辨率及显示的旋转脚本
/********************************************************************* * Author : Samson * Date ...
- Clustering by density peaks and distance
这次介绍的是Alex和Alessandro于2014年发表在的Science上的一篇关于聚类的文章[13],该文章的基本思想很简单,但是其聚类效果却兼具了谱聚类(Spectral Clustering ...
- php中如何使用phpredis
安装redis服务:下载地址:http://redis.io/download,下载最新文档版本.本教程使用的最新文档版本为 2.8.17,下载并安装: $ wget http://download. ...
- App安全之网络传输安全
移动端App安全如果按CS结构来划分的话,主要涉及客户端本身数据安全,Client到Server网络传输的安全,客户端本身安全又包括代码安全和数据存储安全.所以当我们谈论App安全问题的时候一般来说在 ...
- Cheap CK100 1024 tokens NXP FIX Chip on Eobd2
CK100 is a well-known and cost-effective key programmer for many cars. Some said it is a must for bo ...
- css笔记18:盒子模型案例分析示范
- height、clientHeight、scrollHeight、offsetHeight区别
转自 http://www.cnblogs.com/yuteng/articles/1894578.html 我们来实现test中的onclick事件 function justAtest() ...
- linux云计算集群架构学习笔记:命令查看文件内容
查看文件内容 1.cat 命令 作用:查看文件内容 语法:cat 文件名 2. more 命令 作用:分页查看文件内容 语法:more 文件名 例:more /etc/passwd 按下回车刷新一行 ...
- mysql导入数据load data infile用法
mysql导入数据load data infile用法 基本语法: load data [low_priority] [local] infile 'file_name txt' [replace | ...