zoukankan      html  css  js  c++  java
  • pkg-config相关的常用指令

    pkg-config用途: 查询系统已安装库的基础信息(元信息)

    1、查看所有的pkg-config库

       pkg-config --list-all

            --list-all      列出pkg-config路径下所有的模块
                  List all modules found in the pkg-config path.

           --print-provides  列出给定包提供的所有模块
                  List all modules the given packages provides.

           --print-requires   列出给定包所依赖的所有模块
                  List all modules the given packages requires.

    2、查询桌面linux中mate桌面的详细版本号

      pkg-config --modversion mate-desktop-2.0

           结果如下:

    [root@localhost src]# pkg-config --modversion mate-desktop-2.0 
    1.8.1

    3、其他可通过通过man pkg-config查询所需要的指令使用方法

  • 相关阅读:
    A. Playing with Paper
    手摇算法
    perl之创建临时文件夹遇到同名文件该咋办
    B. Two Buttons
    A Pangram
    shell的面试题
    A. Game
    B. Drazil and His Happy Friends
    A. Drazil and Date
    2道阶乘的算法题
  • 原文地址:https://www.cnblogs.com/noxy/p/5730910.html
Copyright © 2011-2022 走看看