I installed chia using the experimental GUI installer, now I wuold like to make something by the CLI but I am getting crazy I dont understand from what path I have to run that.
thank you
I installed chia using the experimental GUI installer, now I wuold like to make something by the CLI but I am getting crazy I dont understand from what path I have to run that.
thank you
If you run this command it should find all files names chia:
cd /
sudo find -name chia-blockchain
Iām not a Linux expert but hope this gives a starting point at least.
I found this Binary CLI tools can be found in /usr/lib/chia-blockchain/resources/app.asar.unpacked/daemon/
but when, for example, I try to type chia plots -h
it says
Comando Ā«chiaĀ» non trovato, si intendeva forse:
comando Ā«chi2Ā» da deb paml
Provare: sudo apt install
I think the chia command is under /usr/lib/chia-blockchain/
Can you try
cd /usr/lib/chia-blockchain/
and try running the chia command there ?
cd
cd chia-blockchain
. ./activate
chia init
the rusult was:
sudo find -name chia-blockchain
find: ā./run/user/1000/gvfsā: Permesso negato
./usr/share/lintian/overrides/chia-blockchain
./usr/share/doc/chia-blockchain
./usr/lib/chia-blockchain
./usr/lib/chia-blockchain/chia-blockchain
./usr/bin/chia-blockchain
however in cd /usr/lib/chia-blockchain/
if I try:
chia plots -h
Comando Ā«chiaĀ» non trovato, si intendeva forse:
comando Ā«chi2Ā» da deb paml
Provare: sudo apt install
Yeah, like @Mugen0815 said we have to run
. ./activate
when inside the chia folder. I forgot that bit
ooo I didnāt try that
Can i do that also if chia is running already with gui?
thanks
nothing
:/usr/lib/chia-blockchain$ sudo . ./activate
sudo: .: comando non trovato
Iād try it without sudo.
Iād also try to install it via CLI. Itās really much easier: INSTALL Ā· Chia-Network/chia-blockchain Wiki Ā· GitHub
Just run the commands one by one, This way you have full control over where youāre installing.
You can also create separate folders for each version so if something goes wrong you can simply revert to previous version.
I did already with no sudo.
But I donāt wnat install it is already installed with experimental GUI installer.
In that document it says "Binary CLI tools can be found in /usr/lib/chia-blockchain/resources/app.asar.unpacked/daemon/
" but how I sayd it doesnāt work
you are suggesting me to install it by CLI too?
I think youāre right about the path. Iāve found this https://pythonawesome.com/a-cross-platform-plot-manager-for-chia-plotting/ that mentions the same path
Linux Example: `/usr/lib/chia-blockchain/resources/app.asar.unpacked/daemon/chia`
Maybe try . ./activate in that path. Other than that I donāt know what would help.
Hope you resolve it as it can be frustrating. Good luck.
:/usr/lib/chia-blockchain/resources/app.asar.unpacked/daemon$ ā¦/activate
bash: ā¦/activate: File o directory non esistente
nothing
So It is better uninstall and do it again but the CLI?
Its dot space dot slash activate
I had already tried, nothing same result
Then I can only recommend to dump the experimental GUI and use the cli, as @durin recommended already
try to launch CLI like this ./chia
Here is what worked for me:
cd /usr/lib/chia-blockchain/resources/app.asar.unpacked/daemon
./chia -h
after you have changed the directory, you just need to start the comands with ā./ā, for example, the wallet info:
./chia wallet show
There is no activate file in Ubuntu 20.
for OS greater than Ubuntu v18, try ./chia plots -h
No need . ./activate