FedoraForum.org - Fedora Support Forums and Community
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 18
  1. #1
    Join Date
    Jun 2010
    Location
    Sweden
    Posts
    87

    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

  2. #2
    Join Date
    Feb 2015
    Location
    UTC-5
    Posts
    13

    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.

  3. #3
    Join Date
    Mar 2010
    Posts
    17

    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!

  4. #4
    Join Date
    Feb 2015
    Location
    UTC-5
    Posts
    13

    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

  5. #5
    Join Date
    Feb 2015
    Location
    UTC-5
    Posts
    13

    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.

  6. #6
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    5,397

    Re: Installing Wickr, any success?

    Have you considered submitting your Wickr build to COPR? or even rpmfusion for that matter

  7. #7
    Join Date
    Feb 2015
    Location
    UTC-5
    Posts
    13

    Re: Installing Wickr, any success?

    Quote Originally Posted by arehtykitna
    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.

  8. #8
    Join Date
    Jun 2010
    Location
    Sweden
    Posts
    87

    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

  9. #9
    Join Date
    Feb 2015
    Location
    UTC-5
    Posts
    13

    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.

  10. #10
    Join Date
    Nov 2016
    Location
    Salt Lake City, UT
    Posts
    1

    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.

  11. #11
    Join Date
    Dec 2016
    Location
    UK
    Posts
    1

    Re: Installing Wickr, any success?

    Thank you so much for this Script!

    Have been using Alien the usual way to no avail!

    Thanks again.

  12. #12
    Join Date
    Oct 2015
    Location
    Toronto
    Posts
    2

    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.

  13. #13
    Join Date
    Feb 2015
    Location
    UTC-5
    Posts
    13

    Re: Installing Wickr, any success?

    Quote Originally Posted by bab5470
    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....

  14. #14
    Join Date
    Mar 2010
    Posts
    17

    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.

  15. #15
    Join Date
    Feb 2015
    Location
    UTC-5
    Posts
    13

    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.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Replies: 0
    Last Post: 30th March 2009, 06:51 AM
  2. Success Installing Matlab R2007a in 64-bit FC7
    By thinkgeek in forum Using Fedora
    Replies: 4
    Last Post: 28th February 2008, 04:14 PM
  3. Accidental success in installing Fedora 7 to USB HDD
    By coldcaliber in forum Installation, Upgrades and Live Media
    Replies: 0
    Last Post: 2nd October 2007, 01:19 PM
  4. Installing Gnome 2.18...some success
    By linearfish in forum Using Fedora
    Replies: 0
    Last Post: 15th March 2007, 02:20 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •