installation vs deployment rpm/yum dpkg/apt-get redhat satellite ubuntu landscape or puppet/chef
for installation we use rpm/yum dpkg/apt-get
for deployment redhat satellite ubuntu landscape or puppet/chef
there could be online repositories or managed inhouse via redhat satelite
show available repositories [root@192 centos]# yum repolist
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.besthosting.ua
* epel: epel.ip-connect.vn.ua
* extras: mirror.besthosting.ua
* updates: centos2.hti.pl
repo id repo name status
base/7/x86_64 CentOS-7 - Base 9,363
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 11,446
extras/7/x86_64 CentOS-7 - Extras 311
updates/7/x86_64 CentOS-7 - Updates 1,126
repolist: 22,246
Look for package name, it's not looking inside the packages for binary names
root@192 centos]# yum search nmap
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.besthosting.ua
* epel: epel.ip-connect.vn.ua
* extras: mirror.besthosting.ua
* updates: centos2.hti.pl
======================================= N/S matched: nmap =======================================
nmap-frontend.noarch : The GTK+ front end for nmap
nmap-ncat.x86_64 : Nmap's Netcat replacement
nmap.x86_64 : Network exploration tool and security scanner
Name and summary matches only, use "search all" for everything.
[root@192 centos]#
[root@192 centos]# yum remove bash #fails due to dependencies
[root@192 centos]# yum provides */sepolicy policycoreutils-devel-2.5-11.el7_3.x86_64 : SELinux policy core policy devel utilities
Repo : updates
Matched from:
Filename : /usr/share/bash-completion/completions/sepolicy
Filename : /usr/bin/sepolicy
[root@svn opt]# rpm -ql java-1.8.0-openjdk-devel-debug.x86_64/usr/lib/jvm-exports/java-1.8.0-openjdk-1.8.0.131-2.b11.el7_3.x86_64-debug
for deployment redhat satellite ubuntu landscape or puppet/chef
there could be online repositories or managed inhouse via redhat satelite
show available repositories [root@192 centos]# yum repolist
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.besthosting.ua
* epel: epel.ip-connect.vn.ua
* extras: mirror.besthosting.ua
* updates: centos2.hti.pl
repo id repo name status
base/7/x86_64 CentOS-7 - Base 9,363
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 11,446
extras/7/x86_64 CentOS-7 - Extras 311
updates/7/x86_64 CentOS-7 - Updates 1,126
repolist: 22,246
Look for package name, it's not looking inside the packages for binary names
root@192 centos]# yum search nmap
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.besthosting.ua
* epel: epel.ip-connect.vn.ua
* extras: mirror.besthosting.ua
* updates: centos2.hti.pl
======================================= N/S matched: nmap =======================================
nmap-frontend.noarch : The GTK+ front end for nmap
nmap-ncat.x86_64 : Nmap's Netcat replacement
nmap.x86_64 : Network exploration tool and security scanner
Name and summary matches only, use "search all" for everything.
[root@192 centos]#
[root@192 centos]# yum remove bash #fails due to dependencies
[root@192 centos]# yum provides */sepolicy policycoreutils-devel-2.5-11.el7_3.x86_64 : SELinux policy core policy devel utilities
Repo : updates
Matched from:
Filename : /usr/share/bash-completion/completions/sepolicy
Filename : /usr/bin/sepolicy
rpm -ql package
should give you a list of all files installed for a given package.
Comments
Post a Comment