linux: added 7z and moved arch-linux into linux folder

master
tiyn 8 months ago
parent c645bbae6f
commit dbdbd80600

@ -28,5 +28,5 @@ This is not a legal advice.
Take your local laws into account when downloading torrents.
Some torrents can be copyright infringing and therefor illegal to download.
Only download legal and safe torrents like the
[Arch Linux ISO](/wiki/linux/arch-linux/arch-linux.md#iso-medium).
[Arch Linux ISO](/wiki/linux/arch-linux.md#iso-medium).
Seeding it can help the community.

@ -21,7 +21,7 @@ used named `Lutris-GE` which can be found on
It is important to set up the game correctly for anti-cheat to work properly.
By checking the right box at the launch of the games the anti-cheat can be
enabled to persist through reboots on most Linux distributions.
For [Arch Linux](/wiki/linux/arch-linux/arch-linux.md) this has to be done
For [Arch Linux](/wiki/linux/arch-linux.md) this has to be done
manually as explained by
[QuinnBorn on Reddit](https://www.reddit.com/r/leagueoflinux/comments/eokiir/anticheat_popup_every_reboot/).
For that the file `/etc/sysctl.d/vsyscall.conf` has to be created with the

@ -9,6 +9,6 @@ Linux based operating systems are Unix-like.
The different operating systems that are based on the Linux kernel are called
distributions.
- [Arch Linux](/wiki/linux/arch-linux/arch-linux.md) is a rolling-release
- [Arch Linux](/wiki/linux/arch-linux.md) is a rolling-release
distribution whose base system is as minimal and needs heavy user
configuration.

@ -0,0 +1,44 @@
# 7-zip
[7-zip](https://7-zip.org/) is a free and open-source file archiver.
It places files or directories in an archive and is able to compress them.
## Setup
7-zip can be installed by installing the packages `p7zip-full` and `p7zip-rar` on Ubuntu systems.
On [Arch Linux](/wiki/linux/arch-linux.md) it can be installed with the package `7-zip`
from the [AUR](/wiki/linux/package_manager.md#arch-linux-pacman-and-yay).
## Usage
### Compressing and Uncompressing a Directory
For directories to be compressed the LempelZivMarkov chain algorithm is recommended.
It is fast with good compression results.
As explained by
[kenorb on superuser.com](https://superuser.com/questions/281573/what-are-the-best-options-to-use-when-compressing-files-using-7-zip)
An effective way to compress a directory is the following command where `directory` is the directory
that is to be compressed.
The archive will be created by the same name as the directory but with the `.7z` extension.
This command uses [expansion](/wiki/linux/shell.md#expansion).
The directory is not deleted automatically afterwards.
```sh
7z a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on directory{.7z,}
```
To uncompress it run the following command.
```sh
7z x directory.7z
```
### Peek Contents of an Archive
To list the content files of a 7-zip archive the following command can be used.
The name of the archive is assumed to be `directory.7z`.
```sh
7z l directory.7z
```

@ -11,7 +11,7 @@ At the end of this guide a fully functional Arch Linux will be installed.
## 1. Preparation
Ahead of the installation an Arch boot-stick has to be created as described in
[the Arch Linux entry](/wiki/linux/arch-linux/arch-linux.md#installation-medium).
[the Arch Linux entry](/wiki/linux/arch-linux.md#installation-medium).
After that the USB can be plugged in the system on which Arch should be installed.
Boot the target system and select `Boot Arch Linux (x86_64)`.
@ -194,7 +194,7 @@ this will install a bunch of useful base software including
[a window manager](../suckless.md#programs).
You can go on to other guides aswell.
Especially the
[Recommended practices](/wiki/linux/arch-linux/arch-linux.md#recommended-practices)
[Recommended practices](/wiki/linux/arch-linux.md#recommended-practices)
should be checked for further setups.
Additionally if you have a NVidia Graphics Cards you should read

@ -101,7 +101,7 @@ The repository is split into
On some [package managers](/wiki/linux/package_manager.md) the fonts are further
split depending on [typeface](/wiki/font.md#typefaces) and language.
The following list shows the name of the
[Arch Linux packages](/wiki/linux/arch-linux/arch-linux.md).
[Arch Linux packages](/wiki/linux/arch-linux.md).
The names on other distributions can vary slightly.
- `adobe-source-han-sans-jp-fonts` is for japanese sans style fonts.

@ -34,7 +34,7 @@ For VPN and other applications using a tunnel it can be useful to check the
outside IP of your system.
The following command uses the `dig` command.
It is either bundled in the `dig` package - like in
[Arch Linux](/wiki/linux/arch-linux/arch-linux.md) - or in the `dnsutils`
[Arch Linux](/wiki/linux/arch-linux.md) - or in the `dnsutils`
package - like in Ubuntu - or even another package depending on the distribution
used.
After installation the following command can be used to get the outside IP

@ -90,7 +90,7 @@ services other than the following commands.
If the volume to shrink is the root volume it has to be done offline.
For that a simple installation stick is enough.
[The Arch Linux entry](/wiki/linux/arch-linux/arch-linux.md#installation-medium)
[The Arch Linux entry](/wiki/linux/arch-linux.md#installation-medium)
describes the creation of such a boot stick.
Afterwards the operating system has to be booted from the just created stick or
a comparable device.
@ -164,4 +164,3 @@ Afterwards the file system can be matched to the logical volume so it takes up
the full new size.
This is explained in the
[entry about disk management](/wiki/linux/disk-management.md#growing-a-file-system).

@ -12,4 +12,4 @@ manufacturer (on Arch Linux for example `intel-ucode` and `amd-ucode`).
Automatic updates can be enabled depending on bootloader and operating system.
For Arch Linux a description is given in the
[Arch Linux entry](/wiki/linux/arch-linux/arch-linux.md#enable-microcode-updates).
[Arch Linux entry](/wiki/linux/arch-linux.md#enable-microcode-updates).

@ -4,7 +4,7 @@ Package managers are important programs to get software onto your system.
## Arch Linux: Pacman and Yay
In [Arch Linux](/wiki/linux/arch-linux/arch-linux.md) there are 2 main types of
In [Arch Linux](/wiki/linux/arch-linux.md) there are 2 main types of
package managers.
The first is pacman, the default package manager.

Loading…
Cancel
Save