<p>Download the bfgminer source code, extract the source, change directory into it.</p>

<p>Then:</p>

<p>$ dpkg-buildpackage -uc -us -rfakeroot</p>

<p>And it'll build a package you can install on Debian Wheezy. You will need to install "dpkg-dev" for dpkg-buildpackage and all the build dependencies, which you'll find out by running the dpkb-buildpackage command.</p>

CC BY-SA 3.0
2013-11-24T18:07:48.133Z
2013-11-24T18:07:48.133Z
Daniel Walrond
<p>you have to patch it first before building the package;</p>

<p><code>patch -p1 &lt; debian/patches/bfgminer-bitforce.diff</code></p>

CC BY-SA 3.0
2018-04-17T17:37:06.903Z
No, dpkg-buildpackages will install patches in debian/patches by itself.
smoe
CC BY-SA 3.0
2014-03-19T14:32:32.467Z
2014-03-19T18:37:11.387Z
2014-03-19T18:37:11.387Z
eloopz
<p>Is it possible to install BFGMiner on Debian Wheezy?</p>

<p>I have been looking for a solution but I can't find one.</p>

CC BY-SA 3.0
2013-11-22T05:20:32.573Z
What happens when you try?
Nate Eldredge
CC BY-SA 3.0
2013-11-22T05:23:41.083Z
There is no specific package for download that I can find for debian. They are for Ubuntu
user199022
CC BY-SA 3.0
2013-11-22T05:26:03.403Z
So, you build it from source.  There's a nice README in the source package.  There's even a README.Debian discussing how to make it into your own debian package.
Nate Eldredge
CC BY-SA 3.0
2013-11-22T05:28:09.460Z
Really? Ill check it out
user199022
<linux><bfgminer><mining-software>
BFGMiner for Debian Wheezy
user199022
# BFGMiner for Debian Wheezy

(Asked by: username_0 on 2013-11-22)

Is it possible to install BFGMiner on Debian Wheezy?

I have been looking for a solution but I can't find one.

**Tags:** linux, bfgminer, mining-software

> **Comments:**
> **username_1**: What happens when you try?  
> **username_0**: There is no specific package for download that I can find for debian. They are for Ubuntu  
> **username_1**: So, you build it from source.  There's a nice README in the source package.  There's even a README.Debian discussing how to make it into your own debian package.  
> **username_0**: Really? Ill check it out  

---

## 2 answers

### Answer by username_2 on 2013-11-24. Score: 2

Download the bfgminer source code, extract the source, change directory into it.

Then:

$ dpkg-buildpackage -uc -us -rfakeroot

And it'll build a package you can install on Debian Wheezy. You will need to install "dpkg-dev" for dpkg-buildpackage and all the build dependencies, which you'll find out by running the dpkb-buildpackage command.


---

### Answer by username_3 on 2014-03-19. Score: -2

you have to patch it first before building the package;

`patch -p1 < debian/patches/bfgminer-bitforce.diff`

> **Comments:**
> **username_4**: No, dpkg-buildpackages will install patches in debian/patches by itself.  

---

