[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-687283-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-687283-en":130,"doc-similar-687283":148},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","15-122-principles-of-imperative-computation-setup-lab","15-122 - Principles of Imperative Computation - Setup Lab","","Guidance for students in 15-122 on configuring a computer and the Linux environment for course work. The setup instructions cover enrolling in Discord for Q&A, logging into assigned Andrew Linux machines or a campus cluster, using terminal commands to navigate directories, and applying academic integrity by working inside the private directory. It also explains running the 15122 setup script for shell tools and installing or configuring Autolab122 for downloading, completing, and submitting programming assignments.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/15-122-principles-of-imperative-computation-setup-lab/687283/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/15-122-principles-of-imperative-computation-setup-lab/687283.png","ImageObject",300,407,{"name":42,"@type":43},"WPS_1790064749","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-16","2026-11-07",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",7,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What is the first step to begin 15-122 setup?","Question",{"text":63,"@type":64},"Enroll in Discord using the provided signup link, then register with your andrew email address.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How do you navigate Linux after logging in?",{"text":68,"@type":64},"Use terminal commands such as ls to list files in your home directory, then use cd to move into the private directory and work from there.",{"name":70,"@type":61,"acceptedAnswer":71},"How do you prepare to submit programming assignments on Autolab?",{"text":72,"@type":64},"Sign up on Autolab using the provided access code, then use autolab122 commands; run a one-time setup for autolab122 if needed and use autolab122 hw to view released assignments.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},687283,1794082567,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,105,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":103,"slug":104},6,50,"technology",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":102,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":110,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":80,"read_time":117,"preview_page_count":22,"preview_urls":143},3985747859154,"https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c","15-122: Principles of Imperative Computation—Fall 2026  \nSetup Lab  \nThis document guides you through configuring your computer for 15-122 and setting up the technology used in this class.  \nGetting started  \n▶ The first thing you will do is to enroll in Discord, our online Q&A platform.  \nClick on the Discord signup link [https://discord. gg/wFC5bNngb](https://discord. gg/wFC5bNngb and register using)[ and register using](https://discord. gg/wFC5bNngb and register using)[ ](https://discord. gg/wFC5bNngb and register using)[your](your @andrew. cmu. edu)[ @andrew. cmu. edu](your @andrew. cmu. edu) email address.  \n▶ Next, you’ll start getting acquainted with Linux.  \nOn your own laptop, you need to log in to one of the andrew Linux machines. How to do so depends on what OS your laptop is running (Windows, Mac, or Linux) . Open the Guide to Success on Setting up your Laptop on the course web site, and follow the instruction for the OS you are running on your laptop.  \nYou should do the same from a cluster computer on campus: if your laptop fails, you will want to be set up to continue your work from a cluster machine.  \nOnce you are done, you will see a terminal window that looks something like this:  \n(The messages will look different for you.)  \nDiscord signup: [https://discord. gg/wFC5bNngb](https://discord. gg/wFC5bNngb) Gradescope access code: PKV82D  \nNavigating your account in Linux  \nLinux is an operating system, just like Windows or Mac OS X. If you want to know a little more about what’s going on here, see the Guide to Success on Setting up your Laptop on the course website.  \nHere, rather than using a graphical interface, you will use the terminal to enter commands directly to the OS.  \n▶ At the prompt, list the files in your home directory1 by typing  \nWe often use the % or $ character at the beginning of a line to indicate that it’s something you’re supposed to enter at the prompt. Don’t actually type it in! Just type “ls” and press Enter, not“% ls”.  \n▶ You should see the directory private as one of the entries in your home directory. Move to this directory using the cd command, which lets you change the directory your terminal is working in.  \n\n| ✞ |  | ☎ |  |\n| --- | --- | --- | --- |\n| %\u003Cbr>✝ | cd | private\u003Cbr>✆ |  |\n|  |  |  |  |\n\nACADEMIC INTEGRITY NOTE: You should store your program files and other class solutions inside the private directory (or a subdirectory inside this directory) since this directory is automatically set to prevent electronic access by other users. Remember that you should protect your work from being accessed by other students as part of the academic integrity policy for this course.  \n▶ Once you cd into the private directory, make a new directory named 15122 using the mkdir command:  \n\n| ✞ ☎ |  |\n| --- | --- |\n| % mkdir 15122\u003Cbr>~~✝ ~~✆ |  |\n|  |  |\n\nNow go into this directory using cd again:  \n\n| ✞ |  | ☎ |  |\n| --- | --- | --- | --- |\n| %\u003Cbr>✝ | cd | 15122\u003Cbr>✆ |  |\n|  |  |  |  |\n\nSetting up your Linux Account  \nNow that you know how to navigate in the Linux machine, it needs to be set up so that you have syntax highlighting and can use the course tools.  \n▶ At the prompt, enter the command  \n☎  \n✝ ✆  \n\n| ✞ |\n| --- |\n| % /[afs/andrew/course/15/122/bin/15122-setup.sh](afs/andrew/course/15/122/bin/15122-setup.sh)\u003Cbr>- files modified: ~/. bash rc, ~/emacs, ~/. vimrc (older versions are backed up)\u003Cbr>- your default shell will now be bash You do *not * need to run this script again |\n\nIf you run into difficulties, ask on Ed or come to the setup workshop. You can alternatively look at the instructions at [https://github. com/iliano/c0/wiki/Setting_up_your_environment](https://github. com/iliano/c0/wiki/Setting_up_your_environment)[ ](https://github. com/iliano/c0/wiki/Setting_up_your_environment)(but you shouldn’t need to) .  \n1You’re probably familiar with “folders” if you’ve used Mac or Windows.“Directory” is the Linux name for folders.  \nPage 2/8 © Carnegie Mellon University 2026  \nDisco","cbCaiugDehhCAOoX","https://ap.wps.com/l/cbCaiugDehhCAOoX","pdf",261905,"English","# Getting started\n## Navigating your account in Linux\n# Setting up your Linux account\n# Completing a programming assignment\n## Using Autolab122","[{\"question\":\"What is the first step to begin 15-122 setup?\",\"answer\":\"Enroll in Discord using the provided signup link, then register with your andrew email address.\"},{\"question\":\"How do you navigate Linux after logging in?\",\"answer\":\"Use terminal commands such as ls to list files in your home directory, then use cd to move into the private directory and work from there.\"},{\"question\":\"How do you prepare to submit programming assignments on Autolab?\",\"answer\":\"Sign up on Autolab using the provided access code, then use autolab122 commands; run a one-time setup for autolab122 if needed and use autolab122 hw to view released assignments.\"}]","15-122 - Principles of Imperative Computation - Setup Lab | PDF",[144],{"page_no":22,"url":145,"width":146,"height":147},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/269643a8a10451c1abedda4571f615c2.webp",983,1272,{"list":149,"token":11},[150,157,163,170,176,182,188,194,200,206],{"doc_id":151,"doc_title":152,"file_type":137,"home_preview_img_url":153,"slug":154,"view_count":155,"category_name":29,"create_tm":156},673518,"Installation Guide - 2022 MS SQL Server on Ubuntu Linux (20.4)","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229990906935/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=Yo%2FFR8HIkjtXoD8PUw19m4x2qqk%3D","installation-guide-2022-ms-sql-server-on-ubuntu-linux-204",13,1793647486,{"doc_id":158,"doc_title":159,"file_type":137,"home_preview_img_url":160,"slug":161,"view_count":123,"category_name":29,"create_tm":162},671803,"Linux Tutorial - Version 1.21 - Learn Linux command basics","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229988776479/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=ZPlF5DFfrVHiZ%2BHRyC2Vow8rOhY%3D","linux-tutorial-version-121-learn-linux-command-basics",1793580864,{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":168,"category_name":29,"create_tm":169},501989,"Windows 11 - Setting Up Eduroam Wi-Fi","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229931513430/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=hDFyAoFx7mwKPekra7%2BZ5vWca7s%3D","windows-11-setting-up-eduroam-wi-fi",16,1791027484,{"doc_id":171,"doc_title":172,"file_type":137,"home_preview_img_url":173,"slug":174,"view_count":22,"category_name":29,"create_tm":175},761406,"Tableau Server on Linux Administrator Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230045586338/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=T%2BgUoBOrJnr%2F6Bq1LxUEHHmrbFw%3D","tableau-server-on-linux-administrator-guide",1795985108,{"doc_id":177,"doc_title":178,"file_type":137,"home_preview_img_url":179,"slug":180,"view_count":102,"category_name":29,"create_tm":181},686589,"Useful Commands for Linux, Yocto & Git - Shortcuts and tricks","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000539861/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=xniJX7Sn2mHDuxEmqrZwZfoR3ug%3D","useful-commands-for-linux-yocto-git-shortcuts-and-tricks",1794057231,{"doc_id":183,"doc_title":184,"file_type":137,"home_preview_img_url":185,"slug":186,"view_count":26,"category_name":29,"create_tm":187},760103,"Android Studio Flamingo Essentials - Java Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044495597/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=sYvK7uTaTfp43vcqokJEeYUohak%3D","android-studio-flamingo-essentials-java-edition",1795898554,{"doc_id":189,"doc_title":190,"file_type":137,"home_preview_img_url":191,"slug":192,"view_count":33,"category_name":29,"create_tm":193},685962,"How to get, setup and run SPEC benchmarks - Part B - Tutorial","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999729047/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=v0PHwJ3rTz64FFxsS3jRol0%2Btww%3D","how-to-get-setup-and-run-spec-benchmarks-part-b-tutorial",1794023899,{"doc_id":195,"doc_title":196,"file_type":137,"home_preview_img_url":197,"slug":198,"view_count":155,"category_name":29,"create_tm":199},561741,"FLIP - Installation Guide - Load and Flash HEX File","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947773186/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=IZV82CT8Y3PVdPu7aOKU36LFAio%3D","flip-installation-guide-load-and-flash-hex-file",1791806812,{"doc_id":201,"doc_title":202,"file_type":137,"home_preview_img_url":203,"slug":204,"view_count":115,"category_name":29,"create_tm":205},671810,"The Linux Users' Guide - read online free","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229988405487/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=rxU44O%2BqidNNgYXTzhfT4pqn%2B8k%3D","the-linux-users-guide-read-online-free",1793580881,{"doc_id":207,"doc_title":208,"file_type":137,"home_preview_img_url":209,"slug":210,"view_count":33,"category_name":29,"create_tm":211},699572,"An Introduction to the Linux Command Shell - For Beginners - A GNU Free Documentation License Manual","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230011312375/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111879&Signature=S%2BLkGnE3%2FE6anVXE2zITnNdJhNM%3D","an-introduction-to-the-linux-command-shell-for-beginners-a-gnu-free-documentation-license-manual",1794479414]