{"id":205,"date":"2017-09-28T15:38:41","date_gmt":"2017-09-28T15:38:41","guid":{"rendered":"http:\/\/www.uvolante.org\/wordpress\/?page_id=205"},"modified":"2019-09-05T16:02:40","modified_gmt":"2019-09-05T16:02:40","slug":"code-2","status":"publish","type":"page","link":"https:\/\/www.uvolante.org\/index.php\/en\/code-2\/","title":{"rendered":"Code"},"content":{"rendered":"<h1><a id=\"add-uvolante-repo\"><\/a>Adding the Debian\/Ubuntu repo<\/h1>\n<p>From your terminal:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">wget -O - https:\/\/www.uvolante.org\/apt\/uvolante.pub.key | sudo apt-key add -\nsudo wget -O \/etc\/apt\/sources.list.d\/uvolante.list https:\/\/www.uvolante.org\/apt\/uvolante.list\nsudo apt-get update<\/pre>\n<h1>Random software<\/h1>\n<p><span style=\"font-family: arial,helvetica,sans-serif;\">A <a href=\"https:\/\/forge.uvolante.org\/elf\/pelf\" class=\"external external_icon\" rel=\"nofollow\" target=\"_blank\">library<\/a> to read, print and write ELF files, and some <a href=\"https:\/\/forge.uvolante.org\/elf\/pelfdump\" class=\"external external_icon\" rel=\"nofollow\" target=\"_blank\">code<\/a> using it.<br \/><\/span><\/p>\n<p>A <a href=\"https:\/\/forge.uvolante.org\/code\/compr\/wikis\/\" class=\"external external_icon\" rel=\"nofollow\" target=\"_blank\">set of tools to study gzip\/DEFLATE<\/a> compression.<\/p>\n<h1>Phelma software<\/h1>\n<h2>1<sup>st<\/sup> year <a href=\"http:\/\/tdinfo.phelma.grenoble-inp.fr\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external external_icon\">Structured Programming<\/a><\/h2>\n<h3>libSDL2-phelma<\/h3>\n<p>This is a lightweight overlay to the <a href=\"https:\/\/www.libsdl.org\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"external external_icon\">SDL<\/a> library required for some practical works.<\/p>\n<p>To install it on your debian\/Ubuntu system:<\/p>\n<ol>\n<li>Make sure you have added the relevant repository to your system, as explained <a href=\"#add-uvolante-repo\">above<\/a>;<\/li>\n<li>Install the package from your terminal:<\/li>\n<\/ol>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">sudo apt install libsdl2-phelma<\/pre>\n<p>You <em>may<\/em> need to update the <code class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">Makefile<\/code> of the practical works accordingly. More on this later if needed.<\/p>\n<h2>2<sup>nd<\/sup> year MIPS toolchain<\/h2>\n<p>You shouldn&#8217;t need this. However, just in case:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">wget https:\/\/www.uvolante.org\/apt\/build-toolchain.sh\nchmod +x build-toolchain.sh\n.\/build-toolchain.sh<\/pre>\n<p>Please ensure you have:<\/p>\n<ol>\n<li>enough broadband (~180MiB must be downloaded);<\/li>\n<li>a few GiB of free disk space (will be only temporarily needed);<\/li>\n<li>roughly one hour of free time.<\/li>\n<\/ol>\n\n","protected":false},"excerpt":{"rendered":"<p>Adding the Debian\/Ubuntu repo From your terminal: wget -O &#8211; https:\/\/www.uvolante.org\/apt\/uvolante.pub.key | sudo apt-key add &#8211; sudo wget -O \/etc\/apt\/sources.list.d\/uvolante.list https:\/\/www.uvolante.org\/apt\/uvolante.list sudo apt-get update Random software A library to read, print and write ELF files, and some code using it.<span class=\"ellipsis\">&hellip;<\/span><\/p>\n<div class=\"read-more\"><a href=\"https:\/\/www.uvolante.org\/index.php\/en\/code-2\/\">Read more <span class=\"screen-reader-text\">Code<\/span><span class=\"meta-nav\"> &#8250;<\/span><\/a><\/div>\n<p><!-- end of .read-more --><\/p>\n","protected":false},"author":4,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-205","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.uvolante.org\/index.php\/wp-json\/wp\/v2\/pages\/205"}],"collection":[{"href":"https:\/\/www.uvolante.org\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.uvolante.org\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.uvolante.org\/index.php\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.uvolante.org\/index.php\/wp-json\/wp\/v2\/comments?post=205"}],"version-history":[{"count":7,"href":"https:\/\/www.uvolante.org\/index.php\/wp-json\/wp\/v2\/pages\/205\/revisions"}],"predecessor-version":[{"id":387,"href":"https:\/\/www.uvolante.org\/index.php\/wp-json\/wp\/v2\/pages\/205\/revisions\/387"}],"wp:attachment":[{"href":"https:\/\/www.uvolante.org\/index.php\/wp-json\/wp\/v2\/media?parent=205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}