Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: matthewh3 on February 13, 2012, 03:49:55 PM



Title: Hot to install litecoin-qt on Ubuntu or access/use it from the command line.
Post by: matthewh3 on February 13, 2012, 03:49:55 PM
Hi I managed to install Litecoin using the following instuctions from this thread - https://bitcointalk.org/index.php?topic=62842.0 (https://bitcointalk.org/index.php?topic=62842.0)



* Litecoin

Code:
git clone https://github.com/coblee/litecoin.git
cd ~/litecoin/src/
make -f makefile.unix litecoind
mkdir ~/.litecoin/

Content of ~/.litecoin/litecoin.conf:

Code:
server=1
daemon=1
rpcuser=liteuserx
rpcpassword=nkrt345udsdfjhgjhsdfuyrt78rtTJHRFHTDTYD
rpcport=9334
port=9335

* Starting Litecoin

Code:
~/litecoin/src/litecoind



I started it mining using the following command from this thread - https://bitcointalk.org/index.php?topic=47417.0 (https://bitcointalk.org/index.php?topic=47417.0)

""Just put "gen=1" in your litecoin.conf file.""



But how do I access the coins/wallet and send recive them from the command line.  Also is there instructions for installing litecoin-qt on Ubuntu/Debian??????????  Cheers



Title: Re: Hot to install litecoin-qt on Ubuntu or access/use it from the command line.
Post by: Matoking on February 13, 2012, 03:57:26 PM
Compiling litecoin-qt/bitcoin-qt is very easy after you've installed Qt SDK. ( http://qt.nokia.com/downloads/ )

You need to install some dependencies first using the terminal :
Code:
sudo apt-get install build-essential
sudo apt-get install libssl-dev
sudo apt-get install libdb4.8-dev
sudo apt-get install libdb4.8++-dev
sudo apt-get install libqrencode-dev
sudo apt-get install libboost-all-dev

After that go to the project directory (with the .pro file) and run following :
Code:
qmake "USE_UPNP=-"
make

After that there should be an executable named litecoin-qt in the same directory as the Litecoin project folder.


Title: Re: Hot to install litecoin-qt on Ubuntu or access/use it from the command line.
Post by: matthewh3 on February 13, 2012, 04:19:26 PM
Compiling litecoin-qt/bitcoin-qt is very easy after you've installed Qt SDK. ( http://qt.nokia.com/downloads/ )

You need to install some dependencies first using the terminal :
Code:
sudo apt-get install build-essential
sudo apt-get install libssl-dev
sudo apt-get install libdb4.8-dev
sudo apt-get install libdb4.8++-dev
sudo apt-get install libqrencode-dev
sudo apt-get install libboost-all-dev

After that go to the project directory (with the .pro file) and run following :
Code:
qmake "USE_UPNP=-"
make

After that there should be an executable named litecoin-qt in the same directory as the Litecoin project folder.

Kk done that and now I have 'litecoin-qt' in bright light green listed in the folder.  How do I start it?

Thanks will donate some LTC to you once I've mined some  ;)


Title: Re: Hot to install litecoin-qt on Ubuntu or access/use it from the command line.
Post by: Remember remember the 5th of November on February 13, 2012, 04:27:18 PM
Compiling litecoin-qt/bitcoin-qt is very easy after you've installed Qt SDK. ( http://qt.nokia.com/downloads/ )

You need to install some dependencies first using the terminal :
Code:
sudo apt-get install build-essential
sudo apt-get install libssl-dev
sudo apt-get install libdb4.8-dev
sudo apt-get install libdb4.8++-dev
sudo apt-get install libqrencode-dev
sudo apt-get install libboost-all-dev

After that go to the project directory (with the .pro file) and run following :
Code:
qmake "USE_UPNP=-"
make

After that there should be an executable named litecoin-qt in the same directory as the Litecoin project folder.
Now if you do the same for windows, you would be a god :)


Title: Re: Hot to install litecoin-qt on Ubuntu or access/use it from the command line.
Post by: matthewh3 on February 13, 2012, 04:34:09 PM
Compiling litecoin-qt/bitcoin-qt is very easy after you've installed Qt SDK. ( http://qt.nokia.com/downloads/ )

You need to install some dependencies first using the terminal :
Code:
sudo apt-get install build-essential
sudo apt-get install libssl-dev
sudo apt-get install libdb4.8-dev
sudo apt-get install libdb4.8++-dev
sudo apt-get install libqrencode-dev
sudo apt-get install libboost-all-dev

After that go to the project directory (with the .pro file) and run following :
Code:
qmake "USE_UPNP=-"
make

After that there should be an executable named litecoin-qt in the same directory as the Litecoin project folder.

It won't start when I enter the command I get -

matt@matt-ubuntu:~/litecoin$ litecoin-qt
litecoin-qt: command not found
matt@matt-ubuntu:~/litecoin$



Title: Re: Hot to install litecoin-qt on Ubuntu or access/use it from the command line.
Post by: pooler on February 13, 2012, 04:42:19 PM
It won't start when I enter the command I get -

matt@matt-ubuntu:~/litecoin$ litecoin-qt
litecoin-qt: command not found
matt@matt-ubuntu:~/litecoin$

Try prepending "./" to the name of the executable:
Code:
$ ./litecoin-qt


Title: Re: Hot to install litecoin-qt on Ubuntu or access/use it from the command line.
Post by: matthewh3 on February 13, 2012, 04:44:33 PM
It won't start when I enter the command I get -

matt@matt-ubuntu:~/litecoin$ litecoin-qt
litecoin-qt: command not found
matt@matt-ubuntu:~/litecoin$

Try prepending "./" to the name of the executable:
Code:
$ ./litecoin-qt

I get the following error -



matt@matt-ubuntu:~/litecoin$ ./litecoin-qt
litecoin server starting
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
litecoin-qt: ../../src/xcb_io.c:273: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
Aborted
matt@matt-ubuntu:~/litecoin$ litecoin-qt: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.




????????????????


Title: Re: Hot to install litecoin-qt on Ubuntu or access/use it from the command line.
Post by: matthewh3 on February 13, 2012, 04:55:41 PM
It won't start when I enter the command I get -

matt@matt-ubuntu:~/litecoin$ litecoin-qt
litecoin-qt: command not found
matt@matt-ubuntu:~/litecoin$

Try prepending "./" to the name of the executable:
Code:
$ ./litecoin-qt

Now I'm just getting the error message



~/litecoin$ litecoin-qt: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.



?????????????????


Title: Re: Hot to install litecoin-qt on Ubuntu or access/use it from the command line.
Post by: Matoking on February 13, 2012, 05:36:49 PM
Compiling litecoin-qt/bitcoin-qt is very easy after you've installed Qt SDK. ( http://qt.nokia.com/downloads/ )

You need to install some dependencies first using the terminal :
Code:
sudo apt-get install build-essential
sudo apt-get install libssl-dev
sudo apt-get install libdb4.8-dev
sudo apt-get install libdb4.8++-dev
sudo apt-get install libqrencode-dev
sudo apt-get install libboost-all-dev

After that go to the project directory (with the .pro file) and run following :
Code:
qmake "USE_UPNP=-"
make

After that there should be an executable named litecoin-qt in the same directory as the Litecoin project folder.
Now if you do the same for windows, you would be a god :)

Quote
Download the QT Windows SDK and install it. You don't need the Symbian stuff, just the desktop Qt.
Download and extract the dependencies archive (https://download.visucore.com/bitcoin/qtgui_deps_1.zip), or compile openssl, boost and dbcxx yourself.
Copy the contents of the folder "deps" to "X:\QtSDK\mingw", replace X:\ with the location where you installed the Qt SDK. Make sure that the contents of "deps\include" end up in the current "include" directory.
Open the .pro file in QT creator and build as normal (ctrl-B)

I was able to compile Bitcoin-qt on Windows this way. Something has changed since then, though.


Title: Re: Hot to install litecoin-qt on Ubuntu or access/use it from the command line.
Post by: ThiagoCMC on February 13, 2012, 09:50:35 PM
It won't start when I enter the command I get -

matt@matt-ubuntu:~/litecoin$ litecoin-qt
litecoin-qt: command not found
matt@matt-ubuntu:~/litecoin$

Try prepending "./" to the name of the executable:
Code:
$ ./litecoin-qt

Now I'm just getting the error message



~/litecoin$ litecoin-qt: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.



?????????????????


You need to be within the X Window System (a.k.a. GNome or Ubuntu Desktop)... The server does not have the GUI... Anyway, you can install it using apt-get / aptitude...


Title: Re: Hot to install litecoin-qt on Ubuntu or access/use it from the command line.
Post by: matthewh3 on February 13, 2012, 10:04:42 PM
It won't start when I enter the command I get -

matt@matt-ubuntu:~/litecoin$ litecoin-qt
litecoin-qt: command not found
matt@matt-ubuntu:~/litecoin$

Try prepending "./" to the name of the executable:
Code:
$ ./litecoin-qt

Now I'm just getting the error message



~/litecoin$ litecoin-qt: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.



?????????????????


You need to be within the X Window System (a.k.a. GNome or Ubuntu Desktop)... The server does not have the GUI... Anyway, you can install it using apt-get / aptitude...

Yes I am in Xfce desktop environment just using the terminal as when I click on the qt executable in the folder the wallet graphic comes on the screen for a few seconds the just vanishes?  I tried the Qt creator SDK and get the following error -



/home/matt/litecoin/litecoin-qt exited with code 0



And when I try the command      ./litecoin-qt           I get the following error



-ubuntu:~/litecoin$ ./litecoin-qt
litecoin server starting
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
litecoin-qt: ../../src/xcb_io.c:273: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
Aborted
matt@matt-ubuntu:~/litecoin$ litecoin-qt: Fatal IO error 2 (No such file or directory) on X server :0.0.



When I try the command     litecoin-qt   I get     command not found


Title: Re: Hot to install litecoin-qt on Ubuntu or access/use it from the command line.
Post by: ThiagoCMC on February 13, 2012, 11:07:43 PM
It won't start when I enter the command I get -

matt@matt-ubuntu:~/litecoin$ litecoin-qt
litecoin-qt: command not found
matt@matt-ubuntu:~/litecoin$

Try prepending "./" to the name of the executable:
Code:
$ ./litecoin-qt

Now I'm just getting the error message



~/litecoin$ litecoin-qt: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.



?????????????????


You need to be within the X Window System (a.k.a. GNome or Ubuntu Desktop)... The server does not have the GUI... Anyway, you can install it using apt-get / aptitude...

Yes I am in Xfce desktop environment just using the terminal as when I click on the qt executable in the folder the wallet graphic comes on the screen for a few seconds the just vanishes?  I tried the Qt creator SDK and get the following error -



/home/matt/litecoin/litecoin-qt exited with code 0



And when I try the command      ./litecoin-qt           I get the following error



-ubuntu:~/litecoin$ ./litecoin-qt
litecoin server starting
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
litecoin-qt: ../../src/xcb_io.c:273: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
Aborted
matt@matt-ubuntu:~/litecoin$ litecoin-qt: Fatal IO error 2 (No such file or directory) on X server :0.0.



When I try the command     litecoin-qt   I get     command not found


Try to remove the line "daemon=1" from ~/.litecoin/litecoin.conf and start ltiecoin-qt again.


Title: Re: Hot to install litecoin-qt on Ubuntu or access/use it from the command line.
Post by: matthewh3 on February 13, 2012, 11:36:54 PM
It won't start when I enter the command I get -

matt@matt-ubuntu:~/litecoin$ litecoin-qt
litecoin-qt: command not found
matt@matt-ubuntu:~/litecoin$

Try prepending "./" to the name of the executable:
Code:
$ ./litecoin-qt

Now I'm just getting the error message



~/litecoin$ litecoin-qt: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.



?????????????????


You need to be within the X Window System (a.k.a. GNome or Ubuntu Desktop)... The server does not have the GUI... Anyway, you can install it using apt-get / aptitude...

Yes I am in Xfce desktop environment just using the terminal as when I click on the qt executable in the folder the wallet graphic comes on the screen for a few seconds the just vanishes?  I tried the Qt creator SDK and get the following error -



/home/matt/litecoin/litecoin-qt exited with code 0



And when I try the command      ./litecoin-qt           I get the following error



-ubuntu:~/litecoin$ ./litecoin-qt
litecoin server starting
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
litecoin-qt: ../../src/xcb_io.c:273: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
Aborted
matt@matt-ubuntu:~/litecoin$ litecoin-qt: Fatal IO error 2 (No such file or directory) on X server :0.0.



When I try the command     litecoin-qt   I get     command not found


Try to remove the line "daemon=1" from ~/.litecoin/litecoin.conf and start ltiecoin-qt again.

Excellent that worked.  Can crack on with my P2Pool litecoin installation now cheer's (as couldn't use the wallet from the command line).  Will send some LTC your way once I've mined a few  ;D


Title: Re: Hot to install litecoin-qt on Ubuntu or access/use it from the command line.
Post by: ThiagoCMC on February 13, 2012, 11:58:24 PM

...

Try to remove the line "daemon=1" from ~/.litecoin/litecoin.conf and start ltiecoin-qt again.

Excellent that worked.  Can crack on with my P2Pool litecoin installation now cheer's (as couldn't use the wallet from the command line).  Will send some LTC your way once I've mined a few  ;D

Good to know!!! Thanks!!