{"id":6934,"date":"2022-08-02T11:11:46","date_gmt":"2022-08-02T09:11:46","guid":{"rendered":"https:\/\/blue.pri.ee\/ttu\/?page_id=6934"},"modified":"2024-09-11T20:50:47","modified_gmt":"2024-09-11T18:50:47","slug":"software-setup-for-programming","status":"publish","type":"page","link":"https:\/\/blue.pri.ee\/ttu\/resources\/software-setup-for-programming\/","title":{"rendered":"Software setup for programming"},"content":{"rendered":"<p>To pass Programming 1 and 2 subjects, you need to have access to an environment to program and model in. This page covers the programming side of the software stack.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/blue.pri.ee\/ttu\/resources\/software-setup-for-programming\/#Option_1_Virtualized_Linux_Geany\" >Option 1: Virtualized Linux + Geany<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/blue.pri.ee\/ttu\/resources\/software-setup-for-programming\/#Option_2_Remote_access_using_RDP\" >Option 2: Remote access using RDP<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/blue.pri.ee\/ttu\/resources\/software-setup-for-programming\/#Option_3_MS_Windows_Geany\" >Option 3: MS Windows + Geany<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/blue.pri.ee\/ttu\/resources\/software-setup-for-programming\/#Option_4_WSL_Windows_Subsystem_for_Linux\" >Option 4: WSL (Windows Subsystem for Linux)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/blue.pri.ee\/ttu\/resources\/software-setup-for-programming\/#Option_5_Pick_your_own_software\" >Option 5: Pick your own software<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"Option_1_Virtualized_Linux_Geany\"><\/span>Option 1: Virtualized Linux + Geany<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>This is the recommended setup for you to get maximum out of this course and do it in a safe manner. In this option, you will install a hypervisor to run a virtualized computer in your computer. In the virtual machine, we will install Linux and the necessary tools.<\/p>\n<p>Note: even though the guide is for Windows, you can also use the same software on a Mac<\/p>\n<ol>\n<li>Guide: <strong><a href=\"https:\/\/blue.pri.ee\/ttu\/resources\/guide-to-running-linux-on-your-own\/\">How to run Linux on your own computer<\/a><\/strong><\/li>\n<li>Guide: <strong><a href=\"https:\/\/blue.pri.ee\/ttu\/resources\/geany-installion-guide\/\">How to install Geany and a compiler<\/a><\/strong><\/li>\n<li>Guide:<strong> <a href=\"https:\/\/blue.pri.ee\/ttu\/resources\/software-setup-for-programming\/configuring-and-using-geany\/\">How to configure and use Geany.<\/a><\/strong><\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Option_2_Remote_access_using_RDP\"><\/span>Option 2: Remote access using RDP<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>For those of you who do not feel comfortable on the first day to install the software on your computer, you can also access the lab computers using remote access. For this you need to use a VPN first and once you are the university intranet, you can use RDP protocol to access\u00a0 Linux and Windows computers.<\/p>\n<p>Guide: <a href=\"https:\/\/blue.pri.ee\/ttu\/resources\/software-setup-for-programming\/remote-access-using-rdp\/\"><strong>Remote access using RDP<\/strong><\/a><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Option_3_MS_Windows_Geany\"><\/span>Option 3: MS Windows + Geany<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>For those who do not wish to run Linux, it is possible to go through the course using Windows.<\/p>\n<p><strong>Warning:<\/strong> If you are going to be taking Programming 2, some tools will be unavailable for you and some of the labs will be a lot more difficult to set up for.<\/p>\n<ol>\n<li>Guide: <strong><a href=\"https:\/\/blue.pri.ee\/ttu\/resources\/geany-installion-guide\/\">How to install Geany and a compiler<\/a><\/strong><\/li>\n<li>Guide: <strong><a href=\"https:\/\/blue.pri.ee\/ttu\/resources\/software-setup-for-programming\/configuring-and-using-geany\/\">How to configure and use Geany.<\/a><\/strong><\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Option_4_WSL_Windows_Subsystem_for_Linux\"><\/span>Option 4: WSL (Windows Subsystem for Linux)<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>WSL is available for Windows 10 and 11 users and allows you to run a limited version of Linux within the Windows environment &#8211; a hybrid of sorts. Resource cost is minimal comparing to running a fully fledged virtual machine. WSL is enough for this subject.<\/p>\n<p><strong><a href=\"https:\/\/wiki.ubuntu.com\/WSL\">https:\/\/wiki.ubuntu.com\/WSL<\/a><\/strong><\/p>\n<p>When using WSL, follow the guides in\u00a0<strong>Option 1<\/strong> for Linux software installation.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Option_5_Pick_your_own_software\"><\/span>Option 5: Pick your own software<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>There are hundreds of compatible text and code editors available, as well as more than 1 supported compiler. You are free to choose which software you run on your own computer, but then\u00a0<strong>you will also be responsible for them<\/strong>. You will need to configure them on your own and be aware of all the quirks that they may have. Not knowing how the tools that you picked out is not an excuse.<\/p>\n<p>Some ideas for alternatives: <strong><a href=\"https:\/\/blue.pri.ee\/ttu\/resources\/links\/\">https:\/\/blue.pri.ee\/ttu\/resources\/links\/<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To pass Programming 1 and 2 subjects, you need to have access to an environment to program and model in. This page covers the programming side of the software stack. Option 1: Virtualized Linux + Geany This is the recommended setup for you to get maximum out of this course and do it in a &hellip; <a href=\"https:\/\/blue.pri.ee\/ttu\/resources\/software-setup-for-programming\/\" class=\"more-link\">Loe edasi <span class=\"screen-reader-text\">Software setup for programming<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1439,"menu_order":3,"comment_status":"closed","ping_status":"closed","template":"page-templates\/code-width-wide.php","meta":{"footnotes":""},"class_list":["post-6934","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/blue.pri.ee\/ttu\/wp-json\/wp\/v2\/pages\/6934","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blue.pri.ee\/ttu\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/blue.pri.ee\/ttu\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/blue.pri.ee\/ttu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blue.pri.ee\/ttu\/wp-json\/wp\/v2\/comments?post=6934"}],"version-history":[{"count":7,"href":"https:\/\/blue.pri.ee\/ttu\/wp-json\/wp\/v2\/pages\/6934\/revisions"}],"predecessor-version":[{"id":9547,"href":"https:\/\/blue.pri.ee\/ttu\/wp-json\/wp\/v2\/pages\/6934\/revisions\/9547"}],"up":[{"embeddable":true,"href":"https:\/\/blue.pri.ee\/ttu\/wp-json\/wp\/v2\/pages\/1439"}],"wp:attachment":[{"href":"https:\/\/blue.pri.ee\/ttu\/wp-json\/wp\/v2\/media?parent=6934"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}