pkgdir

Package: WA2L/edrc 1.5.57
Section: Maintenance Commands (1m)
Updated: 13 April 2025
Index Return to Main Contents

 

NAME

pkgdir - directory of package/software handling commands on different operating systems

 

SYNOPSIS

-

 

AVAILABILITY

WA2L/edrc

 

DESCRIPTION

This is a directory of operating system package handling commands for different operating systems.

 

OVERVIEW

GRP   OSIDDESCRIPTION

RPM                                                                                    
LinuxRedHat Linux based
Linux-64
Linux-ia


DEB
LinuxDebian Linux based
Linux-64


HPX
HP-10Hewlett Packard Unix
HP-11
HP-11ia


SOL
SolarisSun System-5 Unix
Solaris-x86


SUN
SunOSSun BSD Unix


AIX
AIXIBM Unix


OSF                                                                                      
DEC-OSF1Digital Unix

GRP   OSIDDESCRIPTION

PIP                                                                                      
*Python Package Installation (pip)


ROK
*Lua Package Installation (luarocks)


CPA
*Perl Package Installation (cpanm)

 

RPM - RedHat (rpm) Linux based

ACT: QRY=Query, INS=Install, UPD=Update, DEL=Uninstall, BLD=Build, CFG=Config
SRC: S=System, F=File, R=Repository

ACTSRCCOMMENTCOMMAND

QRY                                                                                    
Sall rpm --query --all
rpm -qa

Sdetail info rpm --query --info coreutils
rpm -qi coreutils

Schangelog rpm --query --changelog coreutils
rpm -q --changelog coreutils

Sfiles rpm --query --list coreutils
rpm -ql coreutils

Spkg of file rpm --query --whatprovides "/bin/ls"
rpm -q --whatprovides "/bin/ls"

Sdetails rpm --query --all --queryformat \
  "%{NAME}-%{VERSION}-%{RELEASE} %{INSTALLTIME:date} %{SUMMARY}\n"
rpm -qa --qf \
  "%{NAME}-%{VERSION}-%{RELEASE} %{INSTALLTIME:date} %{SUMMARY}\n"

Sscripts rpm --query --scripts coreutils
rpm -q --scripts coreutils





Fdetail info rpm --query --package --info man-2.6.3-4.1.3.x86_64.rpm
rpm -qpi man-2.6.3-4.1.3.x86_64.rpm

Ffiles rpm --query --package --list man-2.6.3-4.1.3.x86_64.rpm
rpm -qpl man-2.6.3-4.1.3.x86_64.rpm

lscomp man-2.6.3-4.1.3.x86_64.rpm
llcomp man-2.6.3-4.1.3.x86_64.rpm
catcomp man-2.6.3-4.1.3.x86_64.rpm /etc/manpath.config
unrpm man-2.6.3-4.1.3.x86_64.rpm

Fchangelog rpm --query --changelog man-2.6.3-4.1.3.x86_64.rpm
rpm -q --changelog man-2.6.3-4.1.3.x86_64.rpm

Fscripts rpm --query --package --scripts man-2.6.3-4.1.3.x86_64.rpm
rpm -qp --scripts man-2.6.3-4.1.3.x86_64.rpm

ACTSRCCOMMENTCOMMAND

INS                                                                                    
Finstall rpm --install --verbose man-2.6.3-4.1.3.x86_64.rpm
rpm -iv man-2.6.3-4.1.3.x86_64.rpm

Fno depend- rpm --install --verbose --nodeps man-2.6.3-4.1.3.x86_64.rpm
dency check rpm -iv --nodeps man-2.6.3-4.1.3.x86_64.rpm

Fforce installrpm --install --verbose --force man-2.6.3-4.1.3.x86_64.rpm
rpm -iv --force man-2.6.3-4.1.3.x86_64.rpm


UPD
Fupdate rpm --update --verbose man-2.6.3-4.1.3.x86_64.rpm
rpm -Uv man-2.6.3-4.1.3.x86_64.rpm

Fno depend- rpm --update --verbose --nodeps man-2.6.3-4.1.3.x86_64.rpm
ency check rpm -Uv --nodeps man-2.6.3-4.1.3.x86_64.rpm

Fforce update rpm --update --verbose --force man-2.6.3-4.1.3.x86_64.rpm
rpm -Uv --force man-2.6.3-4.1.3.x86_64.rpm


DEL
Suninstall rpm --erase --verbose man
rpm -ev man


BLD

CFG

See: rpm(8), rpmbuild(8).

On systems lacking the rpm packages query the CentOS man pages using edrcman -o CentOS manpage.

 

DEB - Debian Linux based

ACT: QRY=Query, INS=Install, UPD=Update, DEL=Uninstall, BLD=Build, CFG=Config
SRC: S=System, F=File, R=Repository

ACTSRCCOMMENTCOMMAND

QRY                                                                                    
Sall dpkg-query --list
dpkg-query -l

Sall dpkg-query --show
dpkg-query -W

Spkg search dpkg-query --list 'opera*'
dpkg-query -l 'opera*'

Spkg search dpkg-query --show 'opera*'
dpkg-query -W 'opera*'

Sdetail info dpkg-query --status coreutils
dpkg-query -s coreutils

Sfiles dpkg-query --listfiles coreutils
dpkg-query -L coreutils

Spkg of file dpkg-query --search /bin/ls
dpkg-query -S /bin/ls

Sdetails dpkg-query --show \
  --showformat='${binary:Package}-${Version} ${binary:Summary}\n'
dpkg-query -W \
  -f='${binary:Package}-${Version} ${binary:Summary}\n'





Fdetail info dpkg --info apt_1.6.17_amd64.deb
dpkg -I apt_1.6.17_amd64.deb

Ffiles dpkg --contents apt_1.6.17_amd64.deb
dpkg -c apt_1.6.17_amd64.deb

lscomp apt_1.6.17_amd64.deb
llcomp apt_1.6.17_amd64.deb
catcomp apt_1.6.17_amd64.deb /lib/systemd/system/apt-daily.service
undeb apt_1.6.17_amd64.deb





Rdetail info apt-cache cache show coreutils

ACTSRCCOMMENTCOMMAND

INS                                                                                    
Rinstall apt-get install libslang2-dev





Finstall dpkg --install opera-stable_90.0.4480.48_amd64.deb
dpkg -i opera-stable_90.0.4480.48_amd64.deb


UPD
Rupdate apt-get update && apt-get --only-upgrade install firefox





Fupdate dpkg --install opera-stable_90.0.4480.48_amd64.deb
dpkg -i opera-stable_90.0.4480.48_amd64.deb


DEL
Suninstall apt remove libslang2-dev

Suninstall dpkg --remove opera-stable
dpkg -r opera-stable

Spurge config dpkg --purge opera-stable
dpkg -P opera-stable


BLD

CFG
Rshow config cat /etc/apt/sources.list

Rsearch apt-cache search coreutils
apt-cache search .

See: apt(8), apt-cache(1), dpkg(1), dpkg-query(1), apt-get(8).

On systems lacking the apt/dpkg packages query the Ubuntu man pages using edrcman -o Ubuntu manpage.

 

HPX - Hewlett Packard Unix

ACT: QRY=Query, INS=Install, UPD=Update, DEL=Uninstall, BLD=Build, CFG=Config
SRC: S=System, F=File, R=Repository

ACTSRCCOMMENTCOMMAND

QRY                                                                                    

INS                                                                                    

UPD

DEL

BLD

CFG

See: swdepot(1m).

On systems lacking the swdepot packages see mandir(4) to find online man page resources or use edrcman -i hpux manpage.

 

SOL - Solaris

ACT: QRY=Query, INS=Install, UPD=Update, DEL=Uninstall, BLD=Build, CFG=Config
SRC: S=System, F=File, R=Repository

ACTSRCCOMMENTCOMMAND

QRY                                                                                    
Sdetail info pkginfo SUNWman





Fdetail info pkginfo -d /dat/sw SUNWman


INS                                                                                    
Finstall pkgadd -d /dat/sw SUNWman


UPD

DEL
Suninstall pkgrm SUNWman


BLD

CFG

See: pkg(1), pkgadd(8), pkginfo(1), pkgmk(1), pkgrm(8).

On systems lacking the pkg packages query the OpenSolaris man pages using edrcman -o OpenSolaris manpage.

 

SUN - SunOS

ACT: QRY=Query, INS=Install, UPD=Update, DEL=Uninstall, BLD=Build, CFG=Config
SRC: S=System, F=File, R=Repository

ACTSRCCOMMENTCOMMAND

QRY                                                                                    

INS                                                                                    

UPD

DEL

BLD

CFG

See: -

On systems lacking the SunOS packages see mandir(4) to find online man page resources or use edrcman -i sunos manpage.

 

AIX - IBM Unix

ACT: QRY=Query, INS=Install, UPD=Update, DEL=Uninstall, BLD=Build, CFG=Config
SRC: S=System, F=File, R=Repository

ACTSRCCOMMENTCOMMAND

QRY                                                                                    
Finfo installp -l -d NSH86-AIX32.bff


INS                                                                                    
Finstall installp -ac -d NSH86-AIX32.bff bladelogic.nsh


UPD
Fupdate installp -ac -d NSH86-AIX32.bff bladelogic.nsh


DEL
Suninstall installp -u bladelogic.nsh


BLD

CFG

See: -

On systems lacking the installp packages see mandir(4) to find online man page resources.

 

OSF - Digital Unix

ACT: QRY=Query, INS=Install, UPD=Update, DEL=Uninstall, BLD=Build, CFG=Config
SRC: S=System, F=File, R=Repository

ACTSRCCOMMENTCOMMAND

QRY                                                                                    

INS                                                                                    

UPD

DEL

BLD

CFG

See: -

On systems lacking the Digital Unix packages see mandir(4) to find online man page resources.

 

PIP - Python Package Installation

ACT: QRY=Query, DNL=Download, INS=Install, UPD=Update, DEL=Uninstall, BLD=Build, CFG=Config
SRC: S=System, F=File, R=Repository

ACTSRCCOMMENTCOMMAND

QRY                                                                                    
Sall pip list

SWA2L/edrcpip list --local
venv

Sdetail info pip show complex

Sfiles pip show --files complex
pip show -f complex

Srequirements pip freeze --local > requirements.txt





Ffiles lscomp complex-0.2.0.tar.gz
llcomp complex-0.2.0.tar.gz

lscomp complex-0.2.0-py3-none-any.whl
llcomp complex-0.2.0-py3-none-any.whl

Fdetail info catcomp complex-0.2.0.tar.gz \
  complex-0.2.0.tar.gz/PKG-INFO

catcomp complex-0.2.0-py3-none-any.whl \
  complex-0.2.0.dist-info/METADATA


DNL                                                                                    
Rsource tar.gzpip download --no-binary :all: complex

Rwheel .whl pip download complex


INS                                                                                    
Rinstall pip install complex

Rno depend- pip install --no-deps complex
dency check

Rrequirements pip install -r requirements.txt





Finstall pip install complex-0.2.0.tar.gz
pip install complex-0.2.0-py3-none-any.whl

Fno depend- pip install --no-deps complex-0.2.0.tar.gz
dency check pip install --no-deps complex-0.2.0-py3-none-any.whl

ACTSRCCOMMENTCOMMAND

UPD                                                                                    
Supgrade pip install --upgrade complex
pip install -U complex





Fupgrade pip install --upgrade complex-0.2.0.tar.gz
pip install -U complex-0.2.0.tar.gz

pip install --upgrade complex-0.2.0-py3-none-any.whl
pip install -U complex-0.2.0-py3-none-any.whl


DEL
Suninstall pip uninstall complex


BLD

CFG
Svenv python3 -m venv --system-site-packages /home/jdoe/py-venv

Svenv python3 -m venv /home/jdoe/py-venv

SWA2L/edrcedrc/lib/python/pym/.mk-venv
venv

See: pip(1), pip3(1), pip3-check(1), pip3-download(1), pip3-freeze(1), pip3-hash(1), pip3-help(1), pip3-install(1), pip3-list(1), pip3-search(1), pip3-show(1), pip3-uninstall(1), pip3-wheel(1), pythonenv(3)

The edrc/bin/pip command pip(1) works against the Python3 virtual environment (venv) distributed with WA2L/edrc located in the edrc/lib/python/pym/<OSID>/<major>.<minor>/ directory.

 

ROK - Lua Package Installation

ACT: QRY=Query, DNL=Download, INS=Install, UPD=Update, DEL=Uninstall, BLD=Build, CFG=Config
SRC: S=System, F=File, R=Repository

ACTSRCCOMMENTCOMMAND

QRY                                                                                    
Sall luarocks list

Sdetail info luarocks show lcomplex





Ffiles lscomp lcomplex-20180729-1.src.rocks
llcomp lcomplex-20180729-1.src.rocks

Fdetail info catcomp lcomplex-20180729-1.src.rocks \
  lcomplex-20180729-1.rockspec





Rsearch luarocks search math


DNL                                                                                    
R.src.rocks luarocks download lcomplex


INS                                                                                    
Rinstall luarocks install lcomplex

Rre-install luarocks install lcomplex --force





Finstall luarocks install lcomplex-20180729-1.src.rocks


UPD                                                                                    
Rupdate luarocks install lcomplex --force


DEL
Suninstall luarocks uninstall lcomplex


BLD

CFG
SWA2L/edrcedrc/lib/lua/lum/.mk-struct
lua env

See: luaenv(3), luarocks(1), luarocks.cfg(4), luaversion(3), lua_wrapper(1), https://luarocks.org/, https://github.com/luarocks/luarocks/blob/main/docs/index.md

The edrc/bin/luarocks command works against the Lua environment distributed with WA2L/edrc located in the edrc/lib/lua/lum/<OSID>/<major>.<minor>/ directory.

After installing a package/module that provides compiled libraries into edrc/lib/lua/lum/<OSID>/<major>.<minor>/lib/lua/<major>.<minor>/<GLIBC>/ ensure to manually create the related symbolic links to provide maximal portability.

 

CPA - Perl Package Installation

ACT: QRY=Query, DNL=Download, INS=Install, UPD=Update, DEL=Uninstall, BLD=Build, CFG=Config
SRC: S=System, F=File, R=Repository

ACTSRCCOMMENTCOMMAND

QRY                                                                                    
Sall pmdesc

Sall lspm





Ffiles lscomp MIME-Base64-3.16.tar.gz
llcomp MIME-Base64-3.16.tar.gz

Fdetail info catcomp MIME-Base64-3.16.tar.gz \
  MIME-Base64-3.16/META.json

Fdetail info catcomp MIME-Base64-3.16.tar.gz \
  MIME-Base64-3.16/README


DNL                                                                                    
R.tar.gz cpan -g MIME::Base64


INS                                                                                    
Rinstall cpanm -i MIME::Base64





Finstall cpanm -i MIME-Base64-3.16.tar.gz


UPD                                                                                    
Rupdate cpanm -i MIME::Base64





Fupdate cpanm -i MIME-Base64-3.16.tar.gz


DEL
Suninstall cpanm -u MIME::Base64


BLD

CFG

See: cpanm(1), cpan(1), lspm(1) perlenv(3), perlversion(3), perl_wrapper(1) pmdesc(1),

The edrc/bin/cpanm command works against the Perl environment distributed with WA2L/edrc located in the edrc/lib/perl/pm/perl5/<major>.<minor>.<patch>/root/ directory.

 

SEE ALSO

edrcintro(1), catcomp(1), edrcman(1), lscomp(1), llcomp(1), mandir(4), osid(3), undeb(1), unrpm(1)

 

NOTES

-

 

BUGS

-

 

AUTHOR

pkgdir was developed by Christian Walther. Send suggestions and bug reports to wa2l@users.sourceforge.net .

 

COPYRIGHT

Copyright © 2023 Christian Walther

This is free software; see edrc/doc/COPYING for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


 

Index

NAME
SYNOPSIS
AVAILABILITY
DESCRIPTION
OVERVIEW
RPM - RedHat (rpm) Linux based
DEB - Debian Linux based
HPX - Hewlett Packard Unix
SOL - Solaris
SUN - SunOS
AIX - IBM Unix
OSF - Digital Unix
PIP - Python Package Installation
ROK - Lua Package Installation
CPA - Perl Package Installation
SEE ALSO
NOTES
BUGS
AUTHOR
COPYRIGHT

This document was created by man2html using the manual pages.
Time: 19:30:28 GMT, May 27, 2025