<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>pacman Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/pacman/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Sat, 08 Dec 2018 08:56:11 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>Pacman – The Arch Package Manager</title>
		<link>https://www.osradar.com/pacman-the-arch-package-manager/</link>
					<comments>https://www.osradar.com/pacman-the-arch-package-manager/#respond</comments>
		
		<dc:creator><![CDATA[osradar_editor]]></dc:creator>
		<pubDate>Sat, 08 Dec 2018 08:56:11 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[arch package manager]]></category>
		<category><![CDATA[pacman]]></category>
		<category><![CDATA[pacman arch linux]]></category>
		<category><![CDATA[pacman tutorial]]></category>
		<category><![CDATA[pacman usage]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=8128</guid>

					<description><![CDATA[<p>In the case of Arch Linux and all the other Arch-based Linux distros, “pacman” is the default package manager. It’s a pretty convenient and powerful as a package manager. Pacman is one of the major distinguishing features of the Arch Linux. Today, we’ll be focusing on some of the really important parts of pacman that [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/pacman-the-arch-package-manager/">Pacman – The Arch Package Manager</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In the case of Arch Linux and all the other Arch-based Linux distros, “pacman” is the default package manager. It’s a pretty convenient and powerful as a package manager. Pacman is one of the major distinguishing features of the Arch Linux.</p>
<p>Today, we’ll be focusing on some of the really important parts of pacman that every Arch user must know.</p>
<h1>Pacman usage</h1>
<ul>
<li>
<h3>Server location</h3>
</li>
</ul>
<p>At first, when you install Arch Linux or any other Arch-based distro, you have to make sure that your “pacman” is configured to connect to the nearest update server. This will ensure the fastest software download speed and better overall experience.</p>
<pre class="">sudo pacman-mirros --country &lt;country_name&gt;</pre>
<p><img loading="lazy" class="size-full wp-image-8129 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/12/pac1.png" alt="" width="1105" height="293" srcset="https://www.osradar.com/wp-content/uploads/2018/12/pac1.png 1105w, https://www.osradar.com/wp-content/uploads/2018/12/pac1-300x80.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/pac1-768x204.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/pac1-1024x272.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/pac1-1068x283.png 1068w" sizes="(max-width: 1105px) 100vw, 1105px" /></p>
<p>Not sure about the fastest server near your location? Then run the following commands for identifying the top 10 fastest Arch mirror from your current location –</p>
<pre class="">sudo pacman-mirrors -c all

sudo pacman-mirrors --fasttrack 10 &amp;&amp; sudo pacman -Syyu</pre>
<p><img loading="lazy" class="size-full wp-image-8130 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/12/pac2.png" alt="" width="1108" height="559" srcset="https://www.osradar.com/wp-content/uploads/2018/12/pac2.png 1108w, https://www.osradar.com/wp-content/uploads/2018/12/pac2-300x151.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/pac2-768x387.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/pac2-1024x517.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/pac2-1068x539.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/pac2-832x420.png 832w" sizes="(max-width: 1108px) 100vw, 1108px" /> <img loading="lazy" class="size-full wp-image-8131 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/12/pac3.png" alt="" width="1103" height="557" srcset="https://www.osradar.com/wp-content/uploads/2018/12/pac3.png 1103w, https://www.osradar.com/wp-content/uploads/2018/12/pac3-300x151.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/pac3-768x388.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/pac3-1024x517.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/pac3-1068x539.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/pac3-832x420.png 832w" sizes="(max-width: 1103px) 100vw, 1103px" /></p>
<p>This command will force Pacman-mirrors to download the available mirror service list. The list will be sorted out based on their response times and will be included into your mirror list.</p>
<p>For the full control over the choosing process, run the following command –</p>
<pre class="">sudo pacman-mirrors --interactive &amp;&amp; sudo pacman -Syyu</pre>
<p><img loading="lazy" class="size-full wp-image-8132 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/12/pac4.png" alt="" width="1110" height="561" srcset="https://www.osradar.com/wp-content/uploads/2018/12/pac4.png 1110w, https://www.osradar.com/wp-content/uploads/2018/12/pac4-300x152.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/pac4-768x388.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/pac4-1024x518.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/pac4-1068x540.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/pac4-831x420.png 831w" sizes="(max-width: 1110px) 100vw, 1110px" /></p>
<p><img loading="lazy" class="size-full wp-image-8133 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/12/pac5.png" alt="" width="1103" height="560" srcset="https://www.osradar.com/wp-content/uploads/2018/12/pac5.png 1103w, https://www.osradar.com/wp-content/uploads/2018/12/pac5-300x152.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/pac5-768x390.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/pac5-1024x520.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/pac5-1068x542.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/pac5-827x420.png 827w" sizes="(max-width: 1103px) 100vw, 1103px" /></p>
<p>This will let you interact with the mirror choosing options and you can manually select the best server of your choice.</p>
<ul>
<li>
<h3>Updating your system</h3>
</li>
</ul>
<p>Run the following command –</p>
<pre class="">sudo pacman -Syuu</pre>
<p><img loading="lazy" class="size-full wp-image-8134 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/12/pac6.png" alt="" width="1133" height="246" srcset="https://www.osradar.com/wp-content/uploads/2018/12/pac6.png 1133w, https://www.osradar.com/wp-content/uploads/2018/12/pac6-300x65.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/pac6-768x167.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/pac6-1024x222.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/pac6-1068x232.png 1068w" sizes="(max-width: 1133px) 100vw, 1133px" /></p>
<p>This command will sync with your update server, determine all the available updates and will install them accordingly</p>
<p>Are you just interested in checking for available updates? Then use the following command –</p>
<pre class="">sudo pacman -Syu</pre>
<p>&nbsp;</p>
<p><img loading="lazy" class="size-full wp-image-8135 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/12/pac7.png" alt="" width="1127" height="240" srcset="https://www.osradar.com/wp-content/uploads/2018/12/pac7.png 1127w, https://www.osradar.com/wp-content/uploads/2018/12/pac7-300x64.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/pac7-768x164.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/pac7-1024x218.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/pac7-1068x227.png 1068w" sizes="(max-width: 1127px) 100vw, 1127px" /></p>
<p>For fore updating local pacman database, run the following command –</p>
<pre class="">sudo pacman -Syy</pre>
<p><img loading="lazy" class="size-full wp-image-8136 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/12/pac8.png" alt="" width="1130" height="201" srcset="https://www.osradar.com/wp-content/uploads/2018/12/pac8.png 1130w, https://www.osradar.com/wp-content/uploads/2018/12/pac8-300x53.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/pac8-768x137.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/pac8-1024x182.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/pac8-1068x190.png 1068w" sizes="(max-width: 1130px) 100vw, 1130px" /></p>
<ul>
<li>
<h3>Installing/uninstalling a package</h3>
</li>
</ul>
<p>For installing a package on Arch and Arch-based system, use the following command structure –</p>
<pre class="">sudo pacman -S &lt;package_name&gt;</pre>
<p><img loading="lazy" class="size-full wp-image-8137 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/12/pac9.png" alt="" width="1122" height="474" srcset="https://www.osradar.com/wp-content/uploads/2018/12/pac9.png 1122w, https://www.osradar.com/wp-content/uploads/2018/12/pac9-300x127.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/pac9-768x324.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/pac9-1024x433.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/pac9-1068x451.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/pac9-994x420.png 994w" sizes="(max-width: 1122px) 100vw, 1122px" /></p>
<p>Need to uninstall an unwanted package? Then you have to use the “-R” flag.</p>
<pre class="">sudo pacman -R &lt;package_name&gt;</pre>
<p><img loading="lazy" class="size-full wp-image-8138 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/12/pac10.png" alt="" width="1121" height="330" srcset="https://www.osradar.com/wp-content/uploads/2018/12/pac10.png 1121w, https://www.osradar.com/wp-content/uploads/2018/12/pac10-300x88.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/pac10-768x226.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/pac10-1024x301.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/pac10-1068x314.png 1068w" sizes="(max-width: 1121px) 100vw, 1121px" /></p>
<p><a href="https://www.osradar.com/sysget-the-ultimate-package-manager-frontend/">There’s another very easy solution – Sysget. It’s a very powerful frontend for your system’s package manager that allows easier interaction with you and the package manager. Get Sysget.</a></p>
<ul>
<li>
<h3>Search for a package</h3>
</li>
</ul>
<p>You may know the name of a software but for installing it, you need to know the exact package name. Don’t worry; pacman allows you to search for any package name.</p>
<p>You have to use the following command structure –</p>
<pre class="">pacman -Ss &lt;package_name&gt;</pre>
<p><img loading="lazy" class="size-full wp-image-8139 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/12/pac11.png" alt="" width="1123" height="180" srcset="https://www.osradar.com/wp-content/uploads/2018/12/pac11.png 1123w, https://www.osradar.com/wp-content/uploads/2018/12/pac11-300x48.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/pac11-768x123.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/pac11-1024x164.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/pac11-1068x171.png 1068w" sizes="(max-width: 1123px) 100vw, 1123px" /></p>
<p>There’s another useful utility that ships with pacman – pacsearch. This tool is more convenient for such searches. THe usage follows the following structure –</p>
<pre class="">pacsearch &lt;package_name&gt;</pre>
<p><img loading="lazy" class="size-full wp-image-8140 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/12/pac12.png" alt="" width="1102" height="559" srcset="https://www.osradar.com/wp-content/uploads/2018/12/pac12.png 1102w, https://www.osradar.com/wp-content/uploads/2018/12/pac12-300x152.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/pac12-768x390.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/pac12-1024x519.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/pac12-1068x542.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/pac12-828x420.png 828w" sizes="(max-width: 1102px) 100vw, 1102px" /></p>
<p>If you search for “ack”, this can include a number of results – playb<strong>ack</strong>, h<strong>ack</strong>, p<strong>ack</strong>age or others. If you want to make sure that the first name always starts with “ack”, you have to use the following command structure –</p>
<pre class="">pacsearch ^ack</pre>
<ul>
<li>
<h3>Package info</h3>
</li>
</ul>
<p>If you’re interested in the specs of a particular package, you can use the “-Qi” flag for pacman –</p>
<pre class="">pacman -Qi snapd</pre>
<p><img loading="lazy" class="size-full wp-image-8141 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/12/pac13.png" alt="" width="1085" height="478" srcset="https://www.osradar.com/wp-content/uploads/2018/12/pac13.png 1085w, https://www.osradar.com/wp-content/uploads/2018/12/pac13-300x132.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/pac13-768x338.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/pac13-1024x451.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/pac13-1068x471.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/pac13-953x420.png 953w" sizes="(max-width: 1085px) 100vw, 1085px" /></p>
<p>Enjoy!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/pacman-the-arch-package-manager/">Pacman – The Arch Package Manager</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/pacman-the-arch-package-manager/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
