How to know if a package is there on your CentOS or not ?


To find a exisiting package on your CentOS system, just type this command 


# rpm -ql "package_name"

For instance, to download the youtube videos, we need the youtube package - "youtube -dl" 

rpm -ql youtube-dl

So, you will see a list of files within that package, and that makes sure the presence of that package on your system. 




If the package is not installed, the terminal will display 

" package youtube-dl is not installed "



That's all



Live Linux...!!!
+CentOS