Added ArchLinux and "Linux" to other distris
This commit is contained in:
@@ -12,15 +12,16 @@ Example Output:
|
||||
|
||||
You can install Neofetch by copying the following code snippets to any of the given Linux Distributions.
|
||||
|
||||
* [Alpine](README.md#alpine)
|
||||
* [Alpine Linux](README.md#alpinelinux)
|
||||
* [Debian / Ubuntu](README.md#debian--ubuntu)
|
||||
* [Alma / Rocky](README.md#alma--rocky)
|
||||
* [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.
|
||||
|
||||
### Alpine
|
||||
### AlpineLinux
|
||||
```sh
|
||||
# Update Packages
|
||||
apk update
|
||||
@@ -64,7 +65,7 @@ sudo chmod +x /etc/profile.d/motd.sh
|
||||
echo "" > /etc/motd
|
||||
```
|
||||
|
||||
### Alma / Rocky
|
||||
### AlmaLinux / RockyLinux
|
||||
```bash
|
||||
# Update Packages
|
||||
sudo dnf update -y
|
||||
@@ -88,3 +89,25 @@ 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
|
||||
```
|
||||
Reference in New Issue
Block a user