sh 在我的Raspberry 2/3上设置ArchLinux ARM

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh 在我的Raspberry 2/3上设置ArchLinux ARM相关的知识,希望对你有一定的参考价值。

#! /bin/sh
# Simple script to store all the necessary steps to setup my ArchLinux ARM on my raspberry 2

#-Get The image at https://archlinuxarm.org/platforms/armv7/broadcom/raspberry-pi-2
#-Burn It to the SD card
#-A good site that store all the tips is http://archpi.dabase.com

#-Making a general update of the system---
pacman -Syu

#-Installing necessary stuff 
pacman -S sudo htop git pkgfile base-devel

#-Adding alarm to the sudoers users (https://stackoverflow.com/questions/12736351/exit-save-edit-to-sudoers-file-putty-ssh)

#-Building yaourt (https://archlinux.fr/yaourt-en) AS standard user (not root)
git clone https://aur.archlinux.org/package-query.git
cd package-query
makepkg -si
cd ..
git clone https://aur.archlinux.org/yaourt.git
cd yaourt
makepkg -si
cd ..

以上是关于sh 在我的Raspberry 2/3上设置ArchLinux ARM的主要内容,如果未能解决你的问题,请参考以下文章