How To Install teensy-loader-cli on Ubuntu
Posted on April 1, 2023  (Last modified on May 20, 2023 )
2 minutes • 377 words
Introduction
In this tutorial we learn how to install teensy-loader-cli on Ubuntu.
What is teensy-loader-cli
teensy-loader-cli is:
See https://www.pjrc.com/teensy/ for an introduction to the Teensy family of USB-based microcontroller development systems.
The teensy loader cli is a command-line alternative to the graphical teensy loader which is included with Teensyduino. The cli version is preferred by advanced users who want to automate programming, typically from within a Makefile or similar.
There are three methods to install teensy-loader-cli on Ubuntu. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install teensy-loader-cli Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install teensy-loader-cli using apt-get by running the following command:
sudo apt-get -y install teensy-loader-cli
Install teensy-loader-cli Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install teensy-loader-cli using apt by running the following command:
sudo apt -y install teensy-loader-cli
Install teensy-loader-cli Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install teensy-loader-cli using aptitude by running the following command:
sudo aptitude -y install teensy-loader-cli
How To Uninstall teensy-loader-cli on Ubuntu
To uninstall only the teensy-loader-cli package we can use the following command:
sudo apt-get remove teensy-loader-cli
Uninstall teensy-loader-cli And Its Dependencies
To uninstall teensy-loader-cli and its dependencies that are no longer needed by Ubuntu, we can use the command below:
sudo apt-get -y autoremove teensy-loader-cli
Remove teensy-loader-cli Configurations and Data
To remove teensy-loader-cli configuration and data from Ubuntu we can use the following command:
sudo apt-get -y purge teensy-loader-cli
Remove teensy-loader-cli configuration, data, and all of its dependencies
We can use the following command to remove teensy-loader-cli configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge teensy-loader-cli
Dependencies
teensy-loader-cli have the following dependencies:
References
Summary
In this tutorial we learn how to install teensy-loader-cli package on Ubuntu using different package management tools: apt, apt-get and aptitude.