Arch Linux or archlinux not Archlinux

main
Tran Hau 2020-05-24 17:44:40 +07:00
parent 536c2c9594
commit 01113247dc
23 changed files with 38 additions and 44 deletions

View File

@ -20,6 +20,8 @@
[fzf](fzf.md): command-line finder. [fzf](fzf.md): command-line finder.
[The Silver Searcher](https://github.com/ggreer/the_silver_searcher): similar to `ack`.
[diff-so-fancy](https://github.com/so-fancy/diff-so-fancy): `diff` with human readable. [diff-so-fancy](https://github.com/so-fancy/diff-so-fancy): `diff` with human readable.
[tldr](https://github.com/tldr-pages/tldr): simple `man`. [tldr](https://github.com/tldr-pages/tldr): simple `man`.

View File

@ -20,14 +20,14 @@ export HISTIGNORE="cd:cd *:ls:ls *:pwd:exit"
| Distribution | Package | | Distribution | Package |
| ------------ | ----------------- | | ------------ | ----------------- |
| Archlinux | `bash-completion` | | Arch Linux | `bash-completion` |
| Ubuntu | `bash-completion` | | Ubuntu | `bash-completion` |
| Homebrew | `bash-completion` | | Homebrew | `bash-completion` |
Add to `~/.bashrc`: Add to `~/.bashrc`:
```bash ```bash
# Archlinux, Ubuntu # Arch Linux, Ubuntu
[[ -f /usr/share/bash-completion/bash_completion ]] && \ [[ -f /usr/share/bash-completion/bash_completion ]] && \
source /usr/share/bash-completion/bash_completion source /usr/share/bash-completion/bash_completion

View File

@ -2,14 +2,14 @@
| Distribution | Package | | Distribution | Package |
| ------------ | ---------- | | ------------ | ---------- |
| Archlinux | `bat` | | Arch Linux | `bat` |
| Ubuntu | `rust-bat` | | Ubuntu | `rust-bat` |
| Homebrew | `bat` | | Homebrew | `bat` |
Add to `~/.bashrc`: Add to `~/.bashrc`:
```bash ```bash
# Archlinux, Ubuntu # Arch Linux, Ubuntu
[[ -f /usr/bin/bat ]] && \ [[ -f /usr/bin/bat ]] && \
alias cat="bat" alias cat="bat"

View File

@ -4,7 +4,7 @@
| Distribution | Package | | Distribution | Package |
| ------------ | --------------- | | ------------ | --------------- |
| Archlinux | `gameconqueror` | | Arch Linux | `gameconqueror` |
| Ubuntu | `gameconqueror` | | Ubuntu | `gameconqueror` |
## Windows ## Windows

View File

@ -2,7 +2,7 @@
| Distribution | Package | | Distribution | Package |
| ------------ | ---------------- | | ------------ | ---------------- |
| Archlinux | `dnscrypt-proxy` | | Arch Linux | `dnscrypt-proxy` |
| Ubuntu | `dnscrypt-proxy` | | Ubuntu | `dnscrypt-proxy` |
Edit `/etc/dnscrypt-proxy/dnscrypt-proxy.toml`: Edit `/etc/dnscrypt-proxy/dnscrypt-proxy.toml`:

View File

@ -2,14 +2,14 @@
| Distribution | Package | | Distribution | Package |
| ------------ | ---------- | | ------------ | ---------- |
| Archlinux | `exa` | | Arch Linux | `exa` |
| Ubuntu | `rust-exa` | | Ubuntu | `rust-exa` |
| Homebrew | `exa` | | Homebrew | `exa` |
Add to `~/.bashrc`: Add to `~/.bashrc`:
```bash ```bash
# Archlinux, Ubuntu # Arch Linux, Ubuntu
[[ -f /usr/bin/exa ]] && \ [[ -f /usr/bin/exa ]] && \
alias ls="exa" alias ls="exa"

View File

@ -1,11 +1,5 @@
# Flatpak and Snap # Flatpak and Snap
Assume you use Archlinux.
Read [Flatpak](https://wiki.archlinux.org/index.php/Flatpak).
Read [Snap](https://wiki.archlinux.org/index.php/Snap).
## Internet ## Internet
Chromium Chromium
@ -84,6 +78,9 @@ Visual Studio Code
[Flatpak](https://flathub.org/apps/details/com.visualstudio.code) [Flatpak](https://flathub.org/apps/details/com.visualstudio.code)
[Snap](https://snapcraft.io/code) [Snap](https://snapcraft.io/code)
Tau
[Flatpak](https://flathub.org/apps/details/org.gnome.Tau)
### IDE ### IDE
GoLand GoLand

View File

@ -2,14 +2,14 @@
| Distribution | Package | | Distribution | Package |
| ------------ | ------- | | ------------ | ------- |
| Archlinux | `fzf` | | Arch Linux | `fzf` |
| Ubuntu | `fzf` | | Ubuntu | `fzf` |
| Homebrew | `fzf` | | Homebrew | `fzf` |
Add to `~/.bashrc`: Add to `~/.bashrc`:
```bash ```bash
# Archlinux, Ubuntu # Arch Linux, Ubuntu
[[ -f /usr/share/fzf/completion.bash ]] && \ [[ -f /usr/share/fzf/completion.bash ]] && \
source /usr/share/fzf/completion.bash source /usr/share/fzf/completion.bash
[[ -f /usr/share/fzf/key-bindings.bash ]] && \ [[ -f /usr/share/fzf/key-bindings.bash ]] && \

View File

@ -2,7 +2,7 @@
| Distribution | Package | | Distribution | Package |
| ------------ | ------- | | ------------ | ------- |
| Archlinux | `git` | | Arch Linux | `git` |
| Ubuntu | `git` | | Ubuntu | `git` |
Save usernames and passwords in `~/.git-credentials`: Save usernames and passwords in `~/.git-credentials`:

View File

@ -2,7 +2,7 @@
| Distribution | Package | | Distribution | Package |
| ------------ | ------- | | ------------ | ------- |
| Archlinux | `nmap` | | Arch Linux | `nmap` |
| Ubuntu | `ncat` | | Ubuntu | `ncat` |
| Homebrew | `nmap` | | Homebrew | `nmap` |

View File

@ -1,17 +1,17 @@
# [Neovim](https://github.com/neovim/neovim) # [Neovim](https://github.com/neovim/neovim)
| Distribution | Package | | Distribution | Package |
| ------------ | ---------- | | ------------ | -------- |
| Archlinux | `neovim` | | Arch Linux | `neovim` |
| Ubuntu | `neovim` | | Ubuntu | `neovim` |
| Homebrew | `neovim` ` | | Homebrew | `neovim` |
Add to `~/.bashrc`: Add to `~/.bashrc`:
```bash ```bash
export EDITOR=nvim export EDITOR=nvim
# Archlinux, Ubuntu # Arch Linux, Ubuntu
[[ -f /usr/bin/nvim ]] && \ [[ -f /usr/bin/nvim ]] && \
alias vim="nvim" alias vim="nvim"

View File

@ -4,7 +4,7 @@ Read [update-systemd-resolved](https://github.com/jonathanio/update-systemd-reso
| Distribution | Package | | Distribution | Package |
| ------------ | --------------------------------------- | | ------------ | --------------------------------------- |
| Archlinux | `openvpn-update-systemd-resolved` (AUR) | | Arch Linux | `openvpn-update-systemd-resolved` (AUR) |
| Ubuntu | `openvpn-systemd-resolved` | | Ubuntu | `openvpn-systemd-resolved` |
Start and enable service: Start and enable service:

View File

@ -2,7 +2,7 @@
| Distribution | Package | | Distribution | Package |
| ------------ | ------- | | ------------ | ------- |
| Archlinux | `rsync` | | Arch Linux | `rsync` |
| Ubuntu | `rsync` | | Ubuntu | `rsync` |
```sh ```sh

View File

@ -2,7 +2,7 @@
Read [systemd-boot](https://wiki.archlinux.org/index.php/Systemd-boot). Read [systemd-boot](https://wiki.archlinux.org/index.php/Systemd-boot).
Assume you use Archlinux, and [EFI system partition](https://wiki.archlinux.org/index.php/EFI_system_partition) mount point is `/boot`. Assume you use Arch Linux, and [EFI system partition](https://wiki.archlinux.org/index.php/EFI_system_partition) mount point is `/boot`.
Install: Install:
@ -28,7 +28,7 @@ editor no
Edit `/boot/loader/entries/archlinux.conf`: Edit `/boot/loader/entries/archlinux.conf`:
```txt ```txt
title Archlinux title Arch Linux
linux /vmlinuz-linux linux /vmlinuz-linux
initrd /intel-ucode.img initrd /intel-ucode.img
initrd /initramfs-linux.img initrd /initramfs-linux.img

View File

@ -2,7 +2,7 @@
| distribution | package | | distribution | package |
| ------------ | ------- | | ------------ | ------- |
| Archlinux | `tmux` | | Arch Linux | `tmux` |
| Ubuntu | `tmux` | | Ubuntu | `tmux` |
Imagine you want to run a long task in terminal, but you don't want to keep terminal open. Imagine you want to run a long task in terminal, but you don't want to keep terminal open.

View File

@ -2,7 +2,7 @@
| Distribution | Package | | Distribution | Package |
| ------------ | ------------- | | ------------ | ------------- |
| Archlinux | `xorg-xinput` | | Arch Linux | `xorg-xinput` |
| Ubuntu | `xinput` | | Ubuntu | `xinput` |
List devices: List devices:

View File

@ -2,5 +2,5 @@
| Distribution | Package | | Distribution | Package |
| ------------ | --------- | | ------------ | --------- |
| Archlinux | `ansible` | | Arch Linux | `ansible` |
| Ubuntu | `ansible` | | Ubuntu | `ansible` |

View File

@ -2,13 +2,13 @@
| Distribution | Package | | Distribution | Package |
| ------------ | -------- | | ------------ | -------- |
| Archlinux | `antlr4` | | Arch Linux | `antlr4` |
| Ubuntu | `antlr4` | | Ubuntu | `antlr4` |
Add to `~/.bashrc`: Add to `~/.bashrc`:
```bash ```bash
# Archlinux # Arch Linux
export classpath=".:/usr/share/java/antlr-complete.jar:$classpath" export classpath=".:/usr/share/java/antlr-complete.jar:$classpath"
# Ubuntu # Ubuntu

View File

@ -2,11 +2,10 @@
| Distribution | Package | | Distribution | Package |
| ------------ | ----------------------------------------------------- | | ------------ | ----------------------------------------------------- |
| Archlinux | `docker` | | Arch Linux | `docker` |
| Ubuntu | [See](https://docs.docker.com/engine/install/ubuntu/) | | Ubuntu | [See](https://docs.docker.com/engine/install/ubuntu/) |
On Archlinux, enable and start service: On Arch Linux, enable and start service:
```sh ```sh
systemctl enable --now docker.service systemctl enable --now docker.service

View File

@ -2,7 +2,7 @@
| Distribution | Package | | Distribution | Package |
| ------------ | ----------------------------------------------- | | ------------ | ----------------------------------------------- |
| Archlinux | `go`, `go-tools` | | Arch Linux | `go`, `go-tools` |
| Ubuntu | [See](https://github.com/golang/go/wiki/Ubuntu) | | Ubuntu | [See](https://github.com/golang/go/wiki/Ubuntu) |
Add to `~/.bashrc`: Add to `~/.bashrc`:

View File

@ -15,7 +15,7 @@ docker run -d \
| Distribution | Package | | Distribution | Package |
| ------------ | -------------- | | ------------ | -------------- |
| Archlinux | `redis` | | Arch Linux | `redis` |
| Ubuntu | `redis-server` | | Ubuntu | `redis-server` |
Connect: Connect:

View File

@ -1,9 +1,5 @@
# Gnome Extensions # Gnome Extensions
Assume you use Archlinux.
Read [GNOME/Extensions](https://wiki.archlinux.org/index.php/GNOME#Extensions).
[Dash to Panel](https://github.com/home-sweet-gnome/dash-to-panel) [Dash to Panel](https://github.com/home-sweet-gnome/dash-to-panel)
[Dash to Dock](https://github.com/micheleg/dash-to-dock) [Dash to Dock](https://github.com/micheleg/dash-to-dock)

View File

@ -1,6 +1,6 @@
# Install Archlinux # Install Arch Linux
Install Archlinux is thing I always want to do for my laptop/PC since I had my laptop in ninth grade. Install Arch Linux is thing I always want to do for my laptop/PC since I had my laptop in ninth grade.
This is not a guide for everyone, this is just save for myself in a future and for anyone who want to taste a bit. This is not a guide for everyone, this is just save for myself in a future and for anyone who want to taste a bit.