> For the complete documentation index, see [llms.txt](https://gandyhacks.gitbook.io/gandyhacks-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gandyhacks.gitbook.io/gandyhacks-docs/individual-guides/necessary-installs.md).

# Necessary Installs

To ensure optimal performance and compatibility of your system, it's crucial to install the necessary runtime libraries and drivers. This guide provides step-by-step instructions for installing the Microsoft Visual C++ Redistributables and DirectX drivers.

{% stepper %}
{% step %}

### 📦 Step 1: Install Microsoft Visual C++ Redistributables

Many applications require specific versions of the Visual C++ Redistributables. To cover a broad range of applications, it's recommended to install the following versions:

* **Visual C++ 2005**
* **Visual C++ 2008**
* **Visual C++ 2010**
* **Visual C++ 2012**
* **Visual C++ 2013**
* **Visual C++ 2015–2022**

You can download the latest supported versions from the official Microsoft website:

* [Latest Supported Visual C++ Redistributable Downloads](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170)
* [Direct Visual C++ Redistributable Download Link for x64](https://aka.ms/vs/17/release/vc_redist.x64.exe)

For a comprehensive list of all available versions, including older and unsupported ones, you can refer to the following resource:

* [VcRedist - Visual C++ Redistributables Archive](https://vcredist.com/)
  {% endstep %}

{% step %}

### 🎮 Step 2: Install DirectX End-User Runtime

Some applications, particularly older games, require specific DirectX components. To ensure compatibility, it's advisable to install the DirectX End-User Runtime.

#### Option 1: Using the Web Installer

1. Visit the official Microsoft DirectX End-User Runtime Web Installer page:
   * [DirectX End-User Runtime Web Installer](https://www.microsoft.com/en-us/download/details.aspx?id=35)
2. Select your preferred language and click **Download**.
3. Run the downloaded `dxwebsetup.exe` file.
4. Follow the on-screen instructions to complete the installation.

{% hint style="warning" %}
**Note:** The web installer will download and install only the required components. Ensure you have a stable internet connection during the installation process.
{% endhint %}

#### Option 2: Using the Offline Installer

For systems without internet access or for offline installations, you can use the DirectX End-User Runtimes (June 2010) package.

1. Download the offline installer from a trusted source:
   * [DirectX End-User Runtimes (June 2010)](https://www.microsoft.com/en-us/download/details.aspx?id=8109)
2. Extract the downloaded package.
3. Navigate to the extracted folder and run `dxsetup.exe`.
4. Follow the on-screen instructions to complete the installation.

{% hint style="warning" %}
**Note:** This package includes all DirectX components up to June 2010 and does not modify the existing DirectX runtime on your system.
{% endhint %}
{% endstep %}

{% step %}

### ✅ Final Check

After installation, it's recommended to restart your system to ensure all components are properly initialized.
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://gandyhacks.gitbook.io/gandyhacks-docs/individual-guides/necessary-installs.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
