zoukankan      html  css  js  c++  java
  • 如何查看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,现在就找到了!

  • 相关阅读:
    合并两个排序的链表
    C#中调用C++的DLL文件
    C#获取进程的主窗口句柄
    在VS2008中编译纯c/c++程序并由c#调用过程 及 C++引用c#dll 模拟登陆实现
    C#多屏幕显示器编程
    Windows系统下的多显示器模式开发日记
    在 C# 中调用 C++
    C# 中调用C++ DLL (P/Invoke)
    C#多屏时控制窗体显示在哪个显示器上
    c# Winform 开发分屏显示应用程序
  • 原文地址:https://www.cnblogs.com/wqbin/p/14183387.html
Copyright © 2011-2022 走看看