> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ldi.paname-75.fr/llms.txt
> Use this file to discover all available pages before exploring further.

# Installation

> How to install LDI (Linux Dependencies Installer) on your system

import { Card, Columns, CodeBlock, CopyButton } from 'your-mdx-components'

## Installing LDI

Follow these steps to install LDI and set up essential Linux dependencies without root or sudo.

<Card>
  Use Git to clone the LDI repository to your local machine:

  <CodeBlock>
    apt update -y && apt install git -y && git clone [https://github.com/LinuxDepedenciesInstaller/LDI.git](https://github.com/LinuxDepedenciesInstaller/LDI.git)
  </CodeBlock>

  <CopyButton content="apt update -y && apt install git -y && git clone https://github.com/LinuxDepedenciesInstaller/LDI.git" />
</Card>

## Make it executable

<Columns cols={2}>
  <Card>
    Ensure the script is executable:

    <CodeBlock>
      chmod +x ldi.sh
    </CodeBlock>

    <CopyButton content="chmod +x ldi.sh" />
  </Card>

  <Card>
    Start installing dependencies:

    <CodeBlock>
      ./ldi.sh
    </CodeBlock>

    <CopyButton content="./ldi.sh" />
  </Card>
</Columns>

## Verify Installation

<Columns cols={2}>
  <Card>
    <CodeBlock>
      curl --version
    </CodeBlock>

    <CopyButton content="curl --version" />
  </Card>

  <Card>
    <CodeBlock>
      wget --version
    </CodeBlock>

    <CopyButton content="wget --version" />
  </Card>

  <Card>
    <CodeBlock>
      git --version
    </CodeBlock>

    <CopyButton content="git --version" />
  </Card>

  <Card>
    <CodeBlock>
      tar --version
      zip -v
      unzip -v
    </CodeBlock>

    <CopyButton content="tar --version\nzip -v\nunzip -v" />
  </Card>
</Columns>

## Notes

<Card title="Safe installation" icon="shield" href="/faq/faq">
  LDI does not require root or sudo. You can run it as a normal user safely.
</Card>

<Card title="Repeatable" icon="repeat" href="/getting-started/usage">
  You can rerun LDI anytime. Already installed packages will be skipped automatically.
</Card>
