I am a non-root user on a shared centos7 server host.I try to install some softwares on this machine according to the method in the link. How can I check whether some dependencies are lack before installation according to the method in above link.
how to check whether some dependencies are lack before a rpm package is installed by a non-root user
Asked
Active
Viewed 347 times
1 Answers
3
rpm -ivh 1.rpm 2.rpm 3.rpm
Will report all the missing dependencies. If everything is satisfied it will complain about missing root privileges.

Artem S. Tashkinov
- 29,025
git-2.39.0-2.1.src.rpm
. However, the output is: warning: git-2.39.0-2.1.src.rpm: Header V3 RSA/SHA256 Signature, key ID 3dbdc284: NOKEY \ Updating / installing... \ 1:git-2.39.0-2.1 ################################# [100%]\ It didn't point out any packages missing or missing root privileges. – echo Jan 16 '23 at 10:21~/rpmbuild
. – Artem S. Tashkinov Jan 16 '23 at 10:55