# Mender Artifact for RPi

**URL:** https://hub.mender.io/t/mender-artifact-for-rpi/3460
**Category:** General Discussions
**Tags:** raspberry-pi-3
**Created:** [April 6, 2021, 3:44am UTC](https://hub.mender.io/t/mender-artifact-for-rpi/3460 "2021-04-06T03:44:43Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![AstralPresence](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/astralpresence/32/1118_2.png) [@AstralPresence](https://hub.mender.io/u/AstralPresence)
#### Post date: [April 6, 2021, 3:44am UTC](https://hub.mender.io/t/mender-artifact-for-rpi/3460/1 "2021-04-06T03:44:43Z")

</div>

Hi,

I would like to build update artifacts on the RPi.

The 64 bit linux executable does not run on my RPi 3.

Can I build mender artifact for RPi? or is one already available?

---

<div class="post-metadata">

### Author: ![oleorhagen](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/oleorhagen/32/297_2.png) [@oleorhagen](https://hub.mender.io/u/oleorhagen)
#### Post date: [April 6, 2021, 9:23am UTC](https://hub.mender.io/t/mender-artifact-for-rpi/3460/2 "2021-04-06T09:23:34Z")

</div>

Hi @AstralPresence we do have a debian package for the `mender-artifact` tool which is distributed for `arm`, see [here](https://packages.debian.org/search?keywords=mender-artifact) for more information

---

<div class="post-metadata">

### Author: ![AstralPresence](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/astralpresence/32/1118_2.png) [@AstralPresence](https://hub.mender.io/u/AstralPresence)
#### Post date: [April 6, 2021, 9:58am UTC](https://hub.mender.io/t/mender-artifact-for-rpi/3460/3 "2021-04-06T09:58:00Z")

</div>

Sorry for the noob question but how do I go about installing it\> I’m currently running stretch.

---

<div class="post-metadata">

### Author: ![oleorhagen](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/oleorhagen/32/297_2.png) [@oleorhagen](https://hub.mender.io/u/oleorhagen)
#### Post date: [April 6, 2021, 10:54am UTC](https://hub.mender.io/t/mender-artifact-for-rpi/3460/4 "2021-04-06T10:54:03Z")

</div>

```auto
apt update && apt install mender-artifact

```

should do the trick 🙂

---

<div class="post-metadata">

### Author: ![AstralPresence](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/astralpresence/32/1118_2.png) [@AstralPresence](https://hub.mender.io/u/AstralPresence)
#### Post date: [April 6, 2021, 1:33pm UTC](https://hub.mender.io/t/mender-artifact-for-rpi/3460/5 "2021-04-06T13:33:56Z")

</div>

ah. i tried that first actually. But I had to add  
`deb http://ftp.de.debian.org/debian stretch main`  
to my /etc/apt/sources.list and do an apt-update

on stock raspbian, we only have  
`deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi`  
and that doesnt contain the mender-artifact package.

Thanks a lot!

---

<div class="post-metadata">

### Author: ![AstralPresence](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/astralpresence/32/1118_2.png) [@AstralPresence](https://hub.mender.io/u/AstralPresence)
#### Post date: [April 7, 2021, 6:23am UTC](https://hub.mender.io/t/mender-artifact-for-rpi/3460/6 "2021-04-07T06:23:29Z")

</div>

Unfortunately I’m unable to use the debian package version (really 2.4) to create an application level update artifact. Any suggestions?

---

<div class="post-metadata">

### Author: ![oleorhagen](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/oleorhagen/32/297_2.png) [@oleorhagen](https://hub.mender.io/u/oleorhagen)
#### Post date: [April 7, 2021, 11:45am UTC](https://hub.mender.io/t/mender-artifact-for-rpi/3460/7 "2021-04-07T11:45:35Z")

</div>

Could you be a bit more precise in what you are trying to do/doing? And what the errors are?

🙂

---

<div class="post-metadata">

### Author: ![AstralPresence](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/astralpresence/32/1118_2.png) [@AstralPresence](https://hub.mender.io/u/AstralPresence)
#### Post date: [June 22, 2021, 7:46am UTC](https://hub.mender.io/t/mender-artifact-for-rpi/3460/8 "2021-06-22T07:46:40Z")

</div>

I have an application running on the RPi and I would like to create update artifacts for it on the rpi itself.

---

<div class="post-metadata">

### Author: ![oleorhagen](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/oleorhagen/32/297_2.png) [@oleorhagen](https://hub.mender.io/u/oleorhagen)
#### Post date: [June 29, 2021, 11:05am UTC](https://hub.mender.io/t/mender-artifact-for-rpi/3460/9 "2021-06-29T11:05:58Z")

</div>

Hi @AstralPresence

If you get the source code from [our GitHub](https://github.com/mendersoftware/mender-artifact). Then you can build this (assuming you’ve got Go installed), with:

```auto
GOOS=linux GOARCH=arm go build .

```

Which will get you a binary like:

```auto
➜ mender-artifact git:(6faf8d6) file mender-artifact
mender-artifact: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, Go BuildID=cYM1g4vGT7Foy5AQxHmi/1tOplowVyF0k4NhtKhpF/xzHS_m6LPs8YNtN0zRCi/ALHVROmh200u3-5tfzWI, not stripped

```
