ihue ihue - 5 months ago 92
Linux Question

Install Pgloader in Cent OS 6.7

I'm trying to install pgloader on centOS 6.7 (64 bits)




Steps



wget http://pgsql.tapoueh.org/pgloader/pgloader-3.0.98-21.el6.x86_64.rpm
rpm -Uvh pgloader-3.0.98-21.el6.x86_64.rpm





Result




-Uvh pgloader-3.0.98-21.el6.x86_64.rpm: unknown option





How can I fix it ? Did I miss anything ? Do I need to install rpm or anything like that ?

Answer

looks like your rpm doesn't support all options well. Try just

rpm -i pgloader-3.0.98-21.el6.x86_64.rpm