Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Uninstall Hyperledger Composer

How do I completely uninstall Hyperledger Composer (and underlying Hyperledger Fabric), including all dependencies, docker images and node/npm modules?

I had followed the following setup while installing: https://hyperledger.github.io/composer/installing/development-tools.html

I have done the following already:

npm uninstall -g composer-cli
npm uninstall -g composer-rest-server
npm uninstall -g generator-hyperledger-composer
npm uninstall -g yo
npm uninstall -g composer-playground
like image 348
Abhilash Kishore Avatar asked Jan 21 '18 09:01

Abhilash Kishore


People also ask

How do you remove Hyperledger from fabric?

The install instructions download some Git repositories to a directory of your choice. Delete everything downloaded to whichever directory you chose. Bring down any running Fabric Docker networks, then remove all Fabric Docker containers and images. Worked!

Is Hyperledger composer still available?

As of August 2021, Hyperledger Composer is End of Life. None of the maintainers are actively developing new features. None of the maintainers are actively providing support via GitHub issues. However, if you wish to submit code changes via pull requests, these will be merged.

Why is Hyperledger composer deprecated?

According to IBM, there are following three problems with Hyperledger Composer: Composer has been designed from the start to support multiple blockchain platforms, not just Fabric - but this design has come at a cost.

What is Hyperledger composer used for?

Hyperledger Composer is a set of collaboration tools for building blockchain business networks that make it simple and fast for business owners and developers to create smart contracts and blockchain applications to solve business problems. Built with JavaScript, leveraging modern tools including node.


1 Answers

I think you have the npm modules sorted.

To remove all docker containers and images:

docker kill $(docker ps -q) docker rm $(docker ps -aq) docker rmi $(docker images -q)

Remove composer cards folder rm -rf ~/.composer

To remove the scripts and tools to create Fabric: rm -rf ~/.fabric-tools

To remove docker-compose: sudo rm /usr/local/bin/docker-compose

To remove docker: sudo apt-get remove docker-ce

Check the "prereqs-ubuntu.sh" script to see the other "apt-get install" commands and see if you want to remove them too.

like image 78
R Thatcher Avatar answered Sep 21 '22 14:09

R Thatcher