Run windows softwares on linux

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Run Windows apps such as Microsoft Office/Adobe in Linux (Ubuntu/Fedora) and GNOME/KDE as if they were a part of the native OS, including Nautilus integration.

Fmstrat/winapps

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

Looking for maintainers, see: #269

Run Windows apps such as Microsoft Office/Adobe in Linux (Ubuntu/Fedora) and GNOME/KDE as if they were a part of the native OS, including Nautilus integration for right clicking on files of specific mime types to open them.

Proud to have made the top spot on r/linux on launch day.

WinApps was created as an easy, one command way to include apps running inside a VM (or on any RDP server) directly into GNOME as if they were native applications. WinApps works by:

  • Running a Windows RDP server in a background VM container
  • Checking the RDP server for installed applications such as Microsoft Office
  • If those programs are installed, it creates shortcuts leveraging FreeRDP for both the CLI and the GNOME tray
  • Files in your home directory are accessible via the \\tsclient\home mount inside the VM
  • You can right click on any files in your home directory to open with an application, too

Currently supported applications

WinApps supports ANY installed application on your system.

  1. Scanning your system for offically configured applications (below)
  2. Scanning your system for any other EXE files with install records in the Windows Registry

Any officially configured applications will have support for high-resolution icons and mime types for automatically detecting what files can be opened by each application. Any other detected executable files will leverage the icons pulled from the EXE.

Читайте также:  Linux hosts несколько ip адресов

Note: The officially configured application list below is fueled by the community, and therefore some apps may be untested by the WinApps team.

Adobe Acrobat Pro
(X)
Adobe Acrobat Reader
(DC)
Adobe After Effects
(CC)
Adobe Audition
(CC)
Adobe Bridge
(CS6, CC)
Adobe Creative Cloud
(CC)
Adobe Illustrator
(CC)
Adobe InDesign
(CC)
Adobe Lightroom
(CC)
Adobe Photoshop
(CS6, CC)
Adobe Premiere Pro
(CC)
Command Prompt
(cmd.exe)
Explorer
(File Manager)
Internet Explorer
(11)
Microsoft Access
(2016, 2019, o365)
Microsoft Excel
(2016, 2019, o365)
Microsoft Word
(2016, 2019, o365)
Microsoft OneNote
(2016, 2019, o365)
Microsoft Outlook
(2016, 2019, o365)
Microsoft PowerPoint
(2016, 2019, o365)
Microsoft Project
(2016, 2019, o365)
Microsoft Publisher
(2016, 2019, o365)
Powershell
(Standard, Core)
Visual Studio
(2019 — Ent|Pro|Com)
Windows
(Full RDP session)

Step 1: Set up a Windows Virtual Machine

The best solution for running a VM as a subsystem for WinApps would be KVM. KVM is a CPU and memory-efficient virtualization engine bundled with most major Linux distributions. To set up the VM for WinApps, follow this guide:

If you already have a Virtual Machine or server you wish to use with WinApps, you will need to merge kvm/RDPApps.reg into the VM’s Windows Registry. If this VM is in KVM and you want to use auto-IP detection, you will need to name the machine RDPWindows . Directions for both of these can be found in the guide linked above.

Step 2: Download the repo and prerequisites

sudo apt-get install -y freerdp2-x11 git clone https://github.com/Fmstrat/winapps.git cd winapps

Step 3: Creating your WinApps configuration file

You will need to create a ~/.config/winapps/winapps.conf configuration file with the following information in it:

RDP_USER="MyWindowsUser" RDP_PASS="MyWindowsPassword" #RDP_DOMAIN="MYDOMAIN" #RDP_IP="192.168.123.111" #RDP_SCALE=100 #RDP_FLAGS="" #MULTIMON="true" #DEBUG="true"

The username and password should be a full user account and password, such as the one created when setting up Windows or a domain user. It cannot be a user/PIN combination as those are not valid for RDP access.

  • When using a pre-existing non-KVM RDP server, you can use the RDP_IP to specify it’s location
  • If you are running a VM in KVM with NAT enabled, leave RDP_IP commented out and WinApps will auto-detect the right local IP
  • For domain users, you can uncomment and change RDP_DOMAIN
  • On high-resolution (UHD) displays, you can set RDP_SCALE to the scale you would like [100|140|160|180]
  • To add flags to the FreeRDP call, such as /audio-mode:1 to pass in a mic, use the RDP_FLAGS configuration option
  • For multi-monitor setups, you can try enabling MULTIMON , however if you get a black screen (FreeRDP bug) you will need to revert back
  • If you enable DEBUG , a log will be created on each application start in ~/.local/share/winapps/winapps.log

Step 4: Run the WinApps installer

Lastly, check that FreeRDP can connect with:

You will see output from FreeRDP, as well as potentially have to accept the initial certificate. After that, a Windows Explorer window should pop up. You can close this window and press Ctrl-C to cancel out of FreeRDP.

If this step fails, try restarting the VM, or your problem could be related to:

  • You need to accept the security cert the first time you connect (with ‘check’)
  • Not enabling RDP in the Windows VM
  • Not being able to connect to the IP of the VM
  • Incorrect user credentials in ~/.config/winapps/winapps.conf
  • Not merging install/RDPApps.reg into the VM
Читайте также:  Восстановление базы postgresql linux

Then the final step is to run the installer which will prompt you for a system or user install:

This will take you through the following process:

Adding pre-defined applications

Adding applications with custom icons and mime types to the installer is easy. Simply copy one of the application configurations in the apps folder, and:

  • Edit the variables for the application
  • Replace the icon.svg with an SVG for the application (appropriately licensed)
  • Re-run the installer
  • Submit a Pull Request to add it to WinApps officially

When running the installer, it will check for if any configured apps are installed, and if they are it will create the appropriate shortcuts on the host OS.

Running applications manually

WinApps offers a manual mode for running applications that are not configured. This is completed with the manual flag. Executables that are in the path do not require full path definition.

./bin/winapps manual "C:\my\directory\executableNotInPath.exe" ./bin/winapps manual executableInPath.exe

Checking for new application support

The installer can be run multiple times, so simply run the below again and it will remove any current installations and update for the latest applications.

Optional installer command line arguments

The following optional commands can be used to manage your application configurations without prompts:

./installer.sh --user # Configure applications for the current user ./installer.sh --system # Configure applications for the entire system ./installer.sh --user --uninstall # Remove all configured applications for the current user ./installer.sh --system --uninstall # Remove all configured applications for the entire system
  • Black window: This is a FreeRDP bug that sometimes comes up. Try restarting the application or rerunning the command. If that doesn’t work, ensure you have MULTIMON disabled.
  • Some icons pulled from
    • Fluent UI React — Icons under MIT License
    • Fluent UI — Icons under MIT License with restricted use
    • PKief’s VSCode Material Icon Theme — Icons under MIT License
    • DiemenDesign’s LibreICONS — Icons under MIT License

    About

    Run Windows apps such as Microsoft Office/Adobe in Linux (Ubuntu/Fedora) and GNOME/KDE as if they were a part of the native OS, including Nautilus integration.

    Источник

    Can Linux Run .exe Files? How to Run Windows Software on Linux

    This article was co-authored by Garnik Ovsepyan and by wikiHow staff writer, Kira Jan. Garnik Ovsepyan is a Computer Specialist and the Owner of HeliX PC based in Burbank, California. With over 25 years of experience, Garnik specializes in custom computer builds, computer repairs, virus removal, computer tune-ups, hardware and software troubleshooting and installations, diagnostics, and data backup and recovery.

    There are 7 references cited in this article, which can be found at the bottom of the page.

    This article has been viewed 260,754 times.

    You don’t have to sacrifice the appeal of Windows software for the stability, security, customizability, and old-school cool of Linux. This wikiHow guide will walk you through running Windows executable (EXE) applications and games on any Linux distribution, including Ubuntu, Kali Linux, and CentOS.

    Will .exe files run on Linux?

    Image titled Can Linux Run Exe Step 1

    Yes, you can run .exe files on Linux through Wine (a free software). Wine is a compatibility layer that acts between the operating system (Linux) and the file (written for Windows). [1] X Research source It is the only way to run .exe files without a copy of Windows. [2] X Research source Since .exe files are native to Windows operating systems, to run them, you must have a compatibility layer (like Wine) or copy of Windows via a Windows emulator (which means you’ll no longer solely be using Linux).

    How do I download Wine?

    Image titled Can Linux Run Exe Step 2

    • sudo apt-get install wine and press ↵ Enter
    • sudo apt-get install wine32 and press ↵ Enter
    • sudo apt-get install libwine and press ↵ Enter
    • Even though the terminal might look intimidating, don’t worry! You’re unlikely to mess anything up, and all you have to do is copy these commands.

    How do I run .exe files on Linux?

    Image titled Can Linux Run Exe Step 3

    How can I run Windows software on Linux?

    Image titled Can Linux Run Exe Step 4

    Use Wine for single applications. This is the only option for running software designed for Windows without a true version of Windows. Wine is open-source, free software that recreates just enough of Windows to run Windows programs. As a result, you might encounter more bugs and lower performance running software through Wine. [6] X Research source

    Image titled Can Linux Run Exe Step 5

    • Popular virtual machines include: VirtualBox, VMware, and Linux’s built-in KVM (Kernel-based Virtual Machine). [8] X Research source
    • Because of the computing power required to run both Linux and Windows, this approach works great for productivity apps like Microsoft Office, but not great for graphics/computing-intensive programs like video games.

    Image titled Can Linux Run Exe Step 6

    Use dual-booting to run Windows games and complex applications. Dual-booting means you’ll reboot your computer into Windows so the application can run in its native environment. This method is best for games or applications that need high performance. Unfortunately, it does mean you’ll have to reboot your machine every time you want to run Windows software. [9] X Research source

    Consider using WSL to get the best out of both Windows and Linux. WSL is an environment that supports running of Linux tools and apps with a native Linux kernel through a hypervisor layer. WSL requires less set up to get started as well.

    What is the .exe equivalent in Linux?

    Image titled Can Linux Run Exe Step 7

    • Type chmod +x file-name.run in the command line to change the file permission to “executable.”
    • Type ./file-name.run to execute the file.
    • If an error pops up, type sudo ./file-name.run . Typing sudo allows you to run the file as an admin. Just be careful, since sudo allows you to make changes to your system.
    • Software installation will often require you to type sudo .

    Expert Q&A

    You Might Also Like

    Install Google Chrome Using Terminal on Linux

    Add or Change the Default Gateway in Linux

    Open Ports in Linux Server Firewall

    How to Open Linux Firewall Ports: Ubuntu, Debian, & More

    Take a Screenshot in Linux

    Become Root in Linux

    Execute INSTALL.sh Files in Linux Using Terminal

    How to Run an INSTALL.sh Script on Linux in 4 Easy Steps

    Ping in Linux

    Use Ping in Linux: Tutorial, Examples, & Interpreting Results

    Boot Linux from a USB on Windows 10

    Delete Read Only Files in Linux

    How to Delete Read-Only Files in Linux

    Use Wine on Linux

    Run Files in Linux

    Install Linux

    How to Install Linux on Your Computer

    Install Software on Linux

    How to Install Software on Linux: Packages, Compiling, & More

    Install Puppy Linux

    How to Install Puppy Linux

    Источник

Оцените статью
Adblock
detector