Insync install for Clear Linux

So I followed the installation procedures for Google Chrome and applied it to insync rpm. Unfortunately it did not have the desired results.

I’m wondering if anyone else has installed insync and how did they do it

Actually isync was updates insync was not added. Completely misread that

1 Like

For those that use insync, download insync portable:

And you can run it headless…

I’m not seeing the portable option. Do you have a direct link?

Edit: did it another way and got it working.

1 Like

No after insync 3 update the portable option was removed from site.

How did you get it to work?

I downloaded the Fedora RPM, and extracted the usr folder to home. I then copied contents of each folder into their respective /usr/ folders, except lib went to lib64. I had to move/remove/rename the following files in /usr/lib64/insync for it to work properly though:

  • libssl.so.1.1
  • libX11.so.6
  • libcurl.so.4

I simply appended .bak to them and everything worked. I don’t think I’m missing any steps, but that’s the gist of it. If you run into any issues, let me know.

2 Likes

Awesome, thanks for sharing.

1 Like

So, I reinstalled Clear & made some notes. This could easily be scripted but I wasn’t feeling that ambitious. :slight_smile:

download rpm (Fedora, latest version)
extract rpm (I used files)

Then from command line (need elevated privileges, of course)

cd usr/
cp bin/insync /usr/bin/
cp -r lib/insync /lib64/
cp -r share/* /usr/share/
cp -r share/mime/packages/insync-helper.xml /usr/share/mime/packages/

vim /usr/bin/insync

  • replace lib with lib64
  • append “–ca-path /etc/ssl/certs/” to the exec params
    • should read LC_TIME=C exec ./insync "$@" --ca-path /etc/ssl/certs/
mv /usr/lib64/insync/libX11.so.6 /usr/lib64/insync/libX11.so.6.bak
mv /usr/lib64/insync/libssl.so.1.1 /usr/lib64/insync/libssl.so.1.1.bak
mv /usr/lib64/insync/libcurl.so.4 /usr/lib64/insync/libcurl.so.4.bak
3 Likes

That is exactly the same solution I came up with. Thanks for registering it here in the forums.

2 Likes

I would suggest copying/extracting under /usr/local/ instead of /usr instead so that it won’t inadvertently get removed by the Clear Linux updater.

4 Likes

Great catch, thanks! I seem to forget this quite often.

1 Like

One can try to install using my cmake package. It downloads the latest version of insync and installs it properly in /usr/local/ order to run it under Clear Linux: GitHub - insilications/insync-clr

Download the latest installer (https://github.com/insilications/insync-clr/archive/local-install.zip):

unzip -q insync-clr-local-install.zip
cd insync-clr-local-install/
mkdir build
cd build/
cmake CMAKE_INSTALL_PREFIX=/usr/local ..
make
make install
1 Like