Manjaro Difference between revisions of "Pacman Overview"

Difference between revisions of "Pacman Overview"

From Manjaro
imported>Verityproductions
imported>Verityproductions
Line 4: Line 4:




== Updating the System ==
= Updating the System =


{{tip| This should be the first thing you do after installing Manjaro!}}
{{tip| This should be the first thing you do after installing Manjaro!}}
Line 13: Line 13:




== Synchronising with the Manjaro Repositories ==
= Synchronising with the Manjaro Repositories =


Your Manjaro system has a database of all the software packages (e.g. system updates and applications) that are available from the official repositories. This is used to help pacman locate and download these packages for installation. When updating your system, its database will automatically be refreshed as well. However, using this command is more thorough, as rather than just refreshing or updating the database, it will actually rebuild it completely. To synchronise your database with the Manjaro repositories, enter the following command in the terminal:
Your Manjaro system has a database of all the software packages (e.g. system updates and applications) that are available from the official repositories. This is used to help pacman locate and download these packages for installation. When updating your system, its database will automatically be refreshed as well. However, using this command is more thorough, as rather than just refreshing or updating the database, it will actually rebuild it completely. To synchronise your database with the Manjaro repositories, enter the following command in the terminal:
Line 25: Line 25:




== Searching for Software Packages ==
= Searching for Software Packages =


It is also possible to use pacman to search Manjaro's software repositories for any desired software, provided you know the name of what you want. The ''sudo'' prefix is not required for this. To search for a software package in the Official Manjaro repositories, the basic syntax is:
It is also possible to use pacman to search Manjaro's software repositories for any desired software, provided you know the name of what you want. The ''sudo'' prefix is not required for this. To search for a software package in the Official Manjaro repositories, the basic syntax is:
Line 59: Line 59:




== Orphaned Software Packages ==
= Orphaned Software Packages =


To list all ''orphans'' - that is, installed packages that are not used by anything else and that consequently serve no purpose - enter the following command:
To list all ''orphans'' - that is, installed packages that are not used by anything else and that consequently serve no purpose - enter the following command:
Line 71: Line 71:




== Listing Information about Installed Packages ==
= Listing Information about Installed Packages =


To list all dependencies of a particular software package (i.e. other software that requires the specified software package in order to work), enter the following command:
To list all dependencies of a particular software package (i.e. other software that requires the specified software package in order to work), enter the following command:
Line 78: Line 78:




== Downloading and Installing Software Packages ==
= Downloading and Installing Software Packages =


Software packages may be downloaded and installed from a range of sources, and not just from the official Manjaro repositories. '''However, please note that where installing packages from unofficial sources, you so so entirely at your own risk!'''
Software packages may be downloaded and installed from a range of sources, and not just from the official Manjaro repositories. '''However, please note that where installing packages from unofficial sources, you so so entirely at your own risk!'''




===Packages from the Manjaro Repositories===
==Packages from the Manjaro Repositories==


To install a software package, the basic syntax is:
To install a software package, the basic syntax is:
Line 102: Line 102:




===Packages Located Locally or From the Internet===
==Packages Located Locally or From the Internet==


To install a package already downloaded onto your system (the file name should end in '''pkg.tar.xz'''), the basic syntax is:
To install a package already downloaded onto your system (the file name should end in '''pkg.tar.xz'''), the basic syntax is:
Line 119: Line 119:




== Removing Applications and Software Packages ==
= Removing Applications and Software Packages =


To remove a software package, the basic syntax is:
To remove a software package, the basic syntax is:
Cookies help us deliver our services. By using our services, you agree to our use of cookies.