# Freedom-u-sdk github repo README.md

**URL:** <https://forums.sifive.com/t/freedom-u-sdk-github-repo-readme-md/2000>\
**Category:** Freedom U500\
**Created:** [January 23, 2019, 7:04pm UTC](https://forums.sifive.com/t/freedom-u-sdk-github-repo-readme-md/2000 "2019-01-23T19:04:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dthirumurthy](https://avatars.discourse-cdn.com/v4/letter/d/41988e/32.png) [@dthirumurthy](https://forums.sifive.com/u/dthirumurthy)\
**Post date:** [January 23, 2019, 7:04pm UTC](https://forums.sifive.com/t/freedom-u-sdk-github-repo-readme-md/2000/1 "2019-01-23T19:04:29Z")

</div>

Hi,

At [https://github.com/sifive/freedom-u-sdk/blob/master/README.md](https://github.com/sifive/freedom-u-sdk/blob/master/README.md)

the documentation lists following as dependencies for Ubuntu 16.04 LTS

dt@ub1:~/freedom-u-sdk$ sudo apt install build-essential autotools git texinfo bison flex libgmp-dev libmpfr-dev libmpc-dev gawk libz-dev libssl-dev libglib2.0-dev libpixman-1-dev  
Reading package lists… Done  
Building dependency tree  
Reading state information… Done  
Note, selecting ‘zlib1g-dev’ instead of ‘libz-dev’  
E: Unable to locate package autotools  
dt@ub1:~/freedom-u-sdk$

I think we should remove autotools.  
I believe automake and autconf will be installed as part of build-essential.  
And maybe replace libz-dev with zlib1g-dev.

dt@ub1:~/freedom-u-sdk$ sudo apt install build-essential git texinfo bison flex libgmp-dev libmpfr-dev libmpc-dev gawk zlib1g-dev libssl-dev libglib2.0-dev libpixman-1-dev  
Reading package lists… Done  
Building dependency tree  
Reading state information… Done  
bison is already the newest version (2:3.0.4.dfsg-1).  
build-essential is already the newest version (12.1ubuntu2).  
flex is already the newest version (2.6.0-11).  
gawk is already the newest version (1:4.1.3+dfsg-0.1).  
libgmp-dev is already the newest version (2:6.1.0+dfsg-2).  
libmpc-dev is already the newest version (1.0.3-1).  
libmpfr-dev is already the newest version (3.1.4-1).  
libpixman-1-dev is already the newest version (0.33.6-1).  
texinfo is already the newest version (6.1.0.dfsg.1-5).  
git is already the newest version (1:2.7.4-0ubuntu1.6).  
libglib2.0-dev is already the newest version (2.48.2-0ubuntu4.1).  
libssl-dev is already the newest version (1.0.2g-1ubuntu4.14).  
zlib1g-dev is already the newest version (1:1.2.8.dfsg-2ubuntu4.1).  
0 upgraded, 0 newly installed, 0 to remove and 102 not upgraded.  
dt@ub1:~/freedom-u-sdk$

This is on VM installed from ubuntu-16.04.5-server-amd64.iso

dt@ub1:~$ lsb\_release -a  
No LSB modules are available.  
Distributor ID: Ubuntu  
Description: Ubuntu 16.04.5 LTS  
Release: 16.04  
Codename: xenial  
dt@ub1:~$ uname -a  
Linux ub1 4.4.0-131-generic #157-Ubuntu SMP Thu Jul 12 15:51:36 UTC 2018 x86\_64 x86\_64 x86\_64 GNU/Linux  
dt@ub1:~$

Thanks.

Regards,  
Dinesh

---

<div class="post-metadata">

**Author:** ![jimw](https://avatars.discourse-cdn.com/v4/letter/j/f14d63/32.png) [@jimw](https://forums.sifive.com/u/jimw)\
**Post date:** [January 23, 2019, 8:12pm UTC](https://forums.sifive.com/t/freedom-u-sdk-github-repo-readme-md/2000/2 "2019-01-23T20:12:25Z")

</div>

freedom-u-sdk is obsolete, and needs to be replaced or retired. It is a nice tutorial, but it isn’t worth a lot of time. You might try looking at any one of the better linux choices, like riscv/meta-riscv for open embedded/yocto.

There is an autotools-dev package, maybe that is a typo. This is probably not needed for a build, but may be needed if you do development work inside freedom-u-sdk. Anyways, it looks harmless.

libz-dev did work. If they changed the package name, does the new name work with old versions of the OS? If the old name still works with new OS versions, it might be better than the new name.

This kind of stuff is probably better to discuss in the freedom-u-sdk repo rather than here. You can file issues to point out bugs, and even submit pull requests to suggest patches, though you will have to clone it to file a pull request.
