Ask / Submit

Netcat on Sailfish

asked 2015-09-01 10:47:22 +0200

vadd98 gravatar image

updated 2015-09-01 15:47:29 +0200

M.Bln. gravatar image

hi there, I found that nc is available in recovery mode but it isn't available in normal mode. Is there a way to use nc in normal mode??

edit retag flag offensive close delete


Bumping this as I'm also looking for netcat. I'm sure I saw it somewhere on openrepo's but I can't seem to find it anymore.

Niju ( 2015-09-26 18:24:16 +0200 )edit

I want to send an UDP message to my server, so netcat would be the easiest way. nc is absolutely basic functionality and is a must have!

Edit: Solved it with python script! This works out of the box ;)

SaimenSays ( 2015-10-08 00:17:44 +0200 )edit

2 Answers

Sort by » oldest newest most voted

answered 2015-10-11 12:26:20 +0200

Mced gravatar image

Netcat is a small program, so it's far easy to compile and install:

-- Go and download the source file (netcat-0.7.1.tar.gz)

-- Open Terminal or log into Sailfish through SSH. No need to devel-su, just proceed using the standard 'nemo' account.

-- Uncompress:

tar zxf ./Downloads/netcat-0.7.1.tar.gz

-- Enter directory:

cd ./Downloads/netcat-0.7.1

-- If you didn't previously, you must install a bunch of packages needed for compiling:

pkcon install gcc #(say Y when asked "Proceed with changes?")
pkcon install make

-- Configure:


-- Compile:


-- Install:

Option A: next step should be logging as root (devel-su) and type:

make install

Option B: but if you don't have Developer Mode enabled or you don't want to install stuff as 'root', just create a 'bin' directory at home:

mkdir ~/bin

Copy the Netcat executable (I'm renaming it to 'nc'):

cp -a src/netcat ~/bin/nc

and you're done.

-- The uncompressed directory is useless now. You can erase it (check the route carefully, 'rm -rf' is a very dangerous command; or just delete it with your favorite file browser)

cd ~/Downloads
rm -rf netcat-0.7.1
edit flag offensive delete publish link more


it works, thanks a lot!!

vadd98 ( 2015-10-11 13:31:16 +0200 )edit

answered 2015-10-11 16:34:29 +0200

Nieldk gravatar image

No need to compile. You can download rpm here

edit flag offensive delete publish link more


@Nieldk is today a void link, Error 404. Who has a good address instead?

prometheos de+it ( 2017-03-12 01:31:37 +0200 )edit
Login/Signup to Answer

Question tools



Asked: 2015-09-01 10:47:22 +0200

Seen: 864 times

Last updated: Oct 11 '15