mirror of
https://github.com/tiyn/wiki.git
synced 2025-11-27 05:39:45 +01:00
merge
This commit is contained in:
@@ -17,9 +17,31 @@ It features the same syntax.
|
||||
|
||||
### Usage
|
||||
|
||||
This section addresses various uses of the pacman and yay package managers.
|
||||
This section addresses various usages of the arch linux package managers.
|
||||
|
||||
#### Clean Cache
|
||||
#### Manual Installation of a `PKGBUILD` File
|
||||
|
||||
A `PKGBUILD` file is a [shell](/wiki/linux/shell.md) script that contains the installation
|
||||
information that is required by the Arch Linux.
|
||||
Using the `makepkg` command it can be installed like the following command shows.
|
||||
|
||||
```sh
|
||||
makepkg -sirc
|
||||
```
|
||||
|
||||
Afterwards it is installed on the system and can be further managed (especially uninstalled) by the
|
||||
Pacman package manager.
|
||||
|
||||
#### Installing an AUR Program with a Specific Version
|
||||
|
||||
The installation of a specific version of an AUR program can be easily achieved.
|
||||
For this navigate to the AUR page of the program to install.
|
||||
On the right-hand side click on `View Changes` and select the version you want to install in the
|
||||
commit list.
|
||||
Next to `download` a `.tar.gz` file can be downloaded which includes a `PKGBUILD` file.
|
||||
Afterwards it needs to be [uncompressed](/wiki/linux/tar.md#uncompressing-a-tar-archive).
|
||||
|
||||
#### Clear Cache
|
||||
|
||||
The cache of all packages except the one installed can be deleted by running the following command.
|
||||
|
||||
@@ -27,6 +49,10 @@ The cache of all packages except the one installed can be deleted by running the
|
||||
pacman -Sc
|
||||
```
|
||||
|
||||
### Troubleshooting
|
||||
|
||||
This section addresses various uses of the pacman and yay package managers.
|
||||
|
||||
#### Update Mirrorlist
|
||||
|
||||
After a while not updating the system it is possible for the mirrorlist to be
|
||||
|
||||
Reference in New Issue
Block a user