Results 1 to 4 of 4

Thread: Running VMware workstation on Leap 15.1 and Tumbleweed compiling modules

  1. #1

    Default Running VMware workstation on Leap 15.1 and Tumbleweed compiling modules

    Just a heads up anyone having problems compiling modules just run the script below with root permissions, [edit] the version of VMware to match your version. Saved me many times on different hardware currently a Dell XPS 7590.

    #!/bin/bash

    VMWARE_VERSION=workstation-15.5.1

    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

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,707
    Blog Entries
    2

    Default Re: Running VMware workstation on Leap 15.1 and Tumbleweed compiling modules

    Thx for posting your script.

    1. Although people often post virtualization related topics in this Applications forum, all virtualization specific posts really belong in the Virtualization forum.
    2. Since your script must be executed in a console with elevated privileges (ie root as you've posted), there is no need for those "sudo" because you're already elevated.
    3. All scripts and other code like content like stdout, stdin and sderr should be enclosed in [CODE] tags which can easily created with the hash tag (#) in your HTML Forums text editor.
    4. When you do something that's not fully documented like those two commands that remove library files, you should include comments that explain your action.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,591

    Default Re: Running VMware workstation on Leap 15.1 and Tumbleweed compiling modules

    Moved to Virualization.
    Henk van Velden

  4. #4

    Default Re: Running VMware workstation on Leap 15.1 and Tumbleweed compiling modules

    Quote Originally Posted by tsu2 View Post
    Thx for posting your script.

    1. Although people often post virtualization related topics in this Applications forum, all virtualization specific posts really belong in the Virtualization forum.
    2. Since your script must be executed in a console with elevated privileges (ie root as you've posted), there is no need for those "sudo" because you're already elevated.
    3. All scripts and other code like content like stdout, stdin and sderr should be enclosed in [CODE] tags which can easily created with the hash tag (#) in your HTML Forums text editor.
    4. When you do something that's not fully documented like those two commands that remove library files, you should include comments that explain your action.

    TSU
    Not my script picked it up a while ago but it works well, thanks for your info.

Posting Permissions

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