2012/7/23 Fernando Cassia fcassia@gmail.com:
This alias should be a great default addition to the bashrc... as it helps install packages to a CentOS system from the mounted install CD before you get networking up and running...
alias localyum='yum --disablerepo=* localinstall'
Does Red Hat care about Requests for Enhancement? or is filing a bug pointless?
FC
Since the latest version of yum obsolete (in Fedora at least so I believe in CentOS it is/will be the same) the localinstall option, I believe that using this alias is useless.
Fabien
On Mon, Jul 23, 2012 at 3:00 AM, Fabien Archambault fabien.archambault@univ-amu.fr wrote:
Since the latest version of yum obsolete the localinstall option, I believe that using this alias is useless.
I have used yum's localinstall option on my CenOS 6.3 box... and it worked...
FC
On Mon, Jul 23, 2012 at 3:00 AM, Fabien Archambault fabien.archambault@univ-amu.fr wrote:
I believe that using this alias is useless.
But the removal of localinstall doesn´t mean an easy to remember alias wouldn´t be of use, it´d just mean that the syntax would change to alias localyum='yum --disablerepo=* ´
ie localyum install /media/CentOS6/Packages/whatever.rpm
:) FC
On 07/23/2012 10:15 AM, Fernando Cassia wrote:
On Mon, Jul 23, 2012 at 3:00 AM, Fabien Archambault fabien.archambault@univ-amu.fr wrote:
I believe that using this alias is useless.
But the removal of localinstall doesn´t mean an easy to remember alias wouldn´t be of use, it´d just mean that the syntax would change to alias localyum='yum --disablerepo=* ´
ie localyum install /media/CentOS6/Packages/whatever.rpm
Little old thread, but needs answer for future reference.
"yum install <rpm>" works, and I think it worked/works on CentOS 5.x. I stumbled on this while installing dependencies for packages I recompiled. I was installing while in directories with rpm file and using wildcards in yum install command.