Add install command for dictionary
- Author
- Maarten Vangeneugden
- Date
- Oct. 16, 2020, 3:02 p.m.
- Hash
- 1493641f19a88c47a9924a866bc6a862e4881b88
- Parent
- 273b9ccf198214b75af13e0cc2767f91404303da
- Modified file
- install.sh
install.sh ¶
4 additions and 0 deletions.
View changes Hide changes
1 |
1 |
# particulary Arch, because that's the best GNU/Linux distro =P |
2 |
2 |
|
3 |
3 |
# The next command will install the software that I'm bound to use on my PC. |
4 |
4 |
sudo pacman -S --noconfirm neovim base-devel mpv openssh emacs |
5 |
5 |
echo "Don't forget to install the keys for SSH!\n" |
6 |
6 |
|
7 |
7 |
# Installing shell data: |
8 |
8 |
sudo pacman -S --noconfirm zsh zsh-completions zsh-grml-config |
9 |
9 |
|
10 |
10 |
# Installing the Noto fonts: |
11 |
11 |
sudo pacman -S --noconfirm noto-fonts noto-fonts-emoji |
12 |
12 |
|
13 |
13 |
|
14 |
14 |
##### SYSTEM MAITENANCE ##### |
15 |
15 |
# All tools that help with visualizing system parameters and associated other |
16 |
16 |
# interesting stuff. |
17 |
17 |
|
18 |
18 |
# iotop is useful for sorting programs by the amount of disk writes, so you can |
19 |
19 |
# see what programs would benefit from tmpfs. Plus: It can prolong the lifespan |
20 |
20 |
# of SSDs. |
21 |
21 |
sudo pacman -S --noconfirm iotop |
22 |
22 |
|
23 |
23 |
|
24 |
24 |
|
25 |
25 |
##### FIREFOX ##### |
26 |
26 |
# This browser is such a big chunk that it requires its own special treatment. |
27 |
27 |
# Installs the browser itself: |
28 |
28 |
sudo pacman -S --noconfirm firefox-developer-edition |
29 |
29 |
|
30 |
30 |
# This is a script that puts the Firefox profile stuff in tmpfs, which is RAM, |
31 |
31 |
# providing a significant speedup and reduces disk writes. |
32 |
32 |
# Do note that this is for single profile systems only! |
33 |
33 |
pacaur -S --noconfirm firefox-sync |
34 |
34 |
|
35 |
35 |
# Uncomment next line for Dutch firefox translations, if desired. |
36 |
36 |
#sudo pacman -S --noconfirm firefox-i18n-nl |
37 |
37 |
|
38 |
38 |
|
39 |
39 |
##### GPS/OPENSTREETMAP ##### |
40 |
40 |
echo "Installing an offline OpenStreetMap and GPS system is too complex to do |
41 |
41 |
with a script. Please consult https://wiki.archlinux.org/index.php/GpsDrive for |
42 |
42 |
information if you wish to do so.\n" |
43 |
43 |
|
44 |
44 |
# Sound handling (Don't forget to unmute using alsamixer!) |
45 |
45 |
sudo pacman -S --noconfirm alsa-utils pulseaudio pulseaudio-jack pulseaudio-bluetooth |
46 |
46 |
echo "It's possible that the sound is muted. Unmute using Alsamixer.\n" |
47 |
47 |
|
48 |
48 |
# To easily make use of the AUR, I'll first install Pacaur, which needs some |
49 |
49 |
# special treatment up front: |
50 |
50 |
cd ~/Downloads |
51 |
51 |
wget https://aur.archlinux.org/cgit/aur.git/snapshot/pacaur.tar.gz |
52 |
52 |
tar -x -f pacaur.tar.gz |
53 |
53 |
cd pacaur |
54 |
54 |
makepkg -sri --noconfirm |
55 |
55 |
cd .. |
56 |
56 |
rm -r pacaur |
57 |
57 |
cd ~ |
58 |
58 |
|
59 |
59 |
# Making a directory in which to store all repositories. It's basically a |
60 |
60 |
# repository for repositories =3 |
61 |
61 |
mkdir Repositories |
62 |
62 |
|
63 |
63 |
# Making some common aliases for some pieces of software |
64 |
64 |
alias vi nvim |
65 |
65 |
alias vim nvim |
66 |
66 |
|
67 |
67 |
# Some Python dependencies that need to be installed |
68 |
68 |
pip install paramiko |
69 |
69 |
|
70 |
70 |
# Collecting software from the AUR: |
71 |
71 |
#pacaur -S vim-youcompleteme-git |
72 |
72 |
pacaur -S --noconfirm clojure leiningen # Clojure's 'project manager' thingy + Clojure |
73 |
73 |
# Next line installs all required software for the desktop environment. |
74 |
74 |
pacaur -S i3-gaps feh rofi compton i3lock-wrapper |
75 |
75 |
# Installing Polybar and i3ipc-glib-git because the first one is awesome, the |
76 |
76 |
# second one (allegedly) necessary for i3 interaction for Polybar: |
77 |
77 |
#pacaur -S --noconfirm polybar i3ipc-glib-git # Disabled because I'm back to i3status |
78 |
78 |
# i3blocks optional dependencies: |
79 |
79 |
pacaur -S acpi bc lm_sensors playerctl sysstat |
80 |
80 |
# A terminal emulator: |
81 |
81 |
pacaur -S --noconfirm rxvt-unicode |
82 |
82 |
# Also, DO NOT use Termite. It's an awful thing to work with NeoVim, and slows |
83 |
83 |
# down to a fucking tortoise speed. |
84 |
84 |
|
85 |
85 |
# Now, assuming I'm using the my standard setup for Yabar, I need the JSON |
86 |
86 |
# parser to correctly output my workspace name: |
87 |
87 |
pacaur -S --noconfirm jq |
88 |
88 |
|
89 |
89 |
# Uncomment when there is a driver for the Validity VFS495 138a:003f figerprint |
90 |
90 |
# reader, and still working on that gorgeous laptop: |
91 |
91 |
#pacaur -S --noconfirm fprintd |
92 |
92 |
|
93 |
93 |
pacaur -S --noconfirm rsync # Used for backing up data that can't be done properly with Git |
94 |
94 |
pacaur -S --noconfirm neomutt urlview # Least sucky mail client |
95 |
95 |
|
96 |
96 |
# Installing CRON job services |
97 |
97 |
pacaur -S --noconfirm cronie |
98 |
98 |
# TODO Add a line that makes a symbolic link to my custom Cron file |
99 |
99 |
sudo systemctl enable cronie.service |
100 |
100 |
|
101 |
101 |
pacaur -S --noconfirm irssi # IRC client |
102 |
102 |
pacaur -S --noconfirm ranger w3m # File manager. w3m for image previews |
103 |
103 |
# TODO link ranger/rc.conf and scope.sh symbolically to .config/ranger |
104 |
104 |
|
105 |
105 |
# Fonts |
106 |
106 |
# Now I don't like Ubuntu, but their fonts are amazing. |
107 |
107 |
pacaur -S --noconfirm ttf-ubuntu-font-family ttf-hack ttf-fira-code |
108 |
108 |
|
109 |
109 |
# MPV is used for playing videos, and is required when using the 'Watch with |
110 |
110 |
# MPV' plugin for Firefox. It's way more lightweight, and I don't get why both |
111 |
111 |
# Chrome and Firefox don't do this automatically, and default to software |
112 |
112 |
# decoding instead on the hardware GPU. |
113 |
113 |
pacaur -S --noconfirm mpv youtube-dl-git |
114 |
114 |
|
115 |
115 |
##### PERFORMANCE ##### |
+ |
116 |
# in handy during translating. |
+ |
117 |
pacaur -S --noconfirm dictd goldendict |
+ |
118 |
|
+ |
119 |
##### PERFORMANCE ##### |
116 |
120 |
# This is mostly stuff about activating performance enhancing options. |
117 |
121 |
|
118 |
122 |
# These lines will tell makepkg to |
119 |
123 |
# 1. Use all available cores for compiling (if possible) |
120 |
124 |
# 2. Move the build process to the /tmp folder, which is on tmpfs --> RAM, |
121 |
125 |
# which can speed up build times |
122 |
126 |
sudo echo 'MAKEFLAGS="-j$(nproc)"' >> /etc/makepkg.conf |
123 |
127 |
sudo echo 'BUILDDIR=/tmp/makepkg' >> /etc/makepkg.conf |
124 |
128 |