AlmaLinuxRHEL Based

How To Install VMware on AlmaLinux 10

Install VMware on AlmaLinux 10

VMware Workstation Pro stands as the gold standard for desktop virtualization, enabling system administrators and IT professionals to run multiple operating systems simultaneously on a single machine. AlmaLinux 10, with its enterprise-grade stability and RHEL compatibility, provides an excellent foundation for hosting VMware virtualization solutions.

This comprehensive guide walks you through every step of installing VMware Workstation on AlmaLinux 10, from initial system preparation to advanced configuration. Whether you’re a seasoned Linux administrator or new to virtualization technology, you’ll find the detailed instructions and troubleshooting tips necessary to achieve a successful installation.

Modern enterprises increasingly rely on virtualization to maximize hardware utilization, reduce costs, and improve system flexibility. AlmaLinux 10’s robust architecture, combined with VMware’s powerful virtualization capabilities, creates an ideal environment for development, testing, and production workloads.

System Requirements and Prerequisites

Hardware Requirements for VMware Workstation

VMware Workstation demands specific hardware capabilities to function optimally. Your AlmaLinux 10 system must include a 64-bit processor with virtualization support enabled in the BIOS. Intel processors require VT-x technology, while AMD systems need AMD-V support.

Memory requirements vary significantly based on intended usage. A minimum of 4GB RAM supports basic virtualization needs, but 8GB or more ensures smooth operation when running multiple virtual machines simultaneously. Storage considerations include at least 16GB free disk space for VMware installation, plus additional capacity for virtual machine files.

Graphics acceleration enhances virtual machine performance, particularly for GUI-intensive operating systems. Modern integrated graphics or dedicated graphics cards provide optimal display rendering and support for 3D acceleration features.

AlmaLinux 10 System Preparation

Begin by verifying your AlmaLinux 10 installation status and ensuring all system components are current. Execute the following command to check your system version:

cat /etc/almalinux-release

Update your system packages using the DNF package manager to ensure compatibility with VMware components:

sudo dnf update -y

This process updates all installed packages to their latest versions, addressing potential security vulnerabilities and compatibility issues. The AlmaLinux repository system includes BaseOS, AppStream, and Extras repositories enabled by default, providing comprehensive package availability.

Verify available disk space meets VMware requirements:

df -h

Ensure your root partition contains sufficient free space for both VMware installation files and future virtual machine storage needs.

Required Software Dependencies

VMware installation requires development tools and kernel headers for successful compilation. Install the Development Tools group and kernel development packages:

sudo dnf groupinstall "Development Tools" -y
sudo dnf install kernel-devel kernel-headers -y

These packages provide essential compilation tools, including GCC compiler, make utilities, and kernel source code necessary for VMware module compilation. The PowerTools repository, now called CodeReady Builder (CRB), contains additional development packages that may be required:

sudo dnf config-manager --set-enabled crb

Install additional dependencies that VMware commonly requires:

sudo dnf install gcc kernel-devel kernel-headers dkms make bzip2 perl -y

Pre-Installation Preparation

Downloading VMware Workstation Pro

Navigate to the official VMware website to download the latest VMware Workstation Pro bundle for Linux. The current version typically follows the naming convention VMware-Workstation-Full-[version]-[build].x86_64.bundle.

Verify the download integrity using provided checksums to ensure file corruption hasn’t occurred during transfer. VMware provides SHA256 checksums for verification:

sha256sum VMware-Workstation-Full-*.bundle

Compare the output against the official checksum published on VMware’s download page. This verification step prevents installation issues caused by corrupted download files.

System Updates and Package Management

Beyond basic system updates, configure your firewall to accommodate VMware’s networking requirements. AlmaLinux 10 uses firewalld by default, requiring specific port configurations for VMware services:

sudo firewall-cmd --permanent --add-port=443/tcp
sudo firewall-cmd --permanent --add-port=902/tcp
sudo firewall-cmd --permanent --add-port=912/tcp
sudo firewall-cmd --reload

These ports support VMware’s web services, authentication, and console connections. SELinux policies may require adjustment for VMware operation, though most installations work with default enforcing mode.

Install EPEL repository for additional packages that might enhance VMware functionality:

sudo dnf install epel-release -y

User Permissions and Security Setup

Create a dedicated user account for VMware administration if desired, or ensure your current user belongs to appropriate groups. VMware installation typically requires root privileges, but post-installation management can utilize sudo access.

Configure sudo access for VMware-related commands:

sudo usermod -aG wheel username

Replace “username” with your actual username. The wheel group provides comprehensive sudo privileges necessary for VMware management tasks.

Backup critical system files before beginning installation. This precautionary step enables quick recovery if installation issues arise:

sudo cp /etc/fstab /etc/fstab.backup
sudo cp -r /etc/systemd /etc/systemd.backup

Step-by-Step VMware Installation Process

Preparing the Installation Bundle

Navigate to the directory containing your downloaded VMware bundle file. Make the installer executable using chmod command:

chmod +x VMware-Workstation-Full-*.bundle

This command grants execution permissions necessary for running the installation script. Verify the file permissions have changed correctly:

ls -la VMware-Workstation-Full-*.bundle

The output should display executable permissions (x) for the file owner.

Running the Installation Script

Execute the VMware installer with administrative privileges. The installation supports both interactive and console modes:

sudo ./VMware-Workstation-Full-*.bundle --console

The --console parameter launches a text-based installer interface, ideal for remote installations or systems without graphical environments. For GUI installations, omit this parameter:

sudo ./VMware-Workstation-Full-*.bundle

Initial Installation Steps

The installer presents the End User License Agreement (EULA) for review and acceptance. Read through the terms carefully before accepting to proceed with installation.

Select the installation directory when prompted. The default /usr/lib/vmware location works well for most configurations, providing appropriate permissions and path accessibility.

Configure integration options based on your requirements:

  • System service integration
  • Desktop menu shortcuts
  • File association handling

Choose whether to participate in VMware’s Customer Experience Improvement Program. This optional telemetry collection helps improve product development but can be disabled for privacy concerns.

Component Selection and Features

VMware Workstation installation includes several optional components. The VIX API enables programmatic virtual machine control, useful for automation scripts and third-party integrations.

Development tools and documentation packages provide additional resources for advanced users and developers working with VMware APIs.

Network component installation configures virtual network adapters essential for VM connectivity. Accept default network settings unless specific network requirements dictate custom configurations.

Post-Installation Configuration

First-Time Setup and License Activation

Launch VMware Workstation for initial configuration. The application requests license information during first startup. Enter your license key or select the evaluation option for trial usage:

vmware

If the command fails, add VMware’s binary directory to your PATH:

export PATH=$PATH:/usr/bin

The initial setup wizard guides you through basic preferences including:

  • Default virtual machine location
  • Automatic software updates
  • Customer experience participation

System Integration Configuration

VMware services must start automatically for optimal functionality. Verify service status and enable automatic startup:

sudo systemctl status vmware
sudo systemctl enable vmware

If services fail to start, check system logs for error messages:

journalctl -u vmware -f

Desktop environment integration varies by window manager. GNOME and KDE typically recognize VMware applications automatically, adding menu entries and file associations.

Network and Security Configuration

VMware creates virtual network adapters during installation. Verify network interface creation:

ip link show

Look for vmnet interfaces (typically vmnet0, vmnet1, vmnet8) indicating successful network component installation.

Configure firewall rules for virtual machine networking:

sudo firewall-cmd --permanent --zone=trusted --add-interface=vmnet1
sudo firewall-cmd --permanent --zone=trusted --add-interface=vmnet8
sudo firewall-cmd --reload

These rules allow traffic through VMware’s virtual network interfaces, enabling proper guest system connectivity.

Performance Optimization

Adjust VMware settings for optimal performance on your AlmaLinux 10 system. Open VMware Workstation and navigate to Edit > Preferences to configure:

Memory allocation: Reserve sufficient host memory for stable operation while leaving adequate resources for the host system.

CPU settings: Enable all processor cores for virtual machine use when hardware permits.

Graphics acceleration: Enable 3D graphics acceleration if supported by your graphics hardware.

Storage optimization: Consider placing virtual machine files on faster storage devices (SSD) for improved performance.

Creating Your First Virtual Machine

Virtual Machine Creation Wizard

VMware Workstation’s New Virtual Machine Wizard simplifies VM creation process. Launch the wizard from File > New Virtual Machine. Select “Typical” configuration for standard setups or “Custom” for advanced configuration options.

Choose installation media source. Options include ISO image files, physical installation discs, or installer disc images. For AlmaLinux guest installations, download the AlmaLinux 10 ISO from official sources.

AlmaLinux Guest Installation Example

Creating an AlmaLinux virtual machine demonstrates VMware’s capabilities. Select “Linux” as the guest operating system type and choose “Red Hat Enterprise Linux 9 64-bit” as the version (AlmaLinux 10 compatibility).

Allocate virtual machine resources based on intended usage:

  • CPU cores: 2-4 cores for general purpose use
  • Memory: 4GB minimum, 8GB recommended
  • Storage: 40GB minimum for full AlmaLinux installation

VMware recommends using Paravirtual SCSI controllers for optimal performance with Linux guests. This setting improves storage I/O performance compared to legacy IDE or standard SCSI controllers.

Configure network settings:

  • Bridged: Direct network access mimicking physical network connection
  • NAT: Shared host network connection with address translation
  • Host-only: Isolated network accessible only from host system

VMware Tools Installation in Guest Systems

VMware Tools enhances guest system performance and functionality. Install VMware Tools after completing the guest operating system installation.

For AlmaLinux guests, mount the VMware Tools ISO:

sudo mount /dev/cdrom /mnt

Extract the VMware Tools package:

tar -xzf /mnt/VMwareTools-*.tar.gz -C /tmp

Run the installation script:

cd /tmp/vmware-tools-distrib
sudo ./vmware-install.pl

Accept default options for standard installations. VMware Tools provides shared folders, improved graphics performance, and seamless mouse integration between host and guest systems.

Troubleshooting Common Installation Issues

Dependency and Build Problems

Kernel header mismatches commonly cause VMware module compilation failures. Ensure kernel headers match your running kernel version:

uname -r
rpm -qa | grep kernel-devel

If versions don’t match, install the correct kernel-devel package:

sudo dnf install kernel-devel-$(uname -r)

Missing compiler tools prevent successful VMware module building. Verify GCC installation and version compatibility:

gcc --version

AlmaLinux 10 includes GCC version 11 or later, fully compatible with VMware requirements.

Hardware Compatibility Issues

CPU virtualization support requires BIOS enabling. Access BIOS setup during system boot and locate virtualization settings under CPU or Security sections. Enable Intel VT-x or AMD-V as appropriate for your processor.

Graphics driver conflicts occasionally interfere with VMware operation. Proprietary NVIDIA or AMD drivers may require specific configuration adjustments. Consult driver documentation for VMware compatibility information.

Service and Permission Problems

VMware service startup failures often result from SELinux policy restrictions. Check SELinux status and consider temporary permissive mode for troubleshooting:

sestatus
sudo setenforce 0

Remember to re-enable enforcing mode after resolving issues:

sudo setenforce 1

User permission problems prevent normal VMware operation. Ensure your user account belongs to necessary groups and possesses appropriate sudo privileges.

Network Configuration Troubleshooting

Virtual network adapter problems manifest as guest connectivity issues. Restart VMware networking services:

sudo systemctl restart vmware-networks

Bridge networking problems often involve firewall interference. Verify firewall rules permit traffic through virtual interfaces:

sudo firewall-cmd --list-all --zone=trusted

DNS resolution issues in guest systems typically indicate network configuration problems. Verify guest network settings match expected configuration for chosen networking mode.

Advanced Configuration and Best Practices

Performance Optimization Techniques

Memory management significantly impacts virtualization performance. Configure memory ballooning for dynamic memory allocation between host and guest systems. This feature reclaims unused guest memory for host system use.

Storage performance benefits from several optimization strategies. Use thick-provisioned virtual disks for consistent performance, or thin-provisioned disks for space efficiency. Enable disk compression for archival virtual machines requiring minimal access.

CPU scheduling optimizations include CPU affinity settings for dedicated processor core assignment to critical virtual machines. This technique reduces context switching overhead and improves performance consistency.

Security Hardening

VMware security involves both host and guest system considerations. Implement network segmentation using virtual switches to isolate virtual machine traffic from production networks.

Enable virtual machine encryption for sensitive workloads. VMware Workstation supports AES encryption for virtual machine files, protecting data at rest.

Configure snapshot policies carefully. While snapshots provide convenient rollback capabilities, they consume significant storage space and may impact performance if overused.

Backup and Maintenance

Virtual machine backup strategies include file-level backups of virtual machine directories and snapshot-based approaches for point-in-time recovery.

Schedule regular VMware Workstation updates to maintain security and compatibility. VMware releases updates addressing security vulnerabilities and adding new features.

Monitor virtual machine resource usage through VMware’s performance tools. These utilities identify resource bottlenecks and guide optimization efforts.

Integration with AlmaLinux 10 Features

AlmaLinux 10’s x86-64-v2 architecture support provides enhanced performance for modern processors. VMware virtual machines benefit from these architectural improvements through improved instruction set utilization.

Container technology integration allows running Docker and Podman alongside traditional virtual machines. This hybrid approach supports diverse application deployment strategies within single infrastructure.

EPEL repository integration expands available software packages for both host and guest systems. Additional packages support specialized virtualization use cases and development environments.

Congratulations! You have successfully installed VMware. Thanks for using this tutorial for installing VMware Workstation on your AlmaLinux OS 10 system. For additional help or useful information, we recommend you check the official VMware website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!

r00t

r00t is an experienced Linux enthusiast and technical writer with a passion for open-source software. With years of hands-on experience in various Linux distributions, r00t has developed a deep understanding of the Linux ecosystem and its powerful tools. He holds certifications in SCE and has contributed to several open-source projects. r00t is dedicated to sharing her knowledge and expertise through well-researched and informative articles, helping others navigate the world of Linux with confidence.
Back to top button