.deb package for Ubuntu

Discuss new features and functions
Posts: 3
Joined: 19 Aug 2009

warakurna

Hej,

Finally, I managed to get FFS 2.2 working under Ubuntu. I think it would be useful to compile a .deb package which can be installed directly and integrates into the menu structure.
Beside that it is my program of choice when doing sync stuff...

Cheers,
Jan
User avatar
Site Admin
Posts: 7210
Joined: 9 Dec 2007

Zenju

I thought Linux guys are used to compile stuff :) Should be pretty easy following the compile instructions, or did you face some difficulties?

-Zenju
Posts: 3
Joined: 19 Aug 2009

warakurna

Hej,

Finally, I managed to get FFS 2.2 working under Ubuntu. I think it would be useful to compile a .deb package which can be installed directly and integrates into the menu structure.
Beside that it is my program of choice when doing sync stuff...

Cheers,
Janwarakurna
Actually I'm pretty new to linux (and ubuntu), so I'm not an advanced user. I will try when I'm able! :-) But if someone has compiled a deb package, it could be provided through sourceforge, or not?
User avatar
Site Admin
Posts: 7210
Joined: 9 Dec 2007

Zenju

Actually I'm pretty new to linux (and ubuntu), so I'm not an advanced user. I will try when I'm able! :-) But if someone has compiled a deb package, it could be provided through sourceforge, or not?warakurna
> But if someone has compiled a deb package, it could be provided through sourceforge, or
> not?

Sure... Currently I'm quite busy, so if someone sends me a .deb I'll gladly add it to the release.

-Zenju
Posts: 3
Joined: 17 Jun 2004

yosu

Hi!

If you want that FreeFileSync can be installed in a good way into a Linux/Mac
system, you need change paths where FreeFileSync writes LastRun.ffs_gui and
GlobalSettings.xml files. Config files need go into $HOME/.freefilesync where
$HOME is an enviroment variable like %APPDATA% in Windows systems. I think
FreeFileSync needs read/write its configs from this directory that is writable
by the user. A portable FreeFileSync is good but if you want a .deb package,
you need change paths.

Also we need install program into /usr/bin/freefilesync, libraries into
/usr/lib, resources into /usr/shared/freefilesync to make a good installation.
Nowadays FreeFileSync reads all data from directory where is executing and it
is a problem if you want it to install as a normal application.

Greetings,
Yosu
User avatar
Site Admin
Posts: 7210
Joined: 9 Dec 2007

Zenju

Technically, It'd be no problem at all to have the same aproach for Linux like
for Windows: I.e. have a portable and an installer-based(deb.package) version
that reads writes from OS dependent directories as mentioned.
Currently there's "just" the portable version for Linux which should
suffice for most situations. However I totally lack the time of creating this
deb.package for Linux, so unless someone is interested into providing one,
this won't be in scope for now.
Posts: 1
Joined: 29 Nov 2009

areymond

Hello

I have installed FreeFileSync on Linux Mint like this:

1° Zip-File unziped

2° From the new created folder: sudo mv FreeFileSync /usr/bin/

3° cd ..

4° sudo mv .// /usr/lib/

5° sudo ln -s /usr/bin/ /usr/lib/ /usr/lib//Resources.dat

6° sudo ln -s /usr/bin/ /usr/lib//Languages/

7° The FreeFileSync 'll be started with FreeFileSync (as root)

areymond
User avatar
Site Admin
Posts: 7210
Joined: 9 Dec 2007

Zenju

Is /usr/lib/ part of the PATH variable? If so, I could simplify steps 5 and 6
by first looking if its possible to load the resources without specifying a
path and only if it fails try to load it from the executable directory.