Dup Ver Goto 📝

PackageManagement101

To
43 lines, 126 words, 1079 chars Page 'PackageManagement101' does not exist.

See linux-audit. See fedora docs on dnf vs apt

Adding and Removing

Listing packages

List installed packages (see tylersguides)

dnf list installed

Which package contains

dnf provides /bin/ps

Though this searches all packages, including those not installed. For me, under Rocky 9 KDE, the kde-connect daemon crashes, and I don't need it. So to find the package name

dnf provides $(which kdeconnect-app)

which yields

kde-connect...

but this is slow. Rather (as above)

dnf list installed | grep kde | grep connect

and then

dnf remove kdeconnectd

Installing Dependencies

See this stackoverflow.

yum --nogpgcheck localinstall packagename.arch.rpm

actually with dnf you can now just do

dnf install package.rpm