Skip to content

Commit

Permalink
Merge pull request #117 from arm0red/master
Browse files Browse the repository at this point in the history
updated installation instructions
  • Loading branch information
trackmastersteve authored Oct 23, 2022
2 parents 24e72b0 + c75c44b commit da3783e
Showing 1 changed file with 13 additions and 38 deletions.
51 changes: 13 additions & 38 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,43 +26,18 @@ On Arch Linux:
```sh
$ sudo pacman -S python-pyusb python-setuptools python-gobject python-cairo python-future
```

On Debian/Ubuntu/Mint/Kali:

On other distributions you need to install ``pyusb`` and ``pkg_resources`` using pip:
1. pkg_resources.
You can install ``pkg_resources`` using the following command:
```sh
$ pip install setuptools
```

2. pyusb >= 1.0.0b1.
Note that your distribution may only provide ``the pre-1.0`` version of ``pyusb``. If
this is the case, you can install ``pyusb 1.0`` using the
following command:
```sh
$ pip install --pre pyusb
```
3. future.
You can install ``future`` using the following command:
```sh
$ pip install future
```
You can install all of these by running the command:

```sh
$ pip install -r requirements.txt
```

And then install following packages using package manager:

On Debian/Ubuntu/Mint/Kali:
```sh
$ sudo apt install libcairo2-dev python-gi python-gi-cairo
```

On Fedora:
```sh
$ sudo dnf install cairo-devel python3-gobject cairo-gobject
```
```sh
$ sudo apt install libcairo2-dev python3-gi python3-gi-cairo python3-setuptools python3-usb python3-future
```

On Fedora:

```sh
$ sudo dnf install cairo-devel python3-gobject cairo-gobject python3-setuptools python3-usb python3-future
```

## Installation

Expand All @@ -71,10 +46,10 @@ On Arch Linux you can install package from AUR: [alienfx](https://aur.archlinux.
For manual installation of AlienFX, use the following commands:

```sh
$ sudo python3 setup.py install
$ sudo python setup.py install
```
```sh
$ sudo python3 setup.py install_data
$ sudo python setup.py install_data
```

Note that the second invocation is required to ensure that icon files etc. are
Expand Down

0 comments on commit da3783e

Please sign in to comment.