Installing LO using yum localinstall

I use Fedora and I generally use "yum localinstall" to install my RPMs.

I also add an exclude=libreoffice* in yum.conf so that yum does not try to update libreoffice when a new copy is pushed to the Fedora repositories. This then causes yum to ignore the RPMs that match the wild-card, so dependencies fail, and it refuses to install until I remove the exclude from yum.conf.

So,

is setting the exclude no longer needed in yum.conf as long as I keep up with the latest releases?

should I just use rpm to install this?

did I do something wrong?

Just looking for thoughts.

Hi Andrew,

I have to admit I don't know much about the internal working of yum/dnf. When I install a new version of Fedora I "yum remove libreoffice*". I then install the latest version I am using "yum install *.rpm".

I have a cron job which runs "yum update" every night (in fact I have moved to "dnf update" recently). I have always thought that this update only affects applications I have installed via the repos. Hence no need to modify yum.conf in the way you suggest.

So far, so good.

Cheers