Re: [CentOS] 'localyum' alias...

2012-11-19 Thread Ljubomir Ljubojevic
On 07/23/2012 10:15 AM, Fernando Cassia wrote:
 On Mon, Jul 23, 2012 at 3:00 AM, Fabien Archambault
 fabien.archamba...@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.


-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 'localyum' alias...

2012-07-23 Thread Fabien Archambault
2012/7/23 Fernando Cassia fcas...@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
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 'localyum' alias...

2012-07-23 Thread Fernando Cassia
On Mon, Jul 23, 2012 at 3:00 AM, Fabien Archambault
fabien.archamba...@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
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 'localyum' alias...

2012-07-23 Thread Fabien Archambault
2012/7/23 Fernando Cassia fcas...@gmail.com:
 On Mon, Jul 23, 2012 at 3:00 AM, Fabien Archambault
 fabien.archamba...@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...

This option is kept for legacy purpose [1] (or man yum). It works yet
but will be removed in the future releases (years ago) I believe.

[1] http://linux.die.net/man/8/yum


 FC
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 'localyum' alias...

2012-07-23 Thread Fernando Cassia
On Mon, Jul 23, 2012 at 3:31 AM, Fabien Archambault
fabien.archamba...@univ-amu.fr wrote:

 This option is kept for legacy purpose [1] (or man yum). It works yet
 but will be removed in the future releases (years ago) I believe.

Thanks. I wasn´t aware of this. Luckily if I read this correctly, the
ability to install packages from a local source won´tbe hampered, it
just won´t need the ´localinstall´ option...

FC
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 'localyum' alias...

2012-07-23 Thread Fernando Cassia
On Mon, Jul 23, 2012 at 3:00 AM, Fabien Archambault
fabien.archamba...@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
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] 'localyum' alias...

2012-07-22 Thread Fernando Cassia
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
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos