- Kernel name
$ uname -r
5.4.64-1-MANJARO
- List available
$ mhwd-kernel -l
available kernels:
* linux414
* linux419
* linux44
* linux49
* linux54
* linux57
...
- Upgrade
sudo mwhd-kernel -i linux57 && sudo reboot
Pacman is the main package manager system on archlinux.
# Update all package
$ pacman -Sy
# Update and install all packages
$ pacman -Syu
Options:
--overwrite='*'
// Fix packages conflicts--ignore pacman
// Ignore package "pacman" (for example) if--overwrite='*'
does not working
# Search package
$ pacman -Ss nautilus
extra/libnautilus-extension 3.34.1-1 [installé]
Library for extending the Default file manager for GNOME
extra/nautilus 3.34.1-1 (gnome) [installé]
Default file manager for GNOME
extra/nautilus-legacy 3.26.4-2
...
# Install package
$ sudo pacman -S nautilus
- Audio
$ sudo pacman -S pulseaudio
$ sudo pacman -S pavucontrol (ui manager)
- Flameshot - Powerful yet simple to use screenshot software
$ sudo pacman -S flameshot
- Gnome terminal
$ sudo pacman -S gnome-terminal
- Java
https://wiki.archlinux.fr/java
// install jdk version
$ pacman -S jre8-openjdk
// display the available versions
$ archlinux-java status
Available Java environments:
java-11-openjdk
java-8-openjdk (default)
// set version
$ archlinux-java set java-8-openjdk
- Keychain - A front-end to ssh-agent, allowing one long-running ssh-agent process per system, rather than per login
$ sudo pacman -S keychain
$ vim ~/.bashrc
eval `keychain --eval --agents ssh id_rsa`
- Nautilus - Gnome folder management
$ sudo pacman -S nautilus
- ntp - Network Time Protocol
$ pacman -S ntp
$ sudo timedatectl set-ntp true
- pip - The PyPA recommended tool for installing Python packages
$sudo pacman -S python-pip (python 3)
- Screen - Full-screen window manager that multiplexes a physical terminal
$ sudo pacman -S screen
- Code - The Open Source build of Visual Studio Code (vscode) editor
$ sudo pacman -S code
- Docker - Utility to pack, ship and run any application as a lightweight container
$ sudo pacman -S docker
$ sudo pacman -S docker-compose
// start docker daemon immediatly
$ systemctl start docker
// enable on boot
$ systemctl enable docker
Troubleshooting:
# docker: Got permission denied while trying...
$ sudo chmod 666 /var/run/docker.sock
- Go - Google Language
$ sudo pacman -S go
- Intellij - IDE for Java, Groovy and other programming languages with advanced refactoring features
$ sudo pacman -S intellij-idea-community-edition
- jq - Command-line JSON processor
$ sudo pacman -S jq
- pgcli (from
pip
) - A command line interface for Postgres with auto-completion and syntax highlighting
$ pip install -U pgcli
- qgit - A GIT GUI viewer built on Qt/C++
$ sudo pacman -S qgit
- sbt - The interactive build tool
$ sudo pacman -S sbt
- scala - A Java-interoperable language with object-oriented and functional features
$ pacman -S scala
- Slack Desktop (Beta) for Linux
$ sudo pacman -S slack-desktop
- Chrome
$ yay -S google-chrome
- Wireguard (vpn)
$ sudo pacman -S wireguard-dkms
$ pacman -S bind-tools (dig: Lookup Utility...)
$ pacman -S net-tools (ifconfig...)
- Remove bip system
https://wiki.archlinux.org/title/PC_speaker
# Blacklisting the pcspkr module will prevent udev from loading it at boot. Create the file:
$ sudo vim /etc/modprobe.d/nobeep.conf
blacklist pcspkr
- How to get your wifi #pwd
$ cat /etc/NetworkManager/system-connections/WIFI_NETWORK_NAME | grep psk=
> psk=MY_PWD