Active Topics

 


Reply
Thread Tools
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:
Posts: 1,298 | Thanked: 2,277 times | Joined on May 2011
#2
Is Midnight Commander available anywhere?
 

The Following 2 Users Say Thank You to shmerl For This Useful Post:
Posts: 1,269 | Thanked: 3,961 times | Joined on May 2011 @ Brazil
#3
Originally Posted by shmerl View Post
Is Midnight Commander available anywhere?
No, even with mer-tools enabled.

In OpenRepos.net there is Midnight Commander for MeeGo Harmattan only.
__________________
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.
 

The Following User Says Thank You to rcolistete For This Useful Post:
Posts: 1,298 | Thanked: 2,277 times | Joined on May 2011
#4
I guess it's good to propose to add it to mer-tools.
 
Posts: 2,076 | Thanked: 3,268 times | Joined on Feb 2011
#5
Originally Posted by shmerl View Post
I guess it's good to propose to add it to mer-tools.
wget would be nice too, in the meantime binary attached (might need 'pkcon install gnutls' for ssl, not sure)


edit: wow, building on-device is a bliss, MC compiles/installs nicely, just make sure to configure with '--with-screen=ncurses' as there is no slang currently, subshell (ctrl-o) works, opens .tar.gz, yay! (now we really need hwkb, synergy compiled without problem but as it depends on X crashes right after start, any other options to make use of N900's hwkb?)
Attached Files
File Type: gz wget.tar.gz (171.2 KB, 1031 views)

Last edited by szopin; 2013-12-17 at 16:33.
 

The Following 2 Users Say Thank You to szopin For This Useful Post:
w00t's Avatar
Posts: 1,055 | Thanked: 4,107 times | Joined on Oct 2009 @ Norway
#6
Originally Posted by szopin View Post
wget would be nice too, in the meantime binary attached (might need 'pkcon install gnutls' for ssl, not sure)
if you're not picky, 'curl -O' is an acceptable replacement readily available
__________________
i'm a Qt expert and former Jolla sailor (forever sailing, in spirit).
if you like, read more about me.
if you find me entertaining, or useful, thank me. if you don't, then tell me why.
 

The Following 5 Users Say Thank You to w00t For This Useful Post:
Posts: 1,298 | Thanked: 2,277 times | Joined on May 2011
#7
wget suffered from GPLv3 fate But adding it to some community repo is a good idea.
 

The Following User Says Thank You to shmerl For This Useful Post:
Posts: 3 | Thanked: 0 times | Joined on Mar 2010
#8
"Fatal error: Authentication failed (is SSU set up correctly?)
" yes it is?`. What the **** is this ****?. Last step install fails?
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#9
Originally Posted by rcolistete View Post
No, even with mer-tools enabled.

In OpenRepos.net there is Midnight Commander for MeeGo Harmattan only.
The Harmattan one works fine - just extract it along with libslang and voila
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 

The Following User Says Thank You to Bundyo For This Useful Post:
Posts: 10 | Thanked: 13 times | Joined on Nov 2013
#10
Is GHC (haskell compiler) an option? If not, I might build one myself .
 
Reply


 
Forum Jump


All times are GMT. The time now is 00:08.