How To Install nulib2 on Ubuntu 22.04

In this tutorial we learn how to install nulib2 on Ubuntu 22.04. nulib2 is NuFX and Binary II archive utility

Introduction

In this tutorial we learn how to install nulib2 on Ubuntu 22.04.

What is nulib2

nulib2 is:

NuLib2 is a command-line archive utility for NuFX and Binary II archives, as commonly used on Apple II systems. It can handle files produced by ShrinkIt. Typical extensions for the files it supports are SHK, SDK, BXY, BSE, SEA, BNY, and BQY.

It handles file types, resource forks, comments, large archives, wrappers…

There are three methods to install nulib2 on Ubuntu 22.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 nulib2 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install nulib2 using apt-get by running the following command:

sudo apt-get -y install nulib2

Install nulib2 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install nulib2 using apt by running the following command:

sudo apt -y install nulib2

Install nulib2 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 nulib2 using aptitude by running the following command:

sudo aptitude -y install nulib2

How To Uninstall nulib2 on Ubuntu 22.04

To uninstall only the nulib2 package we can use the following command:

sudo apt-get remove nulib2

Uninstall nulib2 And Its Dependencies

To uninstall nulib2 and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove nulib2

Remove nulib2 Configurations and Data

To remove nulib2 configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge nulib2

Remove nulib2 configuration, data, and all of its dependencies

We can use the following command to remove nulib2 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge nulib2

References

Summary

In this tutorial we learn how to install nulib2 package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.