Skip to content

Instantly share code, notes, and snippets.

<?php
array(
'name'=>'name',
'type'=>'raw',
'value'=>'$data->name',
'filter'=>$this->widget('zii.widgets.jui.CJuiAutoComplete', array(
'model'=>$model,
'attribute'=>'name',
'source'=>$this->createUrl('user/usersAutoComplete'),
'options'=>array(

Installing git on CentOS 5 using yum

Since you're using CentOS 5, the default package manager is yum, not apt-get. To install a program using it, you'd normally use the following command:

$ sudo yum install <packagename>

However, when trying to install git this way, you'll encounter the following error on CentOS 5: