Bitcoin Forum
May 12, 2024, 04:45:38 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Uninstall compiled Bitcoin in linux  (Read 224 times)
ViceOfBTC21 (OP)
Sr. Member
****
Offline Offline

Activity: 438
Merit: 266


View Profile
January 01, 2020, 08:25:37 PM
 #1

Hi, I have installed my own compiled Bitcoin client in Linux. Let's assume I don't want it to clog my system up anymore and I want to get rid of it.

How can I do it?
"Governments are good at cutting off the heads of a centrally controlled networks like Napster, but pure P2P networks like Gnutella and Tor seem to be holding their own." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715489138
Hero Member
*
Offline Offline

Posts: 1715489138

View Profile Personal Message (Offline)

Ignore
1715489138
Reply with quote  #2

1715489138
Report to moderator
1715489138
Hero Member
*
Offline Offline

Posts: 1715489138

View Profile Personal Message (Offline)

Ignore
1715489138
Reply with quote  #2

1715489138
Report to moderator
1715489138
Hero Member
*
Offline Offline

Posts: 1715489138

View Profile Personal Message (Offline)

Ignore
1715489138
Reply with quote  #2

1715489138
Report to moderator
Heisenberg_Hunter
Legendary
*
Offline Offline

Activity: 1583
Merit: 1276


Heisenberg Design Services


View Profile WWW
January 01, 2020, 08:41:18 PM
Merited by ABCbits (1), darosior (1)
 #2

Uninstalling bitcoin client in any linux based system is similar to uninstalling a program in linux which you have built from source. Generally users of linux use make install and they were the ones which was mentioned in the bitcoin build notes as you have been trying to build bitcoin from source.

Wait, I've compiled it again and it shows up at (Bitcoin source code)/src/qt. I've did make install and now I have Bitcoin full node complete with GUI on my PC!

But instead of make install you could try using checkinstall. checkinstall command will make the installation and un-installation easier by creating deb packages. See wiki for checkinstall command : CheckInstall

Uninstalling older bitcoin client in Linux can be done using the following command :

Code:
sudo make uninstall or make uninstall
mocacinno
Legendary
*
Offline Offline

Activity: 3388
Merit: 4922


https://merel.mobi => buy facemasks with BTC/LTC


View Profile WWW
January 03, 2020, 09:18:56 AM
 #3

It might be sufficient to remove the blocks from ~/.bitcoin
The blocks take up more than 200 Gb...

Do make sure you do not delete your wallet.dat (even make a new backup on a secure medium before removing the blocks).

Do realize that if you start your wallet again, it'll need to redownload and reparse all blocks again...

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
ViceOfBTC21 (OP)
Sr. Member
****
Offline Offline

Activity: 438
Merit: 266


View Profile
January 03, 2020, 03:50:10 PM
 #4

Uninstalling bitcoin client in any linux based system is similar to uninstalling a program in linux which you have built from source. Generally users of linux use make install and they were the ones which was mentioned in the bitcoin build notes as you have been trying to build bitcoin from source.

Wait, I've compiled it again and it shows up at (Bitcoin source code)/src/qt. I've did make install and now I have Bitcoin full node complete with GUI on my PC!

But instead of make install you could try using checkinstall. checkinstall command will make the installation and un-installation easier by creating deb packages. See wiki for checkinstall command : CheckInstall

Uninstalling older bitcoin client in Linux can be done using the following command :

Code:
sudo make uninstall or make uninstall

Where should I run this code? If I need source code, then it's too late, since I deleted it long time ago.
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3388
Merit: 6635


Just writing some code


View Profile WWW
January 03, 2020, 04:13:28 PM
Merited by DireWolfM14 (1), Heisenberg_Hunter (1)
 #5

You just need to delete the files where they were copied to. Do:
Code:
cd '/usr/local/bin' && rm -f bitcoind bitcoin-cli bitcoin-tx bitcoin-wallet test_bitcoin bench_bitcoin bitcoin-qt test_bitcoin-qt
cd '/usr/local/include' && rm -f bitcoinconsensus.h
rm -f '/usr/local/lib/libbitcoinconsensus.la'
cd '/usr/local/share/man/man1' && rm -f bitcoind.1 bitcoin-qt.1 bitcoin-cli.1 bitcoin-tx.1 bitcoin-wallet.1
cd '/usr/local/lib/pkgconfig' && rm -f libbitcoinconsensus.pc

ViceOfBTC21 (OP)
Sr. Member
****
Offline Offline

Activity: 438
Merit: 266


View Profile
April 08, 2020, 07:09:17 PM
 #6

You just need to delete the files where they were copied to. Do:
Code:
cd '/usr/local/bin' && rm -f bitcoind bitcoin-cli bitcoin-tx bitcoin-wallet test_bitcoin bench_bitcoin bitcoin-qt test_bitcoin-qt
cd '/usr/local/include' && rm -f bitcoinconsensus.h
rm -f '/usr/local/lib/libbitcoinconsensus.la'
cd '/usr/local/share/man/man1' && rm -f bitcoind.1 bitcoin-qt.1 bitcoin-cli.1 bitcoin-tx.1 bitcoin-wallet.1
cd '/usr/local/lib/pkgconfig' && rm -f libbitcoinconsensus.pc

Is that really enough or should I do more in order to make sure Bitcoin is completely wiped off my system?
mocacinno
Legendary
*
Offline Offline

Activity: 3388
Merit: 4922


https://merel.mobi => buy facemasks with BTC/LTC


View Profile WWW
April 09, 2020, 05:42:26 AM
 #7

--snip--

Is that really enough or should I do more in order to make sure Bitcoin is completely wiped off my system?

That's really enough to wipe the bitcoin libraries and binaries off of your system. However, the DATA still remains, per default in ~/.bitcoin . As i've said before, even if you no longer want bitcoin binaries on your system, it's still a good idear to backup ~/.bitcoin/wallet.dat (unless you've created a different wallet or changed your path).

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
April 09, 2020, 10:48:08 AM
 #8

Is that really enough or should I do more in order to make sure Bitcoin is completely wiped off my system?
What are you actually attempting to achieve? Did you want to simply uninstall Bitcoin to free up some space? Or are you trying to remove all evidence that it was ever on your system, so anyone searching on your computer would not find any traces? Huh

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!