Skip to content

Commit

Permalink
0.2 - fixes and improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
document10 committed Aug 6, 2023
1 parent 238b88d commit 9fe9bf6
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
25 changes: 13 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,14 @@ Taiga or Terminal Application for Installing Graphical Appliances is a terminal
The script is currrently in an alpha state.Use on a production machine is not recommended for the following reasons:

- More testing needs to be done

- Desktop Environment support is inconsistent across distros

- The script has python and sudo (among other packages,for some distros) as a dependency

- The script has some dependencies needed before running
- Methods for detecting distros/GPUs (for the express installer) may be inaccurate

## Installer types
**1.Express install:** The script will detect the distro and the GPU used,and you can pick the desktop environment,which will be installed with the appropriate display manager.

**2.Custom install:** Pick all options manually.Useful if auto-detection doesn't work.
**2.Custom install:** Pick all options manually.Useful if auto-detection doesn't work or if some components are not needed

Aditionally you can run the script in diffrent modes by adding these arguments after the script:

Expand All @@ -33,16 +30,20 @@ Aditionally you can run the script in diffrent modes by adding these arguments a

The script requires `python`,`sudo` and `pciutils` in order to run.To configure sudo you can use the following guides:

https://www.linuxteck.com/steps-to-configure-sudo-in-linux/
Linux: https://www.linuxteck.com/steps-to-configure-sudo-in-linux/

https://www.cyberciti.biz/faq/freebsd-install-sudo-command/
FreeBSD: https://www.cyberciti.biz/faq/freebsd-install-sudo-command/

Here are commands for installing these dependencies on the supported distros:

### Arch Linux
```sh
sudo pacman -S python sudo pciutils
```
Aditionally make sure that the `multilib` repository is enabled,as this is where most graphics drivers are pulled from.To do that uncomment these lines (remove the `#` symbol before each line) in `/etc/pacman.conf`:
```
[multilib]
Include = /etc/pacman.d/mirrorlist
```
### Debian/Ubuntu

```sh
Expand All @@ -57,7 +58,7 @@ sudo pkg install python sudo pciutils
## Running the script
Currently there are two ways to run the script:

**Method 1:Using python**
### Method 1:Using python
```sh
python3 taiga.py [args]
```
Expand All @@ -66,9 +67,9 @@ or
python taiga.py [args]
```

**Method 2:Using shell commands**
### Method 2:Using shell commands
```sh
chmod +X taiga.py
chmod +X taiga.py #only run once
./taiga.py [args]
```
Note:This method does not work on FreeBSD as all user-installed binaries are stored in `/usr/local/bin`,as opposed to `/usr/bin`.FreeBSD users must use *Method 1* .
Note:This method does not work on FreeBSD as all user-installed binaries are stored in `/usr/local/bin`,as opposed to `/usr/bin`.FreeBSD users must use **Method 1**.
2 changes: 1 addition & 1 deletion distros/FreeBSD.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
"tasks" : [
{
"name":"Install recommended packages",
"comm":["sudo pkg install vlc firefox libreoffice"]
"comm":["sudo pkg -y install vlc firefox libreoffice"]
}
]
}
2 changes: 1 addition & 1 deletion distros/ubuntu.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
},
{
"name":"Install recommended packages",
"comm":["sudo apt install vlc firefox libreoffice"]
"comm":["sudo apt install -y vlc firefox libreoffice"]
}
]
}

0 comments on commit 9fe9bf6

Please sign in to comment.