# FreeBSD - ipfs path / naming

**URL:** <https://discuss.ipfs.tech/t/freebsd-ipfs-path-naming/6693>\
**Category:** Help\
**Created:** [November 17, 2019, 8:43pm UTC](https://discuss.ipfs.tech/t/freebsd-ipfs-path-naming/6693 "2019-11-17T20:43:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zedlan](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/zedlan/32/3231_2.png) [@zedlan](https://discuss.ipfs.tech/u/zedlan)\
**Post date:** [November 17, 2019, 8:43pm UTC](https://discuss.ipfs.tech/t/freebsd-ipfs-path-naming/6693/1 "2019-11-17T20:43:57Z")

</div>

Please pardon my observations below if I overlooked some key aspect of the ipfs installation (installing as root user).

As you probably know /sbin contains an unrelated program called “ipfs” ( [https://www.unix.com/man-page/FreeBSD/8/ipfs](https://www.unix.com/man-page/FreeBSD/8/ipfs) ). While the install.sh script from [https://dist.ipfs.io/#go-ipfs](https://dist.ipfs.io/#go-ipfs) is fine for moving binaries into /usr/local/bin, the ipfs-update binary ( [https://dist.ipfs.io/#ipfs-update](https://dist.ipfs.io/#ipfs-update) ) when run uses /sbin, at least on my system.

The issue seems somewhat resolved by renaming ipfs as ipfs-go, as with [https://www.freshports.org/sysutils/ipfs-go](https://www.freshports.org/sysutils/ipfs-go), but ipfs-update does not recognize ipfs-go. When run, ipfs-update prints “installing new binary to /sbin/ipfs” and does indeed clobber the non-related ipfs utility.

As a fix, one can move the new ipfs to /usr/local/bin and rename it ipfs-go, such as "mv /sbin/ipfs /usr/local/bin/ipfs-go. Of course, before doing any installs make a copy of the original ipfs, such as "cp /sbin/ipfs /sbin/ipfs\_OLD

Suggestions for streamlining this process are appreciated. I will next examine the source code for ipfs-update for target directory clues. Here(?): [https://github.com/ipfs/ipfs-update/blob/master/main.go](https://github.com/ipfs/ipfs-update/blob/master/main.go)

---

<div class="post-metadata">

**Author:** ![stebalien](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/stebalien/32/156_2.png) [@stebalien](https://discuss.ipfs.tech/u/stebalien)\
**Post date:** [November 18, 2019, 2:21pm UTC](https://discuss.ipfs.tech/t/freebsd-ipfs-path-naming/6693/2 "2019-11-18T14:21:00Z")

</div>

Ideally, ipfs-update would use ipfs-go instead of ipfs on freebsd.
