Files
Boilerplates/Linux/Neofetch/README.md

115 lines
2.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Description
Neofetch is a tool to display system information inside the shell with an ASCII-Logo of the given Linux Distribution.
Example Output:
![Neofetch](screenshot.png)
---
# Installation of Neofetch
You can install Neofetch by copying the following code snippets to any of the given Linux Distributions.
* [Alpine Linux](README.md#alpinelinux)
* [Debian / Ubuntu](README.md#debian--ubuntu)
* [AlmaLinux / RockyLinux](README.md#almalinux--rockylinux)
* [Arch Linux](README.md#archlinux)
## Code Snippets
Click the little squares at the top right of the code window to quick and easy copy the code. Paste the code into your shell and thats it.
### AlpineLinux
```sh
# Update Packages
apk update
# Install Neofetch
apk add neofetch
# Create new message of the day file
tee /etc/profile.d/motd.sh <<EOF
#!/bin/bash
printf "\n"
neofetch
EOF
# Make it executable
chmod +x /etc/profile.d/motd.sh
# Get rid of default Message Of The Day
echo "" > /etc/motd
```
### Debian / Ubuntu
```bash
# Update Packages
sudo apt update
# Install Neofetch
sudo apt install -y neofetch
# Create new message of the day file
tee /etc/profile.d/motd.sh <<EOF
#!/bin/bash
printf "\n"
neofetch
EOF
# Make it executable
sudo chmod +x /etc/profile.d/motd.sh
# Get rid of default Message Of The Day
echo "" > /etc/motd
```
### AlmaLinux / RockyLinux
```bash
# Update Packages
sudo dnf update -y
# Install EPEL-Release
sudo dnf install -y epel-release
# Update EPEL-Release
sudo dnf clean all && dnf update -y
# Install Neofetch
sudo dnf install -y neofetch
# Create new message of the day file
tee /etc/profile.d/motd.sh <<EOF
#!/bin/bash
printf "\n"
neofetch
EOF
# Make it executable
chmod +x /etc/profile.d/motd.sh
```
### ArchLinux
```bash
# Update Packages
sudo pacman -Syu
# Install Neofetch
sudo pacman -S neofetch -noconfirm
# Create new message of the day file
tee /etc/profile.d/motd.sh <<EOF
#!/bin/bash
printf "\n"
neofetch
EOF
# Make it executable
sudo chmod +x /etc/profile.d/motd.sh
# Get rid of default Message Of The Day
echo "" > /etc/motd
```