mirror of
https://github.com/tiyn/wiki.git
synced 2026-02-22 10:24:47 +01:00
arch linux/vifm: updated
This commit is contained in:
@@ -3,10 +3,17 @@
|
||||
[Arch Linux](https://archlinux.org/) is a rolling-release, general-purpose
|
||||
[Linux](/wiki/linux/linux.md)
|
||||
distribution.
|
||||
Arch Linux uses the [pacman](./package_manager.md) package manager.
|
||||
|
||||
## Package Manager and AUR
|
||||
|
||||
Arch Linux uses the
|
||||
[pacman](/wiki/linux/package_manager.md#arch-linux-pacman-and-yay) package
|
||||
manager.
|
||||
An additional repository for user made software exists.
|
||||
It is called Arch User Repository (AUR).
|
||||
The Arch User Repositories (AUR) features community-made packages that can be
|
||||
installed with different
|
||||
[package manager that inlcude access to the AUR](/wiki/linux/arch-linux/package_manager.md).
|
||||
[package manager for that purpose](/wiki/linux/package_manager.md#arch-linux-pacman-and-yay).
|
||||
|
||||
## Installation
|
||||
|
||||
@@ -25,12 +32,17 @@ The iso can be written on an USB-stick using the command
|
||||
`dd bs=4M if=<path to ISO> of=/dev/sdx conv=fsync oflag=direct status=progress`.
|
||||
`<path to ISO>` points the command to the location of the ISO file
|
||||
|
||||
## Recommended Practices
|
||||
## Usage
|
||||
|
||||
The following section describes various ways to use and improve the usage of
|
||||
the Arch Linux operating system.
|
||||
|
||||
### Recommended Practices
|
||||
|
||||
The following articles describe steps to undertake to harden the system security
|
||||
or setups and installation that are recommended for Arch Linux.
|
||||
|
||||
## Enable Microcode Updates
|
||||
#### Enable Microcode Updates
|
||||
|
||||
The microcode of Intel and AMD CPUs can be automatically updated by installing
|
||||
the `amd-ucode` or `intel-ucode` package depending on your CPU.
|
||||
|
||||
@@ -1,60 +0,0 @@
|
||||
# Pacman and Yay
|
||||
|
||||
Package managers are important programs to get software onto your system.
|
||||
In Arch Linux there are 2 main package managers.
|
||||
One is `pacman`, the default package manager.
|
||||
But there are also a bunch other managers for the Arch User Repositories (AUR).
|
||||
|
||||
In this article `yay` is used as the go to AUR manager.
|
||||
`yay` is also a wrapper for `pacman` so you can just use `yay` instead of pacman
|
||||
to install programs.
|
||||
|
||||
## Update Mirrorlist
|
||||
|
||||
After a while not updating the system it is possible for the mirrorlist to be
|
||||
outdated.
|
||||
This can be fixed by updating it with the following command:
|
||||
|
||||
```sh
|
||||
curl -o /etc/pacman.d/mirrorlist https://archlinux.org/mirrorlist/all/
|
||||
```
|
||||
|
||||
## Bugfixes
|
||||
|
||||
### Error while importing keys
|
||||
|
||||
Both `yay` and `pacman` use gpg keys to confirm the package manager gets the
|
||||
right package.
|
||||
It is possible that it runs into errors when importing new keys.
|
||||
If this happens you should try to restart your gpg key server with
|
||||
`gpgconf --kill all`.
|
||||
|
||||
### Unknown public key
|
||||
|
||||
If the error `ERROR: One or more PGP signatures could not be verified!`, you
|
||||
have to manually receive the key and trust it.
|
||||
This is done by running the following lines:
|
||||
|
||||
```sh
|
||||
gpg --recv-key <KEYID>
|
||||
gpg --lsign <KEYID>
|
||||
```
|
||||
|
||||
Where <KEYID> is the placeholder of the identification string of the key.
|
||||
It usually gets gets printed in the line above the error looking like
|
||||
`FAILED (unknown public key <KEYID>)`.
|
||||
|
||||
### Error while updating `is marginal trust`
|
||||
|
||||
Both `yay` and `pacman` use gpg keys to confirm the package manager gets the
|
||||
right package.
|
||||
It is possible that it runs into errors when importing new keys.
|
||||
If the error `[...] Key [...] is marginal trust` occurs while updating the
|
||||
system, it can be fixed by running the following commands and then restarting
|
||||
the update process of the package manager.
|
||||
|
||||
```sh
|
||||
pacman -Sy archlinux-keyring
|
||||
pacman-key --populate archlinux
|
||||
pacman-key --refresh-keys
|
||||
```
|
||||
Reference in New Issue
Block a user