paint-brush
An Introduction on Arch Linux Pacman for Beginners by@zt4ff
1,640 reads
1,640 reads

An Introduction on Arch Linux Pacman for Beginners

by Kayode OluwasegunApril 29th, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

This article is a beginner introduction to Arch Linux’s pacman. Package manager is one of the distinguishing features of Arch Linux. A package manager's goal is to make it possible to easily install, update and remove packages. The -S really means synchronise, so the command above to install a new package is also the same command to upgrade an already installed single package. You can read more about pacman from the [wiki] on the [wikileaks] page about how to use it.

Company Mentioned

Mention Thumbnail
featured image - An Introduction on Arch Linux Pacman for Beginners
Kayode Oluwasegun HackerNoon profile picture

Introduction

This article is a beginner’s introduction to Arch Linux’s pacman. So, it should not be treated as a comprehensive guide to pacman. You can find the comprehensive guide .


Arch Linux pacman (package manager) is one of the distinguishing features of Arch Linux. When we installed Arch for the first time, we probably had to install a package once, so we are familiar with commands looking like this:


$ sudo pacman -Sy git


A package manager's goal is to make it possible to easily install, update, and remove packages.


Without package managers, we would probably be fetching packages from different sources, verifying the digital certificates and checksums, and keeping track of dependencies manually.


There are many types of package managers for different Unix/Linux-based systems. Package managers also made their way into their Windows systems, for example, .

So what is a package anyway?

A package is an archive containing:
  • all of the (compiled) files of an application.
  • metadata about the application, such as application name, version, dependencies, etc.
  • installation files and directives for pacman.

Basic pacman commands

Installing a package


$ sudo pacman -S <package-name>


Note: The -S really means synchronise, so the command above to install a new package is also the same command to upgrade an already installed single package.

Removing a package, without removing its dependencies


$ sudo pacman -R <package-name>

Removing a package together with its dependencies


$ sudo pacman -Rs <package-name>

Updating all packages in the system


$ sudo pacman -Syu

Conclusion

I hope you find this article helpful as you progress in your Linux journey. You can read more about pacman from the . Please leave a like, comment, and share, and also you can consider too.
Also published .
바카라사이트 바카라사이트 온라인바카라