https://github.com/dnut/instaur
AUR helper for Arch Linux
https://github.com/dnut/instaur
Last synced: 28 days ago
JSON representation
AUR helper for Arch Linux
- Host: GitHub
- URL: https://github.com/dnut/instaur
- Owner: dnut
- License: gpl-3.0
- Created: 2015-10-14T01:03:29.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-28T22:23:36.000Z (over 9 years ago)
- Last Synced: 2023-04-30T20:33:23.376Z (almost 2 years ago)
- Language: Shell
- Size: 203 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# instaur
AUR helper for Arch Linux## DISCLAIMER
Instaur is in early alpha testing stages and has a lot of desperately needed upcoming changes (see instaur-progress.txt for more details). In my experience it works, but it has only been tested on my devices. I use it for almost all AUR packages and rarely have a problem. Instaur is unique in that it runs as root. An instaur user is created during installation to execute the makepkg command without root privileges. This functionality is experimental and subject to change. It functions in this manner in order to create a user experience as similar to that of pacman as possible. Use at your own risk.## Description
Instaur is a command line utility made for Arch Linux to install AUR packages. Instaur is intended to be used instead of a more automated AUR package installer such as Yaourt or Pacaur in order to put individualized package control back in the hands of the user while still automating the installation process. It only auto-installs dependencies that are found by pacman in the official repositories. Any package or dependency that is in AUR must be explicitly specified by the user in order for it to be installed. Prior to installing packages, Instaur notifies the user which dependencies may need to be updated manually.
## Installation
```# sh install.sh```
## Usage
This documentation is no longer up to date with the latest features of Instaur. Most pacman options and operations should have some level of compatibility with Instaur. However, only the following are officially supported.
To install a single package using default settings, execute this command:
```# instaur -S package-name```Instaur can also install multiple packages in one command:
```# instaur -S package-one package-two package-three```
The packages will install in the order specified.Instaur's options and operations can be placed anywhere in the command and apply to ALL packages being installed:
### Operations
* -S, -U
* These can be used but will both be ignored because Instaur already uses "pacman -U" by default to accomplish something analogous to -S.
* -R Uninstall
* Any parameter starting with -R will be passed in its entirely (everything until whitespace) to pacman, skipping all of Instaur.
* This is used to uninstall packages exactly as pacman would do it, except that it keeps Instaur.log up to date.
* For example, the following two commands have identical results.
* ```# instaur -Rs package-one package-two```
* ```# pacman -Rs package-one package-two```
* The only exception is if the help option is used. If so, all other options and operations are ignored.### Options
* --help (used by Instaur, not passed to pacman)
* Displays the README file. No packages will be installed when this is activated. This option can also be used with one or no dashes.
* --noconfirm (used by Instaur and passed to pacman)
* Bypasses any confirmation dialogs. Warning: Make sure any dependencies are taken care of before using this.
* --needed (used by Instaur and passed to pacman)
* Does not reinstall packages that are up to date.#### Other pacman options
Any other pacman options may be added to Instaur in the same manner as --noconfirm or --needed. However, Instaur is only written to take the above three into consideration. Any other options will be passed straight to pacman and otherwise ignored by Instaur. Instaur executes the -S operation using ```# pacman -U *.xz```. Additional pacman options will be passed like so: ```# pacman -U opt1 opt2 opt3 *.xz``` Only use options that are compatible with the selected operation. Most pacman options are untested with Instaur. pacman options can be viewed here: https://www.archlinux.org/pacman/pacman.8.html. Use at your own risk.