I want to install the command line spreadsheet sc. I would prefer to do with homebrew. I need both psc and sc commands. Is there a homebrew package? If not other methods would be good.
3 Answers
Your wish is my command!
Homebrew Formula: sc.rb
I'll try to get the formula merged into homebrew proper sometime this week.
In the meantime, you can simply:
brew install https://gist.github.com/geoff-codes/d8c16ada1de10e6387b3/raw/sc.rb
-
-
1I'd love to see your formula integrated into homebrew - I couldn't find it there as of yet. May 14, 2017 at 17:44
For all true fans of terminal-based editing, there are two basic chains to follow, all based on the so far last known original source Version 7.16 at ibiblio. The file you want is: sc-7.16.tar.gz
- sc-im, an improved version of sc, adding undo, sorting, filtering, subtotals, cell shifting and gnuplot graphics among other features while still remaining true to its origin. Can be installed following the instructions at its github-repository. Highly recommended!
- "pure" sc, which can be installed either directly, via Homebrew (several unofficial integrations, none of which merged into upstream yet), or through MacPorts.
- Version 7.16 at ibiblio, or via dkastner's tracking repository at github.
- Using a Debianized version, calling itself 7.16-3 (version summary). Homebrew install via:
brew install https://raw.githubusercontent.com/hermo/homebrew-sc/master/Formula/sc.rb
- Using Geoff's excellent integration, which is installing version 7.16 and applying patches added to the Ubuntu repository, resulting in a version 7.16-4 (Version history):
brew install https://gist.github.com/geoff-codes/d8c16ada1de10e6387b3/raw/sc.rb
- From homebrew-alt (Link no longer functioning as of 2017-12-29), which uses Version 7.16 from ibiblio, applying patches to the Makefile to improve handling of the Homebrew directory structure:
brew install https://raw.githubusercontent.com/zpao/homebrew-alt/master/other/sc.rb
- Via MacPorts, if that's your ecosystem, as described by Mateusz
You can get it via Macports
After you install Macports you can get sc
with:
port install sc
(You might need sudo
for this)
Here's the sc profile: https://trac.macports.org/browser/trunk/dports/finance/sc/Portfile