Repositories
Installing software in Linux is different from Windows in that it is
done via repositories. It can help to think of package managers as the
equivalent of an advanced version of Add/Remove Programs in Control
Panel in Windows. This way programs can be virus checked before the
user installs them.Install Repositories
[rhel6]
name = my first repo file ashish gajjar
baseurl=path of pkg
enabled=1
gpgcheck= 0/1 (note: pkg signature authority)
-------------------------------------------------------------------------------------------------------------------------------------------
- RPM pkg download from repositories.
- Tools are installed pkg from repositories or updating entire system.
- RPM solve dependencies to use yum : m.conf
- yum : collection of pkg.
- cd /etc/yum.repos.d
- vim base.repo
[rhel6]
name = my first repo file ashish gajjar
baseurl=path of pkg
enabled=1
gpgcheck= 0/1 (note: pkg signature authority)
-------------------------------------------------------------------------------------------------------------------------------------------
- yum repolist : list of ripo file.
- yum list install : install pkg list.
- yum install pkgname : install pkg
- yum remove pkgname : remove pkg
- yum update pkgname : update pkg
- yum search pkgname : search a pkg
- yum cleanall : clear all pkg.
Leave a Comment