How to Uninstall and Install nml Ubuntu 22.04

Updated: September 16, 2022

NML is a python-based compiler, capable of compiling NML (NewGRF Meta Language) files (along with their associated language, sound and graphic files) into grf and / or nfo files (which can serve as datafiles for the OpenTTD or TTDPatch games). I will show you how to install nml on Ubuntu 22.04 in this tutorial.

Requirements

  • Operating system: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Check that you can run sudo commands.

Prerequisites to install nml on Ubuntu 22.04

Install nml Ubuntu 22.04

nml is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one you believe is simple and easy to follow.

Install nml using APT

This is one of the most popular methods for installing Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to get nml on your Ubuntu.

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt-get update

Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install nml Ubuntu by pasting this command into the terminal and pressing Enter.

sudo apt install nml

Install nml using Aptitude

Users can manage their installation, upgrade, and removal of packages with Aptitude and view a list of the packages that are currently available. If you haven’t already installed it on Ubuntu, run this command to do so.

sudo apt -y install aptitude

After that, you can now install nml by following these steps:

Step 1: Update the APT database to download new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt-get -y update

Step 2: Start the package installation on Ubuntu 22.04. You can now install nml Ubuntu by executing this command in the terminal.

sudo aptitude -y install nml

Uninstall nml on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu might be challenging? You’re wrong; any program, not just a nml, can be easily uninstalled by anyone.

This command can be used to uninstall nml from Ubuntu 22.04 if it was installed using APT or Aptitude.

sudo apt remove --auto-remove nml

To uninstall nml and remove its data and dependencies, you can also use the following command:

sudo apt autoremove --purge nml

Conclusion

In this tutorial, I showed you ways to install nml on Ubuntu 22.04 and some ways to uninstall nml too. Please do not hesitate to contact me if you require assistance. I’m delighted to respond.