1)Download pkg from below URL:
https://packages.couchbase.com/releases/7.1.0/couchbase-server-enterprise-7.1.0-amzn2.x86_64.rpm
wget https://packages.couchbase.com/releases/7.1.0/couchbase-server-enterprise-7.1.0-amzn2.x86_64.rpm
2)ls -l
3)rpm -ivh pkg-name
[root@ip-172-31-40-252 ~]# rpm -ivh couchbase-server-enterprise-7.1.0-amzn2.x86_64.rpm
error: Failed dependencies:
libtinfo.so.5()(64bit) is needed by couchbase-server-7.1.0-2556.x86_64
[root@ip-172-31-40-252 ~]# yum install libtinfo*
4)verify pkg installed or not
[root@ip-172-31-40-252 rpmdemo]# rpm -qa|grep couchbase-server
couchbase-server-7.1.0-2556.x86_64
5)Remove installed rpm package:
[root@ip-172-31-40-252 rpmdemo]# rpm -e couchbase-server-7.1.0-2556.x86_64
warning: file /opt/couchbase/var/lib/couchbase/ip_start: remove failed: No such file or directory
warning: /opt/couchbase/var/lib/couchbase/ip saved as /opt/couchbase/var/lib/couchbase/ip.rpmsave
warning: /opt/couchbase/var/lib/couchbase/config/config.dat saved as /opt/couchbase/var/lib/couchbase/config/config.dat.rpmsave
warning: /opt/couchbase/etc/couchdb/local.ini saved as /opt/couchbase/etc/couchdb/local.ini.rpmsave
[root@ip-172-31-40-252 rpmdemo]# rpm -qa|grep couchbase-server
[root@ip-172-31-40-252 rpmdemo]#
No comments:
Post a Comment