As 2.0 Release Notes mentions, it required to remove 1.8 first.
% sudo yum remove mongo-stable-20110131-mongodb_1 % vi /etc/yum.repos.d/10gen.repo % cat /etc/yum.repos.d/10gen.repo [10gen] name=10gen Repository baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64 gpgcheck=0 % sudo yum install mongo-10gen-server
When I tried to yum update mongo-stable, got conflict error “Error: mongo18-10gen conflicts with mongo-10gen”. I also needed to rewrite yum repository since my old config pointed at baseurl=http://downloads.mongodb.org/distros/centos/5.4/os/x86_64/.
It seems epel repository has mongodb package, when you “yum search mongo” you’ll probably find mongodb package aside from mongo-10gen which is a bit confusing.