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

How to install Realtek 8811CU Wireless LAN 802.11ac USB NIC on Ubuntu 19.04

Before build this driver make sure make, gcc, linux-header and git have been installed.

Step 1: Clone brektrou repository

mkdir -p ~/build
cd ~/build
git clone https://github.com/brektrou/rtl8821CU.git

Step 2: Build and install

cd ~/build/rtl8821CU
make
sudo make install

Step 3: Check installed driver

If you successfully install the driver, the driver is installed on /lib/modules//kernel/drivers/net/wireless/realtek/rtl8821cu. Check the driver with the ls command:

ls /lib/modules/$(uname -r)/kernel/drivers/net/wireless/realtek/rtl8821cu

Make sure 8821cu.ko file present on that directory.