How To Install upslug2 on Debian 9

In this tutorial we learn how to install upslug2 on Debian 9. upslug2 is utility to upgrade the firmware of a Linksys NSLU2 via the network

Introduction

In this tutorial we learn how to install upslug2 on Debian 9.

What is upslug2

upslug2 is:

upslug2 is a command line program intended to allow the upgrade of a Linksys NSLU2 (Network Storage Link for USB 2.0 Disk Drives) firmware to new or different versions. When a NSLU2 in the local network is put in upgrade mode, upslug2 can connect to it and upload a new firmware.

upslug2 will accept a full firmware image but it can also upgrade the flash from individual files holding the kernel, ramdisk and root filesystem. upslug2 provides status information during the upgrade process and verifies the written image after the upgrade.

There are three methods to install upslug2 on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install upslug2 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install upslug2

Install upslug2 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install upslug2

Install upslug2 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install upslug2

How To Uninstall upslug2 on Debian 9

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

sudo apt-get remove upslug2

Uninstall upslug2 And Its Dependencies

To uninstall upslug2 and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove upslug2

Remove upslug2 Configurations and Data

To remove upslug2 configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge upslug2

Remove upslug2 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge upslug2

Dependencies

upslug2 have the following dependencies:

References

Summary

In this tutorial we learn how to install upslug2 package on Debian 9 using different package management tools: apt, apt-get and aptitude.