Tuesday, February 2, 2021

I ran through these instructions
https://sovrin.org/wp-content/uploads/Token-Test-Instructions.pdf

I used Ubuntu 16.04 running from Virtualbox. All seemed fine until I got to this instruction:

ubuntu@ubuntu:~$ sudo apt-get install -y indy-cli libsovtoken
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 indy-cli : Depends: libindy (= 1.15.0)
 libsovtoken : Depends: libindy (>= 1.14.0)
E: Unable to correct problems, you have held broken packages.

I found: https://lib.rs/gh/hyperledger/indy-sdk/libindy
(however, I did not find that it was up to date?)

I found this: https://github.com/hyperledger/indy-sdk
and this: https://github.com/hyperledger/indy-sdk/blob/master/docs/how-tos/write-did-and-query-verkey/README.md

https://github.com/hyperledger/indy-sdk/blob/master/docs/getting-started/indy-walkthrough.md

https://github.com/Microsoft/WSL/issues/640 (fix error with apt-get)
https://github.com/hyperledger/indy-sdk/blob/master/docs/build-guides/ubuntu-build.md
https://www.rust-lang.org/tools/install 


I need to also install this for the rest of ubuntu-build to work:

sudo add-apt-repository "https://packages.ubuntu.com/xenial/amd64/libzmq3-dev/download" in

https://packages.ubuntu.com/xenial/amd64/libzmq3-dev/download
sudo add-apt-repository 
"
deb http://cz.archive.ubuntu.com/ubuntu xenial main universe"
sudo apt-get install cargo


----
I think that this needs libindy installed first:
https://sovrin.org/wp-content/uploads/Token-Test-Instructions.pdf
-------

steps to run when starting from a blank ubuntu 16.04 instance
sudo chmod 777 /var/cache/app-info/xapian/default -R
sudo apt-get update
sudo chmod 777 /var/cache/app-info/xapian/default -R

sudo apt-get update
sudo apt-get install curl

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu xenial-security main universe"

sudo add-apt-repository "deb http://cz.archive.ubuntu.com/ubuntu xenial main universe"

sudo apt-get update

sudo chmod 777 /var/cache/app-info/xapian/default -R

sudo apt-get update

sudo apt-get install cargo
 sudo su

instructions here: https://github.com/hyperledger/indy-sdk/blob/master/docs/build-guides/ubuntu-build.md

sudo apt install git

exit root

Build libindy


This seems to be a hassle. I ran out of memory on my virtual machine and it took forever to complete the steps.

How about trying docker???
How to start local nodes on docker:

https://github.com/hyperledger/indy-sdk/blob/master/README.md#how-to-start-local-nodes-pool-with-docker



https://sovrin.org/wp-content/uploads/Token-Test-Instructions.pdf


48 sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu xenial-security main universe"
49 sudo add-apt-repository "deb http://cz.archive.ubuntu.com/ubuntu xenial main universe"
50 sudo apt-get update
51 sudo apt-get install indy-cli

--------------------
start by creating a verinym:
https://myhsts.org/tutorial-learn-how-to-work-with-hyperledger-indy-command-line-interface.php


++++++++++++++++++++++++++++++++++++++++++++++
To create DID document do this:

https://sovrin-foundation.github.io/sovrin/spec/did-method-spec-template.html


















No comments:

Post a Comment