[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[plamo:33149] 誤字、失礼しました & Usefulscripts



阿部です。
先の投稿の誤字、失礼しました。

誤:散光
正:参考

お詫びの替わりといっては何ですが、わたしがいつもSlackware環境で使っている
便利なスクリプトを紹介します。
以下のリンクの三つのスクリプト、lspkg, pkginfo, whichpkg がPlamo7.2環境で
そのまま使えることを確認しています。
よろしければ、 /usr/bin/ あたりに保存してお試しください。
https://www.linuxquestions.org/questions/slackware-14/useful-custom-commands-for-slackware-174647/

事例-1)
/usr/include/unicode/ptypes.h がどのパッケージに含まれるか調べるとき、
$ whichpkg /usr/include/unicode/ptypes.h
------------------------------------------------------------------------
Searching for "/usr/include/unicode/ptypes.h"...

icu:/usr/include/unicode/ptypes.h

------------------------------------------------------------------------

事例-2)
xfceでパッケージ名が始まるパッケージがあるか調べるとき、
$ lspkg xfce* 
xfce4_appfinder
xfce4_battery_plugin
xfce4_dev_tools
xfce4_notifyd
xfce4_panel
xfce4_power_manager
xfce4_pulseaudio_plugin
xfce4_screenshooter
xfce4_sensors_plugin
xfce4_session
xfce4_settings
xfce4_systemload_plugin
xfce4_terminal
xfce4_xkb_plugin
xfce_theme_Greybird

事例-3)
icuパッケージの情報(バージョン、サイズ、ファイルリスト)を知りたいとき、
$ pkginfo icu
PACKAGE NAME:     icu-65.1-x86_64-B1
COMPRESSED PACKAGE SIZE:     9234 K
UNCOMPRESSED PACKAGE SIZE:     39320 K
PACKAGE LOCATION: icu-65.1-x86_64-B1.txz
PACKAGE DESCRIPTION:
icu: library for UNICODE handling
icu:   
icu: ICU(International COmprnets for Unicode) is a collection of libraries
icu: for UNICODE handling.
icu:   
icu:   
icu:   
icu:   
icu:   
icu:   
icu:   
FILE LIST:
usr/
usr/lib/
usr/lib/icu/
usr/lib/icu/65.1/
usr/lib/icu/65.1/Makefile.inc
usr/lib/icu/65.1/pkgdata.inc
usr/lib/icu/current
usr/lib/icu/Makefile.inc
usr/lib/icu/pkgdata.inc
usr/lib/pkgconfig/
usr/lib/pkgconfig/icu-uc.pc
usr/lib/pkgconfig/icu-i18n.pc
・・・以下省略



Follow-Ups
[plamo:33151] Re: 誤字、失礼しました & Useful scripts, 山本 伸一
References
[plamo:33145] Re: mpv, KOJIMA Mitsuhiro
[plamo:33146] vulkan(Re: Re: mpv), KOJIMA Mitsuhiro
[plamo:33147] /usr/include/unicode/ptypes.h は、どのパッケージでしょう, 山本 伸一

[検索ページ] [メール一覧]
Plamo ML 公開システム