Updated: 7/29/2023
pacman -Syu _package_name1_ _package_name2_ ...
pacman -Rs _package_name_
pacman -Syu
Pacman can search for packages in the database, both in packages’ names and descriptions:
pacman -Ss _string1_ _string2_ ...
Normal visudo in Manjaro did work, so I had to do this:
sudo usermod -a -G wheel username
sudo chmod 0640 /etc/sudoers.d/10-installer
sudo nano /etc/sudoers.d/10-installer
Make it like this:
%wheel ALL=(ALL:ALL) NOPASSWD: ALL
#%wheel ALL=(ALL) ALL
1. I need to press a key at least 3 times to get all the way out of lock or sleep.
2. Screen brightness control is a bit clunky. Pressing the dimmer key sent the brightness immediately to 10%, I could then increase the brightness back up to 60%. The laptop does not seem to remember the setting between boots. I fixed this by adding this command to .profile: sudo light -S 60
3. Updating the kernel to 5.10.15-1-MANJARO helped with the brightness control.
https://wiki.manjaro.org/index.php?title=Pacman_Overview
# To update the package database and update all packages on the system
sudo pacman -Syu
# To force a full refresh of the package database and update all packages on the system. You must do this when switching branches or switching mirrors.
sudo pacman -Syyu
# Searching for Packages
To search the Manjaro repositories for available packages you can use the command pacman -Ss keyword. It will search both the package name and the description for the keyword. For example, to search for packages containing the keyword smplayer you could use:
pacman -Ss smplayer
# To install a software package, the basic syntax is pacman -S packagename. However, installing a package without updating the system will lead to a partial upgrade situation so all the examples here will use pacman -Syu packagename which will install the package and ensure the system is up to date. For example, to install smplayer the command is:
sudo pacman -Syu smplayer
#To remove a software package, the basic syntax is sudo pacman -R packagename. We could remove the smplayer package we installed above with:
sudo pacman -R smplayer