How to install Wine on Ubuntu 20.04 LTS (Focal Fossa)

What is Wine?
Wine (originally an acronym for “Wine Is Not an Emulator”) is a compatibility layer capable of running Windows applications on several POSIX-compliant operating systems, such as Linux, macOS, & BSD. Instead of simulating internal Windows logic like a virtual machine or emulator, Wine translates Windows API calls into POSIX calls on-the-fly, eliminating the performance and memory penalties of other methods and allowing you to cleanly integrate Windows applications into your desktop.

Continue reading “How to install Wine on Ubuntu 20.04 LTS (Focal Fossa)”

NO_PUBKEY B188E2B695BD4743

Sometimes you may see this error “The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY B188E2B695BD4743”

You can solve this issue by running the following commands.

apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys B188E2B695BD4743
# apt-get update

Installing VMware on 20.04: Failed to build vmmon

I found a solution on mkucebek’s github sources

#!/bin/bash
VMWARE_VERSION=workstation-15.1.0
TMP_FOLDER=/tmp/patch-vmware
rm -fdr $TMP_FOLDER
mkdir -p $TMP_FOLDER
cd $TMP_FOLDER
git clone https://github.com/mkubecek/vmware-host-modules.git
cd $TMP_FOLDER/vmware-host-modules
git checkout $VMWARE_VERSION
git fetch
make
sudo make install
sudo rm /usr/lib/vmware/lib/libz.so.1/libz.so.1
sudo ln -s /lib/x86_64-linux-gnu/libz.so.1 
/usr/lib/vmware/lib/libz.so.1/libz.so.1
sudo /etc/init.d/vmware restart

Then, you just have to launch VMware Workstation without building modules.

Installing VMware on 19.10: Failed to build vmmon

I found a solution on mkucebek’s github sources

#!/bin/bash
VMWARE_VERSION=workstation-15.1.0
TMP_FOLDER=/tmp/patch-vmware
rm -fdr $TMP_FOLDER
mkdir -p $TMP_FOLDER
cd $TMP_FOLDER
git clone https://github.com/mkubecek/vmware-host-modules.git
cd $TMP_FOLDER/vmware-host-modules
git checkout $VMWARE_VERSION
git fetch
make
sudo make install
sudo rm /usr/lib/vmware/lib/libz.so.1/libz.so.1
sudo ln -s /lib/x86_64-linux-gnu/libz.so.1 
/usr/lib/vmware/lib/libz.so.1/libz.so.1
sudo /etc/init.d/vmware restart

Then, you just have to launch VMware Workstation without building modules.

How to login SSH with .ppk file on Ubuntu terminal

You can convert a .ppk file in Ubuntu with installing putty-tools. So

sudo apt-get install putty-tools

Then youn can convert the .ppk file with puttygen to OpenSSH’s format like so:

puttygen <the_key.ppk> -O private-openssh -o <new_openssh_key>.key

How to install Samsung SCX-4623FW unified printer driver on Ubuntu 19.04

Step 1: Download Samsung SCX-4623FW linux driver

Samsung SCX-4623FW Linux Driver Details
OS: LINUX
Size: 14.66 MB, GZ
Language: MULTI LANGUAGE
Version : V1.00.36_00.91

Download

Run command:

cd /tmp
wget http://downloadcenter.samsung.com/content/DR/201510/20151027164600281/uld_v1.00.36_00.91.tar.gz

Step 2: Extract archive

Run command:

tar xzfv uld_v1.00.36_00.91.tar.gz

Step 3: Install drivers

Run command:

cd uld/
sudo sh ./install.sh

For network Samsung scanners, put your scanner’s IP address and optionally port anywhere in the file /etc/sane.d/xerox_mfp.conf:

tcp host_address [port] 

Step 4: Reboot your computer

Run command:

reboot