Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Extra softwares in Sailfish using CLI, repositories, etc

    Reply
    Page 1 of 12 | 1   2     3   11 | Next | Last
    rcolistete | # 1 | 2013-12-15, 18:50 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

    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:
    ajalkane, amandalam, beobachter, billranton, borghal, ck2nb, cloudbuster, CLRS530, cy8aer, DA5, durneyj, etam, fasza2, Feathers McGraw, Flynx, fw190, ggabriel, hhbbap, icke, J4ZZ, javispedro, jellyroll, Jordi, jule, Kaacz, Kabouik, Karza, kinchan, lal, maluka, manu027, Markkyboy, MartinK, max_power, mbo, mced, mdengler, minimos, miqu, mrsellout, mscion, Naranek, OVK, pichlo, qwazix, Rauha, reinob, richardski, Schturman, shanttu, shmerl, sombrer0, sponka, szopin, tangent, TMavica, toebaer, trashin, xkkkx, zamorph, zlatko

     
    shmerl | # 2 | 2013-12-15, 20:30 | Report

    Is Midnight Commander available anywhere?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to shmerl For This Useful Post:
    szopin, zenecho

     
    rcolistete | # 3 | 2013-12-15, 20:38 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to rcolistete For This Useful Post:
    hhbbap

     
    shmerl | # 4 | 2013-12-15, 20:46 | Report

    I guess it's good to propose to add it to mer-tools.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    szopin | # 5 | 2013-12-17, 15:09 | Report

    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?)

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Files
    File Type: gz wget.tar.gz (171.2 KB, 952 views)

    Last edited by szopin; 2013-12-17 at 16:33.
    The Following 2 Users Say Thank You to szopin For This Useful Post:
    abyzthomas, OVK

     
    w00t | # 6 | 2013-12-17, 16:44 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 5 Users Say Thank You to w00t For This Useful Post:
    amandalam, mdengler, minimos, OVK, szopin

     
    shmerl | # 7 | 2013-12-17, 17:11 | Report

    wget suffered from GPLv3 fate But adding it to some community repo is a good idea.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to shmerl For This Useful Post:
    minimos

     
    kribber | # 8 | 2013-12-21, 06:13 | Report

    "Fatal error: Authentication failed (is SSU set up correctly?)
    " yes it is?`. What the **** is this ****?. Last step install fails?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Bundyo | # 9 | 2013-12-21, 06:39 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Bundyo For This Useful Post:
    hhbbap

     
    nanderv | # 10 | 2013-12-22, 11:23 | Report

    Is GHC (haskell compiler) an option? If not, I might build one myself .

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 1 of 12 | 1   2     3   11 | Next | Last
vBulletin® Version 3.8.8
Normal Logout