View Single Post
Posts: 1,269 | Thanked: 3,961 times | Joined on May 2011 @ Brazil
#1
This topic is to share experiences of installing softwares in Sailfish using Terminal (CLI - Command Line Interface) tools (pkcon, zypper, etc), extra repositories, etc.

Tested on Sailfish port @ Nokia N9.

Set the Developer Mode in Sailfish Settings : choose a password, leave "Allow developer updates" not selected, save. So now you have Terminal and remote connection (via "ssh nemo@<ip-number>").

The pkcon command has many options, see here some documentation.

1) (Don't work on recent Sailfish versions) Jolla file manager, use Terminal to install using pkcon :
$ pkcon install jolla-fileman
This file manager seems to be in alpha/beta state until now (15/12/2013).

There are other file browsers in Jolla Store (File Browser, Cargo Dock) and Warehouse (Filetug).

2) nano text editor to be used inside Teminal :
$ pkcon install nano

3) zypper tool, to complement pkcon :
$ pkcon install zypper
But zypper can't be used at same time with Jolla Store. See some zypper documentation, and zypper cheat sheet (page 1 and 2).

4) programming languages are available and simple to install :
gcc 4.6.4 (with gcc-c++, gcc-objc, gcc-objc++), perl 5.16.1 (already installed), ruby 1.9.3, tcl 8.5.8, tcl/tk 8.5.12 (with mer-tools repository), vala (0.16), etc. For example :

4.a) Python 2.7.5 :
$ pkcon install python

4.b) C/C++ (gcc/g++ 4.6.4) :
$ pkcon install gcc gcc-c++
Yeah, you can compile C/C++ code and run .o objects at CLI. No Harmattan aegis limitations anymore

5) additional softwares in mer-tools repository, e.g. :
dosfstools, emacs, git, htop, less, mtools, parted, powertop, rsync, ruby 1.9.3, strace, sudo, tcl/tk 8.5.12, zsh.
First enable the repository by entering root (with Developer Mode password) :
$ devel-su
# ssu ar mer-tools
# ssu ur
$ pkcon refresh
Now you can install, for example :
$ pkcon install htop less powertop
htop creates an icon which doesn't work, but inside Terminal it is ok.

6) OpenRepos.net via Warehouse client has many CLI softwares. NielDK published more than one hundred : apache, bash 4.3, cpufrequtils, imagemagick, lynx, mc (Midnight Commander), php, qemu, screen, wget, etc.
__________________
Python, C/C++, Qt and CAS developer. For Maemo/MeeGo/Sailfish :
Integral, Derivative, Limit - calculating mathematical integrals, derivatives and limits. SymPy - Computer Algebra System.
MatPlotLib - 2D & 3D plots in Python. IPython - Python interactive shell.
-- My blog about mobile & scientific computing ---
Sailfish : Sony Xperia X, Gemini, Jolla, Jolla C, Jolla Tablet, Nexus 4. Nokia N9, N900, N810.

Last edited by rcolistete; 2014-06-10 at 23:57. Reason: Comments about file browser, added citation about OpenRepos.net
 

The Following 63 Users Say Thank You to rcolistete For This Useful Post: