maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Extra softwares in Sailfish using CLI, repositories, etc (https://talk.maemo.org/showthread.php?t=92036)

cloudbuster 2013-12-22 11:38

Re: Extra softwares in Sailfish using CLI, repositories, etc
 
I'd enjoy screen (perhaps even byobu) and irssi.

qwazix 2013-12-22 11:44

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

casl 2013-12-26 13:55

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:

Remote terminal application that allows roaming, supports intermittent connectivity, and provides intelligent local echo and line editing of user keystrokes.

Mosh is a replacement for SSH. It's more robust and responsive, especially over Wi-Fi, cellular, and long-distance links.

Mosh is free software, available for GNU/Linux, FreeBSD, Solaris, Mac OS X, and Android
Please ask if these instructions don't work. I did many steps forwards and backwards while trying to build some libs manually and installing some using pkcon, so ask if they don't work as intended:

1) First, the dependencies. Open terminal and type:

Code:

pkcon install zlib-devel protobuf-compiler protobuf-devel ncurses-devel openssl-devel
2) Open browser / use wget / whatnot to download:

Code:

http://mosh.mit.edu/mosh-1.2.4.tar.gz
3) In the terminal again:

Code:

devel-su
# insert your developer mode password
cd /home/nemo/Downloads # or other folder where the file is
tar xvfz mosh-1.2.4.tar.gz
cd mosh-1.2.4
./configure
make
make install

Please note that you'll also need make, gcc, and gcc-c++ packages installed.

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.

Kabouik 2013-12-26 15:11

Re: Extra softwares in Sailfish using CLI, repositories, etc
 
Quote:

Originally Posted by casl (Post 1400744)
Managed to build Mosh on my phone and thought I'd share this with you guys.

What "Mosh"?

http://mosh.mit.edu/



Please ask if these instructions don't work. I did many steps forwards and backwards while trying to build some libs manually and installing some using pkcon, so ask if they don't work as intended:

1) First, the dependencies. Open terminal and type:

Code:

pkcon install zlib-devel protobuf-compiler protobuf-devel ncurses-devel openssl-devel
2) Open browser / use wget / whatnot to download:

Code:

http://mosh.mit.edu/mosh-1.2.4.tar.gz
3) In the terminal again:

Code:

devel-su
# insert your developer mode password
cd /home/nemo/Downloads # or other folder where the file is
tar xvfz mosh-1.2.4.tar.gz
cd mosh-1.2.4
./configure
make
make install

Please note that you'll also need make, gcc, and gcc-c++ packages installed.

Thanks! Could you explain for newbies how to use it from a Windows PC to the Jolla? I used to use KiTTY (a PuTTY fork) to connect to the Jolla through WiFI or USB, but really like the roaming feature of mosh. Is there any way to use it from a Windows computer, and if so, how?

casl 2013-12-26 20:24

Re: Extra softwares in Sailfish using CLI, repositories, etc
 
Quote:

Originally Posted by Kabouik (Post 1400753)
Thanks! Could you explain for newbies how to use it from a Windows PC to the Jolla? I used to use KiTTY (a PuTTY fork) to connect to the Jolla through WiFI or USB, but really like the roaming feature of mosh. Is there any way to use it from a Windows computer, and if so, how?

Unfortunately there is no Mosh Windows client yet. You could give it a try though using the experimental Cygwin port from the Mosh website.

etam 2013-12-29 21:11

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
ssu ur

But it seems that the repo does not exist.

Code:

$ ssu lr
[...]
Enabled repositories (user):
 - mer-tools ... https://releases.jolla.com/releases/1.0.2.5/mer-tools/builds/armv7hl/packages/
[...]

Opening this url in browser gives "403 Forbidden"

Does anyone know what's the status of this repo?

etam 2013-12-29 21:27

Re: Extra softwares in Sailfish using CLI, repositories, etc
 
Sorry, my bad. I missed the "pkcon refresh" line. Everything works fine :)

xerxes2 2013-12-29 22:05

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

kollin 2014-01-07 10:49

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
:confused:

what shall i do now?

rainisto 2014-01-07 10:55

Re: Extra softwares in Sailfish using CLI, repositories, etc
 
Quote:

Originally Posted by kollin (Post 1404475)
:confused:

what shall i do now?

Thats just debug message that can be ignored.


All times are GMT. The time now is 15:17.

vBulletin® Version 3.8.8