How To Install sc on Debian 12

Learn how to install sc on Debian 12 with this tutorial. sc is Text-based spreadsheet with VI-like keybindings

Introduction

In this tutorial we learn how to install sc on Debian 12.

What is sc

sc is:

“Spreadsheet Calculator” is a much modified version of the public- domain spread sheet sc, which was posted to Usenet several years ago by Mark Weiser as vc, originally by James Gosling. It is based on rectangular table much like a financial spreadsheet.

Its keybindings are familiar to users of ‘vi’, and it has most features that a pure spreadsheet would, but lacks things like graphing and saving in foreign formats. It’s very stable and quite easy to use once you’ve put a little effort into learning it.

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

Install sc Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install sc

Install sc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install sc

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

sudo aptitude -y install sc

How To Uninstall sc on Debian 12

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

sudo apt-get remove sc

Uninstall sc And Its Dependencies

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

sudo apt-get -y autoremove sc

Remove sc Configurations and Data

To remove sc configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge sc

Remove sc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge sc

Dependencies

sc have the following dependencies:

References

Summary

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