如何查看yum 安装的软件路径

如何查看yum 安装的软件路径

今天使用yum 安装了一个软件,后来没有找到路径

1、首先安装一个clickhouse From RPM Packages

It is recommended to use official pre-compiled rpm packages for CentOS, RedHat, and all other rpm-based Linux distributions.

First, you need to add the official repository

sudo yum install yum-utils
sudo rpm --import https://repo.clickhouse.tech/CLICKHOUSE-KEY.GPG
sudo yum-config-manager --add-repo https://repo.clickhouse.tech/rpm/stable/x86_64

If you want to use the most recent version, replace stable with testing (this is recommended for your testing environments). prestable is sometimes also available.

Then run these commands to install packages:

sudo yum install clickhouse-server clickhouse-client

2、查找clickhouse的安装包

(base) [rdev@dl ~]$ rpm -qa|grep click
clickhouse-client-20.12.3.3-2.noarch
clickhouse-common-static-20.12.3.3-2.x86_64
clickhouse-server-20.12.3.3-2.noarch

3、查找安装包的安装路径

复制代码
(base) [rdev@dl ~]$ rpm -ql clickhouse-server-20.12.3.3-2.noarch
/etc/clickhouse-server
/etc/clickhouse-server/config.xml
/etc/clickhouse-server/users.xml
/etc/cron.d/clickhouse-server
/etc/init.d/clickhouse-server
/etc/systemd/system/clickhouse-server.service
/lib/systemd/system/clickhouse-server.service
/usr/bin/clickhouse-copier
/usr/bin/clickhouse-report
/usr/bin/clickhouse-server
/usr/share/doc/clickhouse-server
/usr/share/doc/clickhouse-server/AUTHORS
/usr/share/doc/clickhouse-server/CHANGELOG.md.gz
/usr/share/doc/clickhouse-server/LICENSE.gz
/usr/share/doc/clickhouse-server/README.md
/usr/share/doc/clickhouse-server/changelog.gz
/usr/share/doc/clickhouse-server/copyright
复制代码

4、ok,现在就找到了!

posted @   wqbin  阅读(1334)  评论(0编辑  收藏  举报
编辑推荐:
· DeepSeek 解答了困扰我五年的技术问题
· 为什么说在企业级应用开发中,后端往往是效率杀手?
· 用 C# 插值字符串处理器写一个 sscanf
· Java 中堆内存和栈内存上的数据分布和特点
· 开发中对象命名的一点思考
阅读排行:
· 为什么说在企业级应用开发中,后端往往是效率杀手?
· DeepSeek 解答了困扰我五年的技术问题。时代确实变了!
· 本地部署DeepSeek后,没有好看的交互界面怎么行!
· 趁着过年的时候手搓了一个低代码框架
· 推荐一个DeepSeek 大模型的免费 API 项目!兼容OpenAI接口!
历史上的今天:
2019-12-24 pandas窗口函数--rolling
点击右上角即可分享
微信分享提示