How To Install plm on Ubuntu 18.04
Introduction
In this tutorial we learn how to install plm
on Ubuntu 18.04.
What is plm
plm is:
The Programmer’s Learning Machine (PLM) is a free cross-platform programming exerciser. It lets you explore various concepts of programming through over 200 interactive exercises, that you can solve in either Java, Python or Scala.
The PLM interface and content is thoughtfully translated to English, French and Brazilian; Other translations may be added in the future.
The following concepts are included in this package:
- Welcome: teach basics of programming to absolute beginners
- Maze: classical maze escaping algorithms for intermediate
- Sort: classical sorting algorithms for intermediate. One introduction lesson presents the basics of the sorting algorithms while two additional lessons apply them in more recreative settings.
- Recursion: classical logo algorithms for intermediate
- Turtle Art: explore a few classical LOGO figures
- LightBot: little programmer’s brain teaser for intermediate and advanced
Other lessons are planned to explore new concepts, such as the backtracking, dynamic programming, object-oriented programming or the standard libraries of Python, Scala and Java. Other programming languages (such as Ruby or JavaScript) may be added in the future.
There are three methods to install plm
on Ubuntu 18.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install plm Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install plm
using apt-get
by running the following command:
sudo apt-get -y install plm
Install plm Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install plm
using apt
by running the following command:
sudo apt -y install plm
Install plm 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 plm
using aptitude
by running the following command:
sudo aptitude -y install plm
How To Uninstall plm on Ubuntu 18.04
To uninstall only the plm
package we can use the following command:
sudo apt-get remove plm
Uninstall plm And Its Dependencies
To uninstall plm
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove plm
Remove plm Configurations and Data
To remove plm
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge plm
Remove plm configuration, data, and all of its dependencies
We can use the following command to remove plm
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge plm
References
Summary
In this tutorial we learn how to install plm
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.