<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Installing nRF5x command-line tools on Debian Linux</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30315/installing-nrf5x-command-line-tools-on-debian-linux</link><description>So I reinstalled one of my Linux boxes (again) a few days ago, and one of the things I need to do to get all the development environment up and running (again) is get the nRF 5x command-line tools. 
 The issue is that the download is just a .tar file</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 08 Feb 2018 17:28:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30315/installing-nrf5x-command-line-tools-on-debian-linux" /><item><title>RE: Installing nRF5x command-line tools on Debian Linux</title><link>https://devzone.nordicsemi.com/thread/120336?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2018 17:28:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ac00453-6945-4702-aaad-e5e32d8e5f56</guid><dc:creator>Simen August Tinderholt</dc:creator><description>&lt;p style="color:#000000;font-family:Arial, Helvetica, sans-serif;font-size:12px;font-style:normal;font-weight:400;letter-spacing:normal;margin-top:0px;text-indent:0px;text-transform:none;white-space:normal;"&gt;We are&amp;nbsp;looking into&lt;span&gt;&amp;nbsp;&lt;/span&gt;making&lt;span&gt;&amp;nbsp;&lt;/span&gt;installers for OS X and debian-derivate unix systems.&lt;/p&gt;
&lt;p style="color:#000000;font-family:Arial, Helvetica, sans-serif;font-size:12px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;"&gt;There are several canonical ways to install command line tools on linux systems, but they way we&amp;#39;ve been doing it is the following:&lt;/p&gt;
&lt;p style="color:#000000;font-family:Arial, Helvetica, sans-serif;font-size:12px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;"&gt;Untar the tarball in /opt/nrfjprog&lt;br /&gt;&amp;nbsp;&lt;pre class="ui-code" data-mode="batchfile"&gt;sudo tar xvf nRF5x... .tar --directory /opt/&lt;/pre&gt;&lt;/p&gt;
&lt;p style="color:#000000;font-family:Arial, Helvetica, sans-serif;font-size:12px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;"&gt;make a symlink from /usr/local/bin/nrfjprog to /opt/nrfjprog/nrfjprog with&lt;br /&gt;&lt;pre class="ui-code" data-mode="batchfile"&gt;sudo ln -s /opt/nrfjprog/nrfjprog /usr/local/bin/nrfjprog&lt;/pre&gt;&lt;/p&gt;
&lt;p style="color:#000000;font-family:Arial, Helvetica, sans-serif;font-size:12px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;"&gt;nRFJProg will find the .so libraries if they are located in the same folder as nRFJProg or any place they can be found by dlopen. That would be anywhere in&amp;nbsp;&lt;span&gt;LD_LIBRARY_PATH,&amp;nbsp;/lib or /usr/lib on most distros.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>