Extra softwares in Sailfish using CLI, repositories, etc
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 :cool: 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. |
Re: Extra softwares in Sailfish using CLI, repositories, etc
Is Midnight Commander available anywhere?
|
Re: Extra softwares in Sailfish using CLI, repositories, etc
Quote:
In OpenRepos.net there is Midnight Commander for MeeGo Harmattan only. |
Re: Extra softwares in Sailfish using CLI, repositories, etc
I guess it's good to propose to add it to mer-tools.
|
Re: Extra softwares in Sailfish using CLI, repositories, etc
1 Attachment(s)
Quote:
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?) |
Re: Extra softwares in Sailfish using CLI, repositories, etc
Quote:
|
Re: Extra softwares in Sailfish using CLI, repositories, etc
wget suffered from GPLv3 fate :) But adding it to some community repo is a good idea.
|
Re: Extra softwares in Sailfish using CLI, repositories, etc
"Fatal error: Authentication failed (is SSU set up correctly?)
" yes it is?`. What the **** is this ****?. Last step install fails? |
Re: Extra softwares in Sailfish using CLI, repositories, etc
Quote:
|
Re: Extra softwares in Sailfish using CLI, repositories, etc
Is GHC (haskell compiler) an option? If not, I might build one myself ;).
|
Re: Extra softwares in Sailfish using CLI, repositories, etc
I'd enjoy screen (perhaps even byobu) and irssi.
|
Re: Extra softwares in Sailfish using CLI, repositories, etc
I'd like to add imagemagick to the requests. I tried to compile it but it's non-trivial: too many dependencies.
The binary does compile okay, but it misses decoders/encoders |
Re: Extra softwares in Sailfish using CLI, repositories, etc
Managed to build Mosh on my phone and thought I'd share this with you guys.
What "Mosh"? http://mosh.mit.edu/ Quote:
1) First, the dependencies. Open terminal and type: Code:
pkcon install zlib-devel protobuf-compiler protobuf-devel ncurses-devel openssl-devel Code:
http://mosh.mit.edu/mosh-1.2.4.tar.gz Code:
devel-su EDIT: Important note! As you'll install this by compiling Mosh manually from sources, you'll be yourself responsible for possible security updates in the future. So keep checking the website every now and then to keep your Mosh secure. |
Re: Extra softwares in Sailfish using CLI, repositories, etc
Quote:
|
Re: Extra softwares in Sailfish using CLI, repositories, etc
Quote:
|
Re: Extra softwares in Sailfish using CLI, repositories, etc
Hi,
I just added mer-tools repo as described in the first post Code:
ssu ar mer-tools Code:
$ ssu lr Does anyone know what's the status of this repo? |
Re: Extra softwares in Sailfish using CLI, repositories, etc
Sorry, my bad. I missed the "pkcon refresh" line. Everything works fine :)
|
Re: Extra softwares in Sailfish using CLI, repositories, etc
So wget can't be found in Sailfish repos just because it's gplv3?
The one in Nemo works: http://repo.merproject.org/obs/nemo:...ps.armv7hl.rpm |
Re: Extra softwares in Sailfish using CLI, repositories, etc
when i try "ssu ar mer-tools" i get:
Code:
void NetworkService::setPath(const QString&) "Method "GetProperties" with signature "" on interface "net.connman.Service" doesn't exist what shall i do now? |
Re: Extra softwares in Sailfish using CLI, repositories, etc
Quote:
|
Re: Extra softwares in Sailfish using CLI, repositories, etc
Quote:
|
Re: Extra softwares in Sailfish using CLI, repositories, etc
Quote:
|
Re: Extra softwares in Sailfish using CLI, repositories, etc
Probably would be easy adapting the openSUSE armv7hl packages for Jolla:
http://download.opensuse.org/reposit...E_Factory_ARM/ |
Re: Extra softwares in Sailfish using CLI, repositories, etc
Quote:
|
Re: Extra softwares in Sailfish using CLI, repositories, etc
rpmbuild with the src package in a Jolla environment :)
|
Re: Extra softwares in Sailfish using CLI, repositories, etc
Quote:
Code:
[nemo@localhost mcsrc]$ rpmbuild --rebuild mc-4.8.11-90.4.src.rpm :( Used those links for directions: http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment http://wiki.centos.org/HowTos/RebuildSRPM Ok commented some lines in the spec file now the drama is different: Code:
rpmbuild -ba mc.spec zypper can't find the devel packages my be they are in different repo? :confused: |
Re: Extra softwares in Sailfish using CLI, repositories, etc
Quote:
If I ./configure it always quits with Code:
configure: error: glib-2.0 not found or version too old (must be >= 2.12) I'm using lates src of mc-4.8.11. Thanks in advance, J4ZZ |
Re: Extra softwares in Sailfish using CLI, repositories, etc
Quote:
|
Re: Extra softwares in Sailfish using CLI, repositories, etc
Quote:
|
Re: Extra softwares in Sailfish using CLI, repositories, etc
Edit: ./configure works now but make install doesn't?
Anything else I need to be aware of? Last lines.... Code:
Making install in skin J4ZZ |
Re: Extra softwares in Sailfish using CLI, repositories, etc
Search for bugs ;), for example:https://www.midnight-commander.org/ticket/3144
btw, version 4.8.10 is on my openrepos ;) https://openrepos.net/content/nieldk/midnight-commander |
Re: Extra softwares in Sailfish using CLI, repositories, etc
Hmmm, ok.
I'll just use yours. ;) So, thanks for adding mc to your openrepos... http://talk.maemo.org/images/icons/icon14.gif Regards, J4ZZ |
Re: Extra softwares in Sailfish using CLI, repositories, etc
@neildk
You seems to be the man to ask for cli apps so I would like to make a request for wget. If you would add that to openrepos that would be awesome. Curl -O works but still wget is less to write. :) |
Re: Extra softwares in Sailfish using CLI, repositories, etc
Already available
Code:
[root@localhost Downloads]# pkcon get-packages | grep wget Edit2: See post#38 ;) |
Re: Extra softwares in Sailfish using CLI, repositories, etc
Quote:
Code:
./configure --with-screen=ncurses |
Re: Extra softwares in Sailfish using CLI, repositories, etc
Quote:
|
Re: Extra softwares in Sailfish using CLI, repositories, etc
Quote:
http://talk.maemo.org/showpost.php?p...78&postcount=5 Would be nice to have it auto-updating though |
Re: Extra softwares in Sailfish using CLI, repositories, etc
I took the one from nemo posted by xerxes2.
Code:
curl http://repo.merproject.org/obs/nemo:/devel:/apps/next_armv7hl/armv7hl/wget-1.13.4-2.4.Nemo.Apps.armv7hl.rpm -o wget.rpm |
Re: Extra softwares in Sailfish using CLI, repositories, etc
Quote:
Do I need any other additional packages? So far I've also installed autoconf automake libtool and cvs. Would be nice to know if there are more *-devel packages I probably missed out. TIA, J4ZZ |
Re: Extra softwares in Sailfish using CLI, repositories, etc
Quote:
|
All times are GMT. The time now is 13:56. |
vBulletin® Version 3.8.8