Fedora Linux Support Community & Resources Center
  #1  
Old 22nd July 2015, 07:30 PM
DokterW Offline
Registered User
 
Join Date: Jun 2010
Location: Sweden
Posts: 87
macosfirefox
Question Installing Wickr, any success?

Has anyone here installed Wickr successfully? They only provide .deb packages and I've tried to convert it to .rpm using alien and then rpmrebuild. Still getting dependencies on the libs provided.

Tried to extract the files, put them according to the tarball, but that didn't work either.

Contacted Wickr and they only get a few rpm requests a month and apparently I'm the first to request a tarball from them.

Any suggestions would be much appreciated.
__________________
Dokter Waldijk — 'not that kind of doctor' — https://github.com/DokterW
Lenovo S20-30 — Fedora Security 26
HP ProBook 450 G3 — Fedora Workstation 26
HP Proliant Microserver Gen8 — Fedora Server 26
Raspberry Pi 3 — Fedora Server 26
Reply With Quote
  #2  
Old 2nd December 2015, 02:04 AM
quattrolinux Offline
Registered User
 
Join Date: Feb 2015
Location: UTC-5
Posts: 13
linuxfedorafirefox
Re: Installing Wickr, any success?

I got fed up running wickr in wine and made an rpm for Fedora 22, using alien with some minor package additions.
Everything would have worked out of the box but wickr compiled with OPENSSL_1.0.0 while Fedora abandoned 1.0.0 and switched to 1.0.1x some time ago. It appears that even very latest ubuntu library supports both 1.0.0 and newer. Solution: copy libcrypto.so.1.0.0 from ubunty 14 or 15 directly into /usr/lib/wickr folder. Fedora 23 users would need to copy libx264.so.142 from an earlier release.
Reply With Quote
  #3  
Old 7th December 2015, 03:47 PM
Unknown3rdParty Offline
Registered User
 
Join Date: Mar 2010
Posts: 17
linuxfedorafirefox
Re: Installing Wickr, any success?

I've tried alien to convert the .deb package to a .rpm, and I've tried using dpkg to install, but both fail equally, as expected. Since the makers of wickr aren't currently willing to make a compatible package and you were successful, Perhaps you could provide the specifics, a recipe, of what you did. Oh, and remember that some of us may not have access to libcrypto.so.1.0.0 from Ubuntu 14 or 15 ... but your success gives the rest of us hope!
Reply With Quote
  #4  
Old 7th December 2015, 07:12 PM
quattrolinux Offline
Registered User
 
Join Date: Feb 2015
Location: UTC-5
Posts: 13
linuxfedorafirefox
Re: Installing Wickr, any success?

I tried to add as an attachment but "upload failed" so here it goes inline.
this is for 64 bit.
run as any user, then install as root.
all links work as of now.
suggestions are welcome.

Code:
#!/bin/bash
if ! which alien > /dev/null 2>&1
then
   echo install alien first
else
wget -c -S 'https://mywickr.info/download.php?p=364' -O wickr_2.3.5_amd64.deb
alien -v -r -g  wickr_2.3.5_amd64.deb
#output header
cat wickr-2.3.5/wickr-*.spec | while read LINE; do if echo "$LINE" | grep -q "_unpackaged_files_terminate_build" ;then break; else echo "$LINE";fi;done > wickr.spec
rm wickr-2.3.5/wickr-*.spec

#get the list of dependencies
echo "AutoReqProv: no" >> wickr.spec

LD_LIBRARY_PATH=$PWD/wickr-2.3.5/usr/lib/wickr \
ldd $PWD/wickr-2.3.5/usr/bin/wickr | \
grep -v /usr/lib/wickr | \
awk '{print "Requires: " $1"()(64bit)"}' | grep -v vdso | sed -e 's@/lib.*/@@' >> wickr.spec

#get two additional files
TMP_DIR=$(mktemp -d)
pushd $TMP_DIR
wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.0.0_1.0.1-4ubuntu5.31_amd64.deb
dpkg-deb --fsys-tarfile libssl1.0.0_1.0.1-4ubuntu5.31_amd64.deb | tar xf - ./lib/x86_64-linux-gnu/libcrypto.so.1.0.0
wget http://us.archive.ubuntu.com/ubuntu/pool/universe/x/x264/libx264-148_0.148.2601%2bgita0cd7d3-3_amd64.deb
dpkg-deb --fsys-tarfile libx264-148_0.148.2601+gita0cd7d3-3_amd64.deb | tar xvf - ./usr/lib/x86_64-linux-gnu/x264-10bit/libx264.so.148
popd

mv -v $TMP_DIR/{lib/x86_64-linux-gnu/libcrypto.so.1.0.0,usr/lib/x86_64-linux-gnu/x264-10bit/libx264.so.148} wickr-2.3.5/usr/lib/wickr

rm -rf $TMP_DIR

cat >> wickr.spec << "EOF"
%description
Wickr is a secure communications client

%post
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :

%postun
if [ $1 -eq 0 ] ; then
    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
    /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
fi

%posttrans
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :

%files
%{_bindir}/wickr
%{_datadir}/pixmaps/wickr.png
%{_datadir}/indicators/messages/applications/wickr
%{_datadir}/appdata/wickr.appdata.xml
%{_datadir}/applications/wickr.desktop
/usr/lib/wickr
EOF

pushd wickr-2.3.5
rpmbuild --buildroot=$(pwd) -bb --target x86_64 ../wickr.spec
popd
rm wickr.spec
rm wickr_2.3.5_amd64.deb
fi
Reply With Quote
  #5  
Old 3rd March 2016, 10:08 PM
quattrolinux Offline
Registered User
 
Join Date: Feb 2015
Location: UTC-5
Posts: 13
linuxfedorafirefox
Re: Installing Wickr, any success?

updated for new wickr-me
Code:
#!/bin/bash
set -e
if ! which alien > /dev/null 2>&1
then
   echo install alien first
else
wget --no-check-certificate -c -S 'https://dls.wickr.com/Downloads/wickr-me_2.6.0_amd64.deb' -O wickr-me_2.6.0_amd64.deb
alien -v -r -g  wickr-me_2.6.0_amd64.deb
#output header
cat wickr-me-2.6.0/wickr-*.spec | while read LINE; do if echo "$LINE" | grep -q "_unpackaged_files_terminate_build" ;then break; else echo "$LINE";fi;done > wickr.spec
rm wickr-me-2.6.0/wickr-*.spec

#get the list of dependencies
echo "AutoReqProv: no" >> wickr.spec

LD_LIBRARY_PATH=$PWD/wickr-me-2.6.0/usr/lib/wickr \
ldd $PWD/wickr-me-2.6.0/usr/bin/wickr | \
grep -v /usr/lib/wickr | \
awk '{print "Requires: " $1"()(64bit)"}' | grep -v vdso | sed -e 's@/lib.*/@@' >> wickr.spec

#get two additional files
TMP_DIR=$(mktemp -d)
pushd $TMP_DIR
wget -c http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.0.0_1.0.2f-2ubuntu1_amd64.deb
dpkg-deb --fsys-tarfile libssl1.0.0_1.0.2f-2ubuntu1_amd64.deb | tar xf - ./lib/x86_64-linux-gnu/libcrypto.so.1.0.0
wget -c http://us.archive.ubuntu.com/ubuntu/pool/universe/x/x264/libx264-142_0.142.2495+git6a301b6-1ubuntu1_amd64.deb
dpkg-deb --fsys-tarfile libx264-142_0.142.2495+git6a301b6-1ubuntu1_amd64.deb | tar xvf - ./usr/lib/x86_64-linux-gnu/x264-10bit/libx264.so.142
popd

mv -v $TMP_DIR/{lib/x86_64-linux-gnu/libcrypto.so.1.0.0,usr/lib/x86_64-linux-gnu/x264-10bit/libx264.so.142} wickr-me-2.6.0/usr/lib/wickr

rm -rf $TMP_DIR

cat >> wickr.spec << "EOF"
Provides: wickr
Obsoletes: wickr
%description
Wickr is a secure communications client

%post
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :

%postun
if [ $1 -eq 0 ] ; then
    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
    /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
fi

%posttrans
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :

%files
%{_bindir}/wickr-me
%{_datadir}/pixmaps/wickr-me.png
%{_datadir}/indicators/messages/applications/wickr
%{_datadir}/appdata/wickr-me.appdata.xml
%{_datadir}/applications/wickr-me.desktop
/etc/pm/sleep.d/wickr_wakeup.sh
/usr/lib/wickr
EOF

pushd wickr-me-2.6.0
rpmbuild --buildroot=$(pwd) -bb --target x86_64 ../wickr.spec
popd
rm wickr.spec
rm wickr-me_2.6.0_amd64.deb
fi

Last edited by quattrolinux; 4th March 2016 at 08:38 PM. Reason: Small correction - adjusted libx.264 library, added provides and obsoletes.
Reply With Quote
  #6  
Old 3rd March 2016, 10:45 PM
antikythera Offline
Administrator
 
Join Date: Dec 2013
Location: United Kingdom
Posts: 4,750
linuxchrome
Re: Installing Wickr, any success?

Have you considered submitting your Wickr build to COPR? or even rpmfusion for that matter
__________________
Download, Install and Share Fedora - Official ISO Torrents | Live ISO Respins containing post-release updates
Reply With Quote
  #7  
Old 3rd March 2016, 11:55 PM
quattrolinux Offline
Registered User
 
Join Date: Feb 2015
Location: UTC-5
Posts: 13
linuxfedorafirefox
Re: Installing Wickr, any success?

Quote:
Originally Posted by arehtykitna View Post
Have you considered submitting your Wickr build to COPR? or even rpmfusion for that matter
Absolutely not. I would rather prefer interested parties keep pestering wickr support at linuxsupport@wickr.com to have them build rpm package.
Reply With Quote
  #8  
Old 30th August 2016, 08:26 PM
DokterW Offline
Registered User
 
Join Date: Jun 2010
Location: Sweden
Posts: 87
linuxfedorafirefox
Re: Installing Wickr, any success?

Updated due to libssl deb not found.

Code:
#!/bin/bash
set -e
if ! which alien > /dev/null 2>&1
then
   echo install alien first
else
wget --no-check-certificate -c -S 'https://dls.wickr.com/Downloads/wickr-me_2.6.0_amd64.deb' -O wickr-me_2.6.0_amd64.deb
alien -v -r -g  wickr-me_2.6.0_amd64.deb
#output header
cat wickr-me-2.6.0/wickr-*.spec | while read LINE; do if echo "$LINE" | grep -q "_unpackaged_files_terminate_build" ;then break; else echo "$LINE";fi;done > wickr.spec
rm wickr-me-2.6.0/wickr-*.spec

#get the list of dependencies
echo "AutoReqProv: no" >> wickr.spec

LD_LIBRARY_PATH=$PWD/wickr-me-2.6.0/usr/lib/wickr \
ldd $PWD/wickr-me-2.6.0/usr/bin/wickr | \
grep -v /usr/lib/wickr | \
awk '{print "Requires: " $1"()(64bit)"}' | grep -v vdso | sed -e 's@/lib.*/@@' >> wickr.spec

#get two additional files
TMP_DIR=$(mktemp -d)
pushd $TMP_DIR
wget -c http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.0.0_1.0.1f-1ubuntu2_amd64.deb
dpkg-deb --fsys-tarfile libssl1.0.0_1.0.1f-1ubuntu2_amd64.deb | tar xf - ./lib/x86_64-linux-gnu/libcrypto.so.1.0.0
wget -c http://us.archive.ubuntu.com/ubuntu/pool/universe/x/x264/libx264-142_0.142.2495+git6a301b6-1ubuntu1_amd64.deb
dpkg-deb --fsys-tarfile libx264-142_0.142.2495+git6a301b6-1ubuntu1_amd64.deb | tar xvf - ./usr/lib/x86_64-linux-gnu/x264-10bit/libx264.so.142
popd

mv -v $TMP_DIR/{lib/x86_64-linux-gnu/libcrypto.so.1.0.0,usr/lib/x86_64-linux-gnu/x264-10bit/libx264.so.142} wickr-me-2.6.0/usr/lib/wickr

rm -rf $TMP_DIR

cat >> wickr.spec << "EOF"
Provides: wickr
Obsoletes: wickr
%description
Wickr is a secure communications client

%post
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :

%postun
if [ $1 -eq 0 ] ; then
    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
    /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
fi

%posttrans
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :

%files
%{_bindir}/wickr-me
%{_datadir}/pixmaps/wickr-me.png
%{_datadir}/indicators/messages/applications/wickr
%{_datadir}/appdata/wickr-me.appdata.xml
%{_datadir}/applications/wickr-me.desktop
/etc/pm/sleep.d/wickr_wakeup.sh
/usr/lib/wickr
EOF

pushd wickr-me-2.6.0
rpmbuild --buildroot=$(pwd) -bb --target x86_64 ../wickr.spec
popd
rm wickr.spec
rm wickr-me_2.6.0_amd64.deb
fi
__________________
Dokter Waldijk — 'not that kind of doctor' — https://github.com/DokterW
Lenovo S20-30 — Fedora Security 26
HP ProBook 450 G3 — Fedora Workstation 26
HP Proliant Microserver Gen8 — Fedora Server 26
Raspberry Pi 3 — Fedora Server 26
Reply With Quote
  #9  
Old 16th November 2016, 04:30 AM
quattrolinux Offline
Registered User
 
Join Date: Feb 2015
Location: UTC-5
Posts: 13
linuxfedorafirefox
Re: Installing Wickr, any success?

added automatic latest libraries fetch
Code:
#!/bin/bash
set -e
if ! which alien > /dev/null 2>&1
then
   echo install alien first
else
wget --no-check-certificate -c -S 'https://dls.wickr.com/Downloads/wickr-me_2.6.0_amd64.deb' -O wickr-me_2.6.0_amd64.deb
alien -v -r -g  wickr-me_2.6.0_amd64.deb
#output header
cat wickr-me-2.6.0/wickr-*.spec | while read LINE; do if echo "$LINE" | grep -q "_unpackaged_files_terminate_build" ;then break; else echo "$LINE";fi;done > wickr.spec
rm wickr-me-2.6.0/wickr-*.spec

#get the list of dependencies
echo "AutoReqProv: no" >> wickr.spec

LD_LIBRARY_PATH=$PWD/wickr-me-2.6.0/usr/lib/wickr \
ldd $PWD/wickr-me-2.6.0/usr/bin/wickr-me | \
grep -v /usr/lib/wickr | grep -v libx264 | \
awk '{print "Requires: " $1"()(64bit)"}' | grep -v vdso | sed -e 's@/lib.*/@@' >> wickr.spec

#get two additional files
TMP_DIR=$(mktemp -d)
pushd $TMP_DIR
#determine latest libssl
LIBSSL=$(curl -s ftp://security.ubuntu.com/ubuntu/pool/main/o/openssl/ | grep 'libssl.*amd64\.deb' | tail -1 | awk '{print $NF}')
wget -c http://security.ubuntu.com/ubuntu/pool/main/o/openssl/$LIBSSL
dpkg-deb --fsys-tarfile $LIBSSL | tar xf - ./lib/x86_64-linux-gnu/libcrypto.so.1.0.0
#determine latest libx264
LIBX264=$(curl -s ftp://us.archive.ubuntu.com/ubuntu/pool/universe/x/x264/ | grep 'libx264-142.*amd64\.deb' | tail -1 | awk '{print $NF}')
wget -c http://us.archive.ubuntu.com/ubuntu/pool/universe/x/x264/$LIBX264
dpkg-deb --fsys-tarfile libx264-142_0.142.2495+git6a301b6-1ubuntu1_amd64.deb | tar xvf - ./usr/lib/x86_64-linux-gnu/x264-10bit/libx264.so.142
popd

mv -v $TMP_DIR/{lib/x86_64-linux-gnu/libcrypto.so.1.0.0,usr/lib/x86_64-linux-gnu/x264-10bit/libx264.so.142} wickr-me-2.6.0/usr/lib/wickr

rm -rf $TMP_DIR

cat >> wickr.spec << "EOF"
Provides: wickr
Obsoletes: wickr
%description
Wickr is a secure communications client

%post
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :

%postun
if [ $1 -eq 0 ] ; then
    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
    /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
fi

%posttrans
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :

%files
%{_bindir}/wickr-me
%{_datadir}/pixmaps/wickr-me.png
%{_datadir}/indicators/messages/applications/wickr
%{_datadir}/appdata/wickr-me.appdata.xml
%{_datadir}/applications/wickr-me.desktop
/etc/pm/sleep.d/wickr_wakeup.sh
/usr/lib/wickr
EOF

pushd wickr-me-2.6.0
rpmbuild --buildroot=$(pwd) -bb --target x86_64 ../wickr.spec
popd
rm wickr.spec
rm wickr-me_2.6.0_amd64.deb
fi

Last edited by quattrolinux; 12th August 2017 at 07:27 PM.
Reply With Quote
  #10  
Old 27th November 2016, 03:32 PM
tetsuo29 Offline
Registered User
 
Join Date: Nov 2016
Location: Salt Lake City, UT
Posts: 1
linuxfedorafirefox
Re: Installing Wickr, any success?

Thank you quattrolinux! I just used your latest script to successfully convert the .deb to a .rpm and was able to install Wickr Me. You rock.
Reply With Quote
  #11  
Old 20th December 2016, 02:35 PM
Cloudie Offline
Registered User
 
Join Date: Dec 2016
Location: UK
Posts: 1
linuxchrome
Re: Installing Wickr, any success?

Thank you so much for this Script!

Have been using Alien the usual way to no avail!

Thanks again.
Reply With Quote
  #12  
Old 16th June 2017, 01:01 PM
bab5470 Offline
Registered User
 
Join Date: Oct 2015
Location: Toronto
Posts: 2
linuxchrome
Re: Installing Wickr, any success?

Doesn't seem to work on Fedora 25. It generated an RPM, the RPM seemed to install correctly but when I attempt to run it, nothing happens. I haven't been able to locate any logs yet. Any ideas?

---------- Post added at 08:01 AM ---------- Previous post was at 08:01 AM ----------

By the way I also contacted wickr support to add +1 for rpm files.
Reply With Quote
  #13  
Old 10th August 2017, 10:41 PM
quattrolinux Offline
Registered User
 
Join Date: Feb 2015
Location: UTC-5
Posts: 13
linuxfirefox
Re: Installing Wickr, any success?

Quote:
Originally Posted by bab5470 View Post
Doesn't seem to work on Fedora 25. It generated an RPM, the RPM seemed to install correctly but when I attempt to run it, nothing happens. I haven't been able to locate any logs yet. Any ideas?
It works even on 26, you just need compat-openssl10 package present.
But let's see if wickr releases native rpm on Aug 12th....
Reply With Quote
  #14  
Old 12th August 2017, 02:40 PM
Unknown3rdParty Offline
Registered User
 
Join Date: Mar 2010
Posts: 17
linuxfedorafirefox
Re: Installing Wickr, any success?

The script works ... I now have a wickr-me RPM but when I try to install it, it won't because "nothing provides libx264.so.142()(64bit)". However, when I follow your advice to install compat-openssl10 (dnf install compat-openssl10* --best --allowerasing), it wants to install them from the fedora repo but (2) identifies conflicts between the installed i686 and x86_64 versions of openssl and (2) wants to remove clamav-devel and openssl-devel (@updates repo) and nut-devel (@fedora repo).

Last edited by Unknown3rdParty; 12th August 2017 at 02:48 PM.
Reply With Quote
  #15  
Old 12th August 2017, 07:32 PM
quattrolinux Offline
Registered User
 
Join Date: Feb 2015
Location: UTC-5
Posts: 13
linuxfedorafirefox
Re: Installing Wickr, any success?

I just verified on Fedora 26 server. Updated script to remove libx264 from the wickr dependencies, it is not needed, since provided by the package. On my system compat-openssl10 has been already installed. When installing compat-openssl10 don't use *!
Today wickr.com is supposed to post new packages so all of the above may be obsolete.
Reply With Quote
Reply

Tags
deb, installing, rpm, success, wickr

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
My success in installing FC10 on an older G4 power macintosh jason0 Mac Chat 0 30th March 2009 06:51 AM
Success Installing Matlab R2007a in 64-bit FC7 thinkgeek Using Fedora 4 28th February 2008 04:14 PM
Accidental success in installing Fedora 7 to USB HDD coldcaliber Installation, Upgrades and Live Media 0 2nd October 2007 01:19 PM
Installing Gnome 2.18...some success linearfish Using Fedora 0 15th March 2007 02:20 PM


Current GMT-time: 23:51 (Wednesday, 16-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletinฎ Copyright ฉ2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat