Actions

Dev/Build Documentation/monero-gui/easy

From Whonix

< Dev‎ | Build Documentation‎ | monero-gui


The build process of building any of the packages by Whonix developers is always very similar. This very wiki page explain how to build package monero-gui. By replacing the name of the package monero-gui with the name of any other package you might be interested in building, the other package would be build. You have two options.

OR

Get Build Dependencies[edit]

Update your package lists.

sudo apt update

Install from Debian repository.

sudo apt install build-essential devscripts git

Change Directory to Build Folder[edit]

This chapter is recommended for better usability, but is not strictly required. [1]

Create folder ~/monero-gui-build.

mkdir -p ~/monero-gui-build

Change directory to folder ~/monero-gui-build.

cd ~/monero-gui-build

Get the Source Code[edit]

Get the the package's source code.

git clone https://github.com/Whonix/monero-gui.git

Remember it is Whonix, not whonix! If you are prompted for a username for github, it means you have mistyped the web address.

Change Directory to Source Code Folder[edit]

Get into the package's source code folder because later on package build commands are expected to be run from the root of the source folder.

cd monero-gui

Choose Version[edit]

This is optional in case you want to build from master branch.

Do not use version 0.1 but a sensible version number.

git checkout 0.1

Build the Package[edit]

dpkg-buildpackage -b

Build Result[edit]

When a package is build using dpkg-buildpackage the resulting packages will be created in the parent folder. I.e. in this case in the ~/monero-gui-build folder.

ls ../

Should show something like this.

monero-gui monero-gui0.1-1_amd64.buildinfo monero-gui0.1-1_amd64.changes

Installation[edit]

sudo dpkg -i ../monero-gui_0.1-1_amd64.deb

Clean Up[edit]

Delete temporary files debhelper files in package source folder as well as debhelper artifacts (.deb file etc.) in parent folder.

1) Show extraneous (temporary files debhelper) files.

git clean -ndff

2) NOTE: Read above output carefully if you added files of your own files to that folder.

If that looks good, actually remove.

git clean -dff

3) Delete debhelper artifacts (.deb file etc.) in parent folder.

TODO: document

Footnotes[edit]

  1. When a package is build using dpkg-buildpackage the resulting packages will be created in the parent folder. It's better for usability if this is not the user's home folder since many other files may already reside there. Thereby making the build result files more difficult to find or delete. This is a missing Debian feature. See: dpkg-buildpackage: support output directory other than .. [archive]


Fosshost is sponsors Kicksecure ™ stage server 100px
Fosshost About Advertisements

Search engines: YaCy | Qwant | ecosia | MetaGer | peekier | Whonix ™ Wiki


Follow: 1024px-Telegram 2019 Logo.svg.png Iconfinder Apple Mail 2697658.png Twitter.png Facebook.png Rss.png Reddit.jpg 200px-Mastodon Logotype (Simple).svg.png

Support: Discourse logo.png

Donate: Donate Bank Wire Paypal Bitcoin accepted here Monero accepted here Contribute

Whonix donate bitcoin.png Monero donate Whonix.png United Federation of Planets 1000px.png

Twitter-share-button.png Facebook-share-button.png Telegram-share.png link=mailto:?subject=Dev/Build Documentation/monero-gui/easy&body=../../../Dev/Build_Documentation/monero-gui/easy link=https://reddit.com/submit?url=../../../Dev/Build_Documentation/monero-gui/easy&title=Dev/Build Documentation/monero-gui/easy link=https://news.ycombinator.com/submitlink?u=../../../Dev/Build_Documentation/monero-gui/easy&t=Dev/Build Documentation/monero-gui/easy link=https://mastodon.technology/share?message=Dev/Build Documentation/monero-gui/easy%20../../../Dev/Build_Documentation/monero-gui/easy&t=Dev/Build Documentation/monero-gui/easy

Want to make Whonix ™ safer and more usable? We're looking for helping hands. Check out the Open Issues and development forum.

https link onion link Priority Support | Investors | Professional Support

Whonix | © ENCRYPTED SUPPORT LP | Heckert gnu.big.png Freedom Software / Osi standard logo 0.png Open Source (Why?)

The personal opinions of moderators or contributors to the Whonix ™ project do not represent the project as a whole.

By using our website, you acknowledge that you have read, understood and agreed to our Privacy Policy, Cookie Policy, Terms of Service, and E-Sign Consent.