Basic Arch Linux Tutorial
Basic Arch Linux Tutorial
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
1. ====
4.
5. ## There will be a list of commands that you will be using a lot at the end of this, as well as a briefing on some of the software
6.
7.
8. $wifi-menu
9. # UI to connect to wifi
10.
13.
14. $lsblk
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
15. # list storage devices
16.
19. INSTRUCTIONS: Delete partitions, create a primary root partition first, then use remaining space to create a swap partition. Flag
23.
27.
30.
33.
34. $ genfstab -U -p /mnt >> /mnt/etc/fstab
36.
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
42. INSTRUCTIONS: Uncomment any languages you want to use by deleting the '#' sign. In my case," en_US.UTF-8". Nano uses the shortcut
CTRL+X to exit, y to save during exit, and enter to confirm the filename.
43.
44. $ locale-gen
45. # generate locale file
46.
47. $ echo LANG=en_US.UTF-8 > /etc/locale.conf
51. $ ls /usr/share/zoneinfo/
52. $ ls /usr/share/zoneinfo/
61.
62. $ nano /etc/pacman.conf
63. # opens pacman package manager's list of software repositories
64. INSTRUCTIONS, uncomment the [multilib] repository, add the following repository in consistent format:
65. [archlinuxfr]
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
69. $ pacman -Sy
75. $ passwd
76. # changes your root password
77.
80.
81. $ passwd your-user-name
82. # edits the user's password
83.
84. $ pacman -S sudo
85. # installs the ability to get superuser privileges via the sudo command
86.
87. $ EDITOR=nano visudo
90.
91. $ pacman -S grub
92. $ grub-install --target=i386-pc --recheck /dev/sda
93. # downloads grub bootloader, installs grub to the selected hard drive
94.
95. $ pacman -S os-prober
96. # package that has grub check for other oses, recommended.
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
97.
100.
101. $ ip link
102. $ systemctl enable dhcpcd@NAME-OF-THE-ETHERNET-NETWORK.service
103. #lists network adapters (e.g. 'eno1', 'lo'), enables network service (the intranetz) on said adapter
104.
105. $ pacman -Syu
107.
108.
109. ## It is at this point in the tutorial that you have a working, barebones installation of Arch. However, you do NOT currently have
any shred of a GUI. To end the installation here (you can do what you want any time), exit the chroot ($exit), unmount your root
111. ====
114.
117.
119. # basic graphical drivers, choose option 1 for ATI/AMD and option 2 for nVidia.
120.
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
123.
124. [OPTION 1]
125. $ pacman -S xf86-video-ati
126. # installs open source AMD drivers, not recommended for gaming
127.
128. [OPTION 2]
129. $ pacman -S xf86-video-intel
131.
132. $ pacman -S lightdm lightdm-gtk-greeter
133. # lightdm is a display manager, basically a launcher that allows you to login and choose your distro
136. $ pacman -S a52dec faac faad2 flac jasper lame libdca libdv libmad libmpeg2 libtheora libvorbis libxv wavpack x264 xvidcore
gstreamer0.10-plugins
137. # installs media codecs which you will most likely require for daily use
138.
139.
140. ## Now you have a working Arch install, entirely ready to accept the desktop environment or window manager (advanced) of your choice!
You can end the install here and $reboot (after leaving chroot and unmounting) if you think you're ready to go out on your own. If
you do, be sure to enable your new display manager with "$systemctl enable lightdm.service" so that you can see it when you reboot!
142. ====
144. ====
145.
146. Possibly the simplest step of all, usually done by "$sudo pacman -S desktop-environment"
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
147.
149.
150. Just install one you like with "$pacman -S" and select it from the display manager when you boot up!
151.
152. You may want to install a graphical network manager if you need to do any configuring, otherwise dhcpcd will work just fine!
153.
158.
159. ====
160. STEP IV: Installing Software
161. ====
162.
163. ## Note that this section is *entirely* based on my opinions, and installs what I believe to be a good set of software to get
started.
164.
165. $ sudo pacman -S deluge chromium iceweasel terminator gvim gimp vlc brasero
166. # installs a basic set of software for daily use
167. # iceweasel and chromium are both browsers, Firefox and Chrome respectively, and thus you only really need one -- you can still
169. ## Other pacman packages you may want are skype, libreoffice, and steam.
170.
171.
172.
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
173. ========
174. Installing Software, Basic Maintenance, Conclusion
175. ========
176.
177. [YAOURT AND THE AUR]
178.
179. ## Yaourt may be the most powerful program on Arch. It allows you to install packages from the Arch User Repository: a community
maintained database of software designed/repackaged specifically for use with Arch Linux. Yaourt allows you to quickly and easily
180.
181. $ yaourt package-name
182. # searches for an AUR package, such as Chrome or Teamviewer, installing is self-explanatory
183.
186.
189. [PACMAN]
190.
191. ## Pacman manages and installs software (and your OS!) from the official open source Arch repositories, as well as any custom
192.
195.
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
198.
207.
208. [ROOT]
209.
210. $ su
211. # enables root permissions for a given console session
212.
216. [BASIC]
217.
218. $ sudo nano /directory/file/
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
226.
229. noob2noobarchhelp@gmail.com
230. # :)
====
Part I: A Barebones Install, Serving a Whole System
====
## There will be a list of commands that you will be using a lot at the end of this, as well as a briefing on some of the
software you will likely be using.
$wifi-menu
create new paste / dealsnew! / syntax languages / archive / faq / tools / night mode / api / scraping api
privacy statement / cookies policy / terms of service / security disclosure / dmca / contact
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD