Installing Viber

Questions about Wine on Linux
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Installing Viber

Post by jkfloris »

Looks good! Did you download the libfaudio0 package?
You can install this package with:

Code: Select all

sudo dpkg -i libfaudio0_20.01-0~buster_i386.deb
After installing this package remove wine-staging-i386
and install winehq-devel

Code: Select all

sudo apt purge wine-staging-i386
sudo apt --purge autoremove
sudo apt install --install-recommends winehq-devel
Lenlabnj
Level 2
Level 2
Posts: 34
Joined: Sat Dec 26, 2020 10:02 am

Re: Installing Viber

Post by Lenlabnj »

I tried your sudo dpkg command and it returned the following:
sudo dpkg -i libfaudio0_20.01-0~buster_i386.deb
[sudo] password for len:
dpkg: error: cannot access archive 'libfaudio0_20.01-0~buster_i386.deb': No such file or directory
len@mx:~/Desktop
Lenlabnj
Level 2
Level 2
Posts: 34
Joined: Sat Dec 26, 2020 10:02 am

Re: Installing Viber

Post by Lenlabnj »

My fault I guess you wanted me to download it first. Let me do that and get back to you....
Lenlabnj
Level 2
Level 2
Posts: 34
Joined: Sat Dec 26, 2020 10:02 am

Re: Installing Viber

Post by Lenlabnj »

$ sudo dpkg -i libfaudio0_20.01-0~buster_i386.deb
Selecting previously unselected package libfaudio0:i386.
(Reading database ... 358138 files and directories currently installed.)
Preparing to unpack libfaudio0_20.01-0~buster_i386.deb ...
Unpacking libfaudio0:i386 (20.01-0~buster) ...
dpkg: dependency problems prevent configuration of libfaudio0:i386:
libfaudio0:i386 depends on libstb0 (>= 0.0~git20180212.15.e6afb9c); however:
Package libstb0 is not installed.


dpkg: error processing package libfaudio0:i386 (--install):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.28-10) ...
Errors were encountered while processing:
libfaudio0:i386
Lenlabnj
Level 2
Level 2
Posts: 34
Joined: Sat Dec 26, 2020 10:02 am

Re: Installing Viber

Post by Lenlabnj »

Is this ok? Can I go forward with remove wine-staging-i386
and install winehq-devel or is there an issue that has to be fixed? It looks to me like there were issues but the messages may be ok?
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Installing Viber

Post by jkfloris »

Oops , sorry. After installing the libfaudio0 package run:

Code: Select all

sudo apt install -f
Then you can remove the wine-staging package.
Lenlabnj
Level 2
Level 2
Posts: 34
Joined: Sat Dec 26, 2020 10:02 am

Re: Installing Viber

Post by Lenlabnj »

This step completed successfully it appears:
After installing this package remove wine-staging-i386
and install winehq-devel

What is the next step?
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Installing Viber

Post by jkfloris »

Try to install Viber

Code: Select all

# --- Install Viber ---
# cd to the directory where you have downloaded 'ViberSetup.exe'
rm -r ~/ViberOnWine
WINEPREFIX=~/ViberOnWine wine ViberSetup.exe
# Close Viber

# --- Run Viber ---
cd $HOME/ViberOnWine/drive_c/users/$USER/Local\ Settings/Application\ Data/Viber
WINEPREFIX=~/ViberOnWine wine Viber.exe
Lenlabnj
Level 2
Level 2
Posts: 34
Joined: Sat Dec 26, 2020 10:02 am

Re: Installing Viber

Post by Lenlabnj »

It's asking about a GECKO package and I am on hold until I respond if I want wine to download and install. how shall I respond?
Lenlabnj
Level 2
Level 2
Posts: 34
Joined: Sat Dec 26, 2020 10:02 am

Re: Installing Viber

Post by Lenlabnj »

Its a GECKO package for HTML to work correctly?
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Installing Viber

Post by jkfloris »

Yes, download and install gecko and mono
Lenlabnj
Level 2
Level 2
Posts: 34
Joined: Sat Dec 26, 2020 10:02 am

Re: Installing Viber

Post by Lenlabnj »

$ cd $HOME/ViberOnWine/drive_c/users/$USER/Local\ Settings/Application\ Data/Viber
bash: cd: /home/len/ViberOnWine/drive_c/users/len/Local Settings/Application Data/Viber: No such file or directory
Lenlabnj
Level 2
Level 2
Posts: 34
Joined: Sat Dec 26, 2020 10:02 am

Re: Installing Viber

Post by Lenlabnj »

WINEPREFIX=~/ViberOnWine wine Viber.exe
0068:err:ole:start_rpcss Failed to start RpcSs service
0024:err:module:process_init L"C:\\windows\\system32\\Viber.exe" not found
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Installing Viber

Post by jkfloris »

Did you install Viber?

Code: Select all

cd ~/Downloads/
WINEPREFIX=~/ViberOnWine wine ViberSetup.exe
Lenlabnj
Level 2
Level 2
Posts: 34
Joined: Sat Dec 26, 2020 10:02 am

Re: Installing Viber

Post by Lenlabnj »

Should I redo this step? Also I did not know what to do at #close Viber while I was in terminal so I entered exit.
# --- Install Viber ---
# cd to the directory where you have downloaded 'ViberSetup.exe'
rm -r ~/ViberOnWine
WINEPREFIX=~/ViberOnWine wine ViberSetup.exe
# Close Viber
Lenlabnj
Level 2
Level 2
Posts: 34
Joined: Sat Dec 26, 2020 10:02 am

Re: Installing Viber

Post by Lenlabnj »

I thought it was done and might have keyed in exit when I should not have.
The Install started and got a problem....it wants me to scan the QR code with my phone. This is a laptop install.
Lenlabnj
Level 2
Level 2
Posts: 34
Joined: Sat Dec 26, 2020 10:02 am

Re: Installing Viber

Post by Lenlabnj »

i went ahead and scanned the QR code and it Viber seems to be working! I'll confirm and get back to you.
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Installing Viber

Post by jkfloris »

Sorry, I can only help you run the program with Wine.
I don't know how the program works, but it make sense that the program works in conjunction with your phone. Same as with the Whatsapp program.
Lenlabnj
Level 2
Level 2
Posts: 34
Joined: Sat Dec 26, 2020 10:02 am

Re: Installing Viber

Post by Lenlabnj »

You succeeded! You held my hand throughout and got me setup!
Many thanks!! It is working!!!!
Lenlabnj
Level 2
Level 2
Posts: 34
Joined: Sat Dec 26, 2020 10:02 am

Re: Installing Viber

Post by Lenlabnj »

One more question. I installed Q4Wine back when I started out. Not sure if that is needed as I am not using it to start Viber. So do I need it? Should I be starting Viber by using it? Or should I uninstall it?
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Installing Viber

Post by jkfloris »

You don't need Q4Wine to run Windows applications on Wine. It is save to remove the program. Q4Wine is a separate program and you don't find much support for Q4Wine on this forum.
Lenlabnj
Level 2
Level 2
Posts: 34
Joined: Sat Dec 26, 2020 10:02 am

Re: Installing Viber

Post by Lenlabnj »

Ok Thanks! Done.
Lenlabnj
Level 2
Level 2
Posts: 34
Joined: Sat Dec 26, 2020 10:02 am

Re: Installing Viber

Post by Lenlabnj »

You not only helped me but I hope your guidance will help others!
Lenlabnj
Level 2
Level 2
Posts: 34
Joined: Sat Dec 26, 2020 10:02 am

Re: Installing Viber

Post by Lenlabnj »

Another question.
When I started out I downloaded the ViberSetup.exe for windows XP because my Lenova laptop is a 386 computer.
I just checked the winecfg and it is set for win7 and not winxp.

I was wondering if it is advisable for me to change wine to run in XP mode and not win7 mode?
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Installing Viber

Post by jkfloris »

From the WineHQ Wiki
Windows Version
This setting changes the version reported to applications that ask for it. Generally, this setting does not change Wine's behavior. If an application never asks for this version information, it is likely that changing this setting will have no effect on the application's performance or functioning.

Applications which ask for version information might do so in order to make decisions about which Windows features it should use. For example, if a feature is only available in newer versions of Windows then the application would want to avoid using that feature if running on older Windows versions. (Note: Better designed applications will try to detect the features in question rather than relying on the operating system's version.)

This setting is provided because some applications will refuse to run if the reported version does not meet their stated system requirements. In some cases, changing this setting may also work around bugs in Wine by causing the application to use different feature sets to get its work done. If changing this setting breaks or “fixes” your application, it may be a bug.

Versions of Windows prior to XP are only available for selection in winecfg in 32 bit wineprefixes. This is because those versions of Windows did not exist in 64 bit. If you are on a 64 bit system, you will have to create a 32 bit wineprefix to be able to set Wine to those versions.
In other words, if the program is working properly, then there is no reason to change the version.
Locked