ArchBang Document

From ArchBang

Jump to: navigation, search
(Installation)
(Post Install)
Line 39: Line 39:
   sudo pacman -Syyu
   sudo pacman -Syyu
-
5) To get access to Aur packages that are not in main repos run the following:
+
5) To get access to Aur packages that are not in main repos use the following script:
-
   sudo /opt/archbang/packer_install
+
  #!/bin/bash
 +
  # simple packer install script
 +
  # based on code by oliver
 +
  # by Mr Green
 +
  # Beer license
 +
 
 +
  echo "Create a directory for build in /tmp"
 +
  echo "cd $(mktemp -d)"
 +
  cd $(mktemp -d)
 +
 
 +
  echo "Install required packages and git"
 +
  echo "pacman -S --needed base-devel git --noconfirm"
 +
   sudo pacman -S --needed base-devel git --noconfirm
 +
 
 +
  echo "Fetch PKGBUILD for packer from Aur"
 +
  echo "git clone https://aur.archlinux.org/packer.git"
 +
  git clone https://aur.archlinux.org/packer.git
 +
 
 +
  echo "Build and install packer"
 +
  echo "makepkg -is"
 +
  cd packer
 +
  makepkg -is
 +
 
 +
Save file as packer_install and then run
 +
 
 +
  chmod +x packer_install
 +
 
 +
Run using
 +
 
 +
  ./packer_install
====Video driver====
====Video driver====

Revision as of 06:02, 21 April 2016

Personal tools