To install DirectX, download the latest version of DirectX End-User Runtimes from Microsoft's support site and run the installer with local administrator credentials. Follow all instructions on the installer, and restart the computer to complete the installation.
Most Windows operating systems come preloaded with DirectX and do not require a complete manual installation. Periodic updates to the pre-installed software is required for graphics and games to function seamlessly. Search for the latest DirectX EndUser Runtime Web Installer on Microsoft.com and run it. The Web installer locates the local installation of DirectX, and it only installs the files that are missing.