Skip to content

Ubuntu with XLSX import & export

Pedro A. Neves edited this page Feb 11, 2022 · 8 revisions

Start by installing all required dependencies.

$ sudo apt-get install bison libncurses5-dev libncursesw5-dev libxml2-dev libzip-dev pkg-config

$ git clone https://github.com/jmcnamara/libxlsxwriter.git
$ cd libxlsxwriter/
$ make
$ sudo make install

At this point, it is important to refresh the dynamic link library cache:

$ sudo ldconfig

Proceed with downloading and compiling sc-im.

$ cd ..
$ git clone https://github.com/andmarti1424/sc-im.git
$ cd sc-im/src
$ make
$ sudo make install

Before installing, you can first perform a test run from the src/ directory from the command line:

 $ ./sc-im

Type sc-im at the command line prompt to run the program.

For legacy .xls file reading support, please refer to this wiki page.

Configuration

The file ~/.config/sc-im/scimrc contains configuration data. Here is an example.

set autocalc
set numeric
set numeric_decimal=0
set overlap
set xlsx_readformulas

Other configuration variables are listed in the help file.