website

This is my amazing website!
git clone git://shipwreckt.co.uk/website
Log | Files | Refs | README | LICENSE

01SpeedingUpArchLinux.html (3125B)


      1 <!DOCTYPE html>
      2 <html lang="en-GB">
      3   <head>
      4     <meta charset="UTF-8">
      5     <meta name="author" content="Shipwreckt">
      6     <meta name="viewport" content="width=device-width, initial-scale=1.0">
      7     <title>Speeding up Pacman 🚗</title>
      8     <link rel="stylesheet" href="../../../styles.css">
      9     <link rel="icon" href="../../../Images/favi.png" type="image/x-icon">
     10   </head>
     11   <body>
     12     <header>
     13       <nav>
     14         <ul>
     15           <li><a href="../../../index.html">Home</a></li>
     16           <li><a href="../../../links.html">Links</a></li>
     17           <li><a href="../../../projects.html">Projects</a></li>
     18           <li><a href="../../../contact.html">Contact</a></li>
     19         </ul>
     20       </nav>
     21     </header>
     22     <main>
     23       <h1>How to speed up Pacman 🚗</h1>
     24       <h3>Date: 23-7-2024</h3>
     25       <hr>
     26       <p>It is very easy to speed up Pacman, and we can do it in a few easy steps, so follow this guide, and your favourite package manager will be fast as anything!</p>
     27       <hr>
     28       <h2>Pacman.conf</h2>
     29       <p>Pacman can download packages in parallel, meaning you are able to download more than one package at a time, which makes the process of installing and updating packages way faster!</p>
     30 
     31       <p>The first thing you want to do is go to the location of pacman.conf, which is located in <b>/etc/pacman.conf</b>. So you would want to run a command like this but with your preferred text editor:</p>
     32       <div class=code-box>
     33         <p>sudo nvim /etc/pacman.conf</p>
     34       </div>
     35       <p>Now that you are in the configuration file, you want to navigate to a section where it says <b>Misc options</b>. You want to uncomment the line where it says <b>'ParallelDownloads.'</b> It should look something like this:</p>
     36       <div class=code-box>
     37         <p># Misc options<br>
     38         #UseSyslog<br>
     39         Color<br>
     40         #NoProgressBar<br>
     41         CheckSpace<br>
     42         #VerbosePkgLists<br>
     43         ParallelDownloads = 5<br>
     44         ILoveCandy</p>
     45       </div>
     46       <p>If you have a keen eye, you may have spotted the last line, which says 'I Love Candy,' and the reason why this line is here is because it gives the Pacman prompt when you run it a bit of styal with the pound signs being replaced with Pacman!</p>
     47       <hr>
     48       <h2>Mirrors 🪞</h2>
     49       <p>If you did not know, a mirror is a server where the packages you install are hosted. Ideally, you want to download all of your packages from the fastest mirrors, so let me show you how to do that!</p>
     50       <p>The first thing you will need to do is install the reflector program and run the reflector command.</p>
     51       <div class=code-box>
     52         <p>sudo pacman -S reflector<br> sudo reflector --latest 10 --sort rate --save /etc/pacman.d/mirrorlist<br>sudo pacman -Syy # To update package list from server</p>
     53       </div>
     54       <p>After running this command, your download speed should be way faster!</p>
     55       <hr>
     56       <center>
     57         <p>I hope this has helped you in making Pacman not only look better but function better!</p>
     58         <pre text-align=center>  <a href="../../linuxlist.html">Back 🚪</a>
     59     </main>
     60 </body>
     61 </html>
     62