Archive for the ‘Update’ tag
Apply a system update on Arch Linux
To initiate an update of all installed packages, open any terminal application and pass the following command:
sudo pacman -Syu
You will be prompted for your password before the command can continue. This command checks for updates. If there are any, it will list the packages, along with their new version numbers.
log in to “sudo pacman -Syu” in a terminal
You will then be asked to confirm that you want to apply a full update. Boy y and press Enter to confirm, or use n cancel.
Type y and press Enter to confirm the update
If you have packages that you suspect are corrupted, you can force the database download with the update to fix these issues. Even if no updates are available, pacman will check the integrity of currently installed packages. Add a second y to the string to make it happen.
sudo pacman -Syyu
How to update a specific package in Arch
If you want to update only a package use the same command as you have to install it, replacing package_name with your choice.
sudo pacman -S package_nam
Warning: It is not recommended to upgrade to specific packages often ignoring other available updates.
Due to Arch’s current release process, shortcut updates may cause issues.
If you are unsure of a package name, you can search for installed packages with the -Qs flag.
pacman -Qs string
Be sure to replace the string with your term
This will search for both names and package names, so you should easily find what you’re looking for.