Hello, I’m trying to install the Python SDK on a Red Hat system.
I’m following this guide:https://developer.couchbase.com/documentation/server/current/sdk/python/start-using-sdk.html
Unfortunately, I’m stuck on the command 3 of 4:
sudo yum install libcouchbase-devel
Loaded plugins: product-id, search-disabled-repos, subscription-manager
No package libcouchbase-devel available.
Error: Nothing to do
Why I cannot find this package? Do I have to add some repositories? I tried to add EPEL repo, as suggested for point 4, but to no avail.
Are the other Couchbase packages available for install? e.g. yum search couchbase? If you’ve installed the Couchbase repo, it should just work.
My output using that command:
yum search couchbase
Loaded plugins: product-id, search-disabled-repos, subscription-manager
====== N/S matched: couchbase ======
couchbase-server-community.x86_64 : Couchbase Server
Name and summary matches only, use "search all" for everything.
Which is actually the rmp I installed at points 1 and 2 of the guide, I suppose.
It sounds like for some reason the repository itself is not even working, or you didn’t install the Couchbase repository? what does yum repolist say?
btw, I just followed the steps verbatim (copying/pasting the commands) and it works fine on a new Docker EL7 container
yum repolist
Loaded plugins: product-id, search-disabled-repos, subscription-manager
file:///cdrom/repodata/repomd.xml: [Errno 14] curl#37 - "Couldn't open file /cdrom/repodata/repomd.xml"
Trying other mirror.
repo id repo name status
!cdrom CDROM Repo 4,620
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 11,303
nodesource/x86_64 Node.js Packages for Enterprise Linux 7 - x86_64 61
repolist: 15,984
Sounds like the repository is not even in the list. But if I go back to point 2, I get the output:
sudo rpm -iv couchbase-server-community-4.5.0-centos7.x86_64.rpm
Preparing packages...
package couchbase-server-community-4.5.0-2601.x86_64 is already installed
The instructions don’t tell you to install Couchbase Server (although you should have a server somewhere!), but rather the couchbase-release package.
…ops, right, it seems I was using the wrong rpm for that.
Thank you for your help.