Introduction
- I decided to convert an old laptop into a Linux development system
- I Installed Ubuntu over my existing windows 64 bit OS on a Toshiba satellite i3 core.
- I found various video's on YouTube .
- But followed this one https://www.youtube.com/watch?v=zpGZ3rZQ90I&t=1012s
- This is an excellent tutorial to follow to create your IoT development workstation using Linux as your Operating system.
- He built a box, which was interesting, but I followed the instructions for installing Ubuntu and loads of developer apps.
- it is very descriptive and describes how to install and configure the Operating System and Install very useful development software that can be helpful for IOT Makers like us.
- To install the 12 Applications, he includes a checklist to make it easier to cut and Place the commands.
- The applications includes Editors, IDE's. Design and Media tools.
- He gives comparisons for other Available 64 bit Linux OS's as well, but I choose to go with Ubuntu Desktop.
- The following text was taken from the slides and cheat sheet mentioned in the video. I wanted to have these notes accusable, so I can create another Linux IoT development workstation
- I wanted to document my installation for later use.
- Also, I have edited some of the text.
Notes from the video |
---|
I’m using Ubuntu Linux 20.04, which is the latest long-term release of Ubuntu. If you also use Ubuntu I would suggest using one of the long-term releases, as they are supported for a long time. These versions all have “04” at the end and an even number at the beginning, and they are released every two years. So the next long-term release (as of this writing in December of 2020) should be 22.04. Getting the Ubuntu Installation MediaThe first step in our installation is to get the installation files and transfer them to our installation media. The installation media can be either a USB stick or DVD-ROM, however, I strongly suggest the USB stick. Either way, you will need another computer and some software to burn the image to the installation media. You may already have some software to burn images on your computer. If you don’t then I recommend Balena Etcher, a free application that is available for Windows Mac and Linux. We will actually be installing Etcher on our development workstation later, as it also is perfect for writing images to SD and microSD cards. So with your other computer visit the Ubuntu website and download the image for the latest long-term support version of Ubuntu, which as of this writing is version 20.04. The download is pretty large, so if you have a slow Internet connection it may take a few minutes (or more). Once you have your image burn it onto your installation media, which needs to be at least 4GB in size. These days it would be pretty hard to find a USB stick that small, so it shouldn’t be a problem meeting that requirement! Booting the Installation MediaHook up a keyboard, mouse, and video monitor to your workstation. Also, make sure to connect an ethernet cable to the computer. Insert the USB stick (or DVD-ROM) with the Ubuntu image on it and then power up the workstation. If this is a new computer with a blank hard disk then the installation media should boot up and start loading. If this is a computer with an existing operating system then it may not boot and the machine will startup with its existing operating system. If that happens then you need to reboot and go into your BIOS utility, which generally involves holding down a key (or two keys) during the start-up. Different models of computers use different keys, most print the BIOS startup key sequence on the screen when they first start. Once the BIOS utility has loaded then you’ll need to look for the section regarding the “boot sequence”. Here you will be able to set the startup sequence, i.e. what drive does the system look to first when booting up? You’ll need to change the sequence to have your installation media start before the computer’s hard disk (or SSD). Again different BIOS programs do this differently, but they all have this feature. When you are done you need to save the settings and reboot. This time the installation media will load and the Ubuntu installation program will begin. |
Software Installed on the Workstation |
---|
The new workstation will be based upon Ubuntu Linux and will have the following software and enhancements:
INTEGRATED DEVELOPMENT ENVIRONMENTS (IDEs):
TEXT EDITING & MANIPULATION:
COMMUNICATIONS & NETWORK TOOLS
PCB & SCHEMATIC DESIGN TOOL
GRAPHICS & MEDIA TOOLS
LINUX ENHANCEMENTS
|
Software Installation CHEAT SHEETAfter installing Ubuntu here is the cheat sheet to the install software |
---|
See article at https://dronebotworkshop.com/linux-workstation
---Update Linux---- ---Run before installing software---- sudo apt update sudo apt upgrade
---Remove Caps Lock---- ---Add to Startup Manager---- xmodmap -e "keycode 66 = Shift_L NoSymbol Shift_L"
---Install ChaseApp---- sudo snap install chaseapp
---Arduino IDE from Snap Store---- ---See article for manual installation details---- -- This installs in a Sandbox making it difficult to interact with code outside of the sand box -- the next installation does not. sudo snap install arduino
---Arduino IDE Download Move and change folder ---Check version number of your IDE and change accordingly sudo mv arduino-1.8.13 /opt cd /opt/arduino-1.8.13
---Arduino IDE install ---Check version number of your IDE and change accordingly sudo ./install.sh
---Arduino IDE USB Port Fix---- ---Replace <username> with your username---- ---Verify that "dialout" is correct group---- sudo usermod -a -G dialout <username>
---Install Visual Studio Code---- ---Add Python3 Virtual Environment first---- sudo apt-get install python3-venv sudo snap install --classic code
---Install PyCharm Python Editor---- sudo snap install pycharm-community --classic
---Install Thonny IDE Python Editor---- bash <(wget -O - https://thonny.org/installer-for-linux)
---Install Geany Text Editor---- sudo apt-get install geany
---Install Meld file compare tool---- sudo apt-get install -y meld
---Install Balena Etcher USB & SD Card Burner---- echo "deb https://deb.etcher.io stable etcher" | sudo tee /etc/apt/sources.list.d/balena-etcher.list sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 379CE192D401AB61 sudo apt update sudo apt install balena-etcher-electron
---Install GitCola Git client---- sudo apt-get install git-cola
---Install FileZilla FTP---- sudo apt install filezilla
---Install XTerm terminal---- sudo apt-get install -y xterm
---Install Angry IP Scanner---- ---Download 64-bit DEB file and install with Ubuntu Installer---- https://angryip.org/download/#linux
---Install KiCad PCB Editor---- sudo add-apt-repository --yes ppa:kicad/kicad-5.1-releases sudo apt update sudo apt install --install-recommends kicad
---Install EasyEDA PCB & Schematic Editor---- ---Download install program from https://easyeda.com/page/download ---Extract and open Terminal in extracted folder sudo bash install.sh
---Install VLC Media Player---- sudo snap install vlc
---Install Shutter screen snapshot tool---- ---Optional Gnome Web Photo for web screenshots---- sudo add-apt-repository ppa:linuxuprising/shutter sudo apt update sudo apt install shutter
sudo apt install gnome-web-photo
---Install Peek animated GIF recorder---- sudo add-apt-repository ppa:peek-developers/stable sudo apt update sudo apt install peek |