manjaro Manjaro

Overview

Manjaro Linux is a fast, user-friendly, desktop-oriented operating system based on Arch Linux.

screen

Package Manager

Pacman

Query Options (-Q)

-e, --explicit
-i, --info
-l, --list
-o, --owns <file>
-q, --quiet
-s, --search <regexp>

Sync Options (-S)

-c, --clean
-i, --info
-l, --list
-q, --quiet
-s, --search <regexp>
-u, --sysupgrade
-w, --downloadonly
-y, --refresh

Get informations.

# search pkg
pacman -Ss shellcheck
pacman -Qs shellcheck
# getting pkg info
pacman -Si shellcheck
pacman -Qi shellcheck
# listing pkg content
pacman -Ql shellcheck
# listing installed pkgs
pacman -Qe
pacman -Qe shellcheck

Install, remove, upgrade.

# installing
pacman -Syu shellcheck
# removing
pacman -Rsu keepass
# upgrading
pacman -Syu
# forcing repos refresh
pacman -Syyuu

Pamac

pamac --version
pamac --help, -h     [action]
pamac search         [options] <paquet(s)>
pamac list           [options] <paquet(s)>
pamac info           [options] <paquet(s)>
pamac install        [options] <paquet(s)>
pamac reinstall      [options] <paquet(s)>
pamac remove         [options] [paquet(s)]
pamac checkupdates   [options]
pamac update,upgrade [options]
pamac clone          [options] <paquet(s)>
pamac build          [options] [paquet(s)]
pamac clean          [options]

flatpak Flatpak

flatpak remotes
  Name    Options
  flathub system
flatpak search authenticator
flatpak install authenticator
flatpak list
flatpak run com.belmoussaoui.Authenticator

flatpak search otpclient
flatpak install otpclient
flatpak list --app
flatpak run com.github.paolostivanin.OTPClient

flatpak uninstall authenticator

Note

See OTPClient and his integration in Creating a Desktop Entry.

Libvirt

pacman -Syu virt-manager virt-viewer qemu iptables-nft
systemctl enable libvirtd.service
virsh version
virsh net-info default
virsh net-start default
virsh net-autostart default
VDIR=/var/lib/libvirt/images/
qemu-img create -f qcow2 ${VDIR}debian10.qcow2 20G
qemu-img info ${VDIR}debian10.qcow2
wget -P ${VDIR} \
https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-10.10.0-amd64-netinst.iso
virt-install --name debian10 \
--os-type linux \
--os-variant debian10 \
--ram 2048 \
--disk ${VDIR}debian10.qcow2,device=disk,bus=virtio,size=10,format=qcow2 \
--hvm \
--noautoconsole \
--cdrom ${VDIR}debian-10.10.0-amd64-netinst.iso \
--boot cdrom,hd
virt-viewer --connect qemu:///system --wait debian10
virsh autostart debian10
virsh dominfo debian10
virsh start debian10
virsh domifaddr debian10 | awk 'NR>2{print substr($4,0,15)}'