1. How to install package
rpm
-i package.rpm
RPM URL like
https://dl.rockylinux.org/pub/rocky/8.8/AppStream/x86_64/os/Packages/v/vim-common-8.0.1763-19.el8_6.4.x86_64.rpm
Hi, I'm a linux system administrator / DevOps / Cloud Administrator with more than 10 years of experience in the industry. I have shared my real life knowledge and experience here.
rpm -ivh package.rpm or rpm -ivh rpm_package_url.rpm
rpm -U package.rpm
rpm -e packageName
rpm -q packageName
rpm -qa
rpm -V package.rpm
rpm -ql package.rpm
rpm -qf /path/to/file
rpm -ivh --nodeps package.rpm
rpm --import /path/to/gpg_key.asc
rpm -qd Package_name
rpm -qc Package_name
rpm --setperm Package_name.rpm
rpm -qi Package_name.rpm
rpm -q --changelog Package_name
rpm -q --whatprovides library_name
rpm -Va
rpm -qR Package_name
rpm --checksig package.rpm
rpm -Vc
rpm -qf $(command -v executable_name)
rpm -q --queryformat '%{SIZE}\n' package_name
rpm -q --scripts package_name
rpm -qa --last
rpm -qi package_name | grep Vendor
rpm -qi package_name | grep License
rpm --rebuilddb
Linux server hardening is the process of securing a Linux server by reducing its attack surface and mitigating security risks. The goal is ...
No comments:
Post a Comment