# Installation instructions MANJARO
latest version: March 2021
---
## Compilation of AUR repositories
```bash
sudo pacman -S base-devel
```
then run ```makepkg -si```
## Applications
---
### gitkraken
```bash
cd /home/marcnol/Downloads
wget https://release.gitkraken.com/linux/gitkraken-amd64.tar.gz
sudo tar -xvzf gitkraken-amd64.tar.gz
mv gitkraken /usr/local/
ln -s /usr/local/gitkraken/gitkraken /usr/local/bin/gitkraken
```
latest:
```
git clone https://aur.archlinux.org/gitkraken.git
makepkg -si
```
---
### typora binary
```bash
wget https://typora.io/linux/Typora-linux-x64.tar.gz
tar xzvf Typora-linux-x64.tar.gz
mv bin/Typora-linux-x64 /usr/local/
ln -s /usr/local/Typora-linux-x64/Typora /usr/local/bin/Typora
```
---
### anaconda
```bash
cd /home/marcnol/Downloads
wget https://repo.anaconda.com/archive/Anaconda3-2020.02-Linux-x86_64.sh
bash ~/Downloads/Anaconda3-2020.02-Linux-x86_64.sh
```
---
### tilix
```bash
pacman -S tilix
```
---
### insync 1
```bash
cd ~/Downloads
git clone https://aur.archlinux.org/insync.git
cd insync
makepkg -si
```
---
### insync2
```
sudo pacman -S base-devel
git clone https://aur.archlinux.org/insync.git insync_install
cd insync_install
makepkg -si
```
---
### dropbox
```
cd /home/marcnol/Downloads/
git clone https://aur.archlinux.org/dropbox.git
cd dropbox
wget https://linux.dropbox.com/fedora/rpm-public-key.asc
gpg --import rpm-public-key.asc
makepkg -si
make -rf ~/.dropbox-dist % # does not seem to do anything...!
install -dm0 ~/.dropbox-dist
```
---
### docker
#### install
```
# install using pacman
pacman -S docker
# start service and enable to run after reboot
sudo systemctl start docker.service
sudo systemctl enable docker.service
# verify version
sudo docker version
```
# installed through the apps center GUI
- inkscape
- nextcloud
- pandoc
- Element
- tor browser
## Nextcloud configuration
install nextcloud client
Open and select <Log in>
then put address:
```
https://mycore.core-cloud.net/
```
use username and passwd.
Make sure you use your 'local' owncloud password. To make: https://sos.labri.fr/ressource/public/mycore/myCoRe_Premiers_pas.pdf
## fortune
```
git clone https://aur.archlinux.org/fortune-mod-archlinux.git
cd into directory and do
makepkg -si
Finally put this command in your ~.bashrc
$ fortune -a | fmt -80 -s | $(shuf -n 1 -e cowsay cowthink) -$(shuf -n 1 -e b d g p s t w y) -f $(shuf -n 1 -e $(cowsay -l | tail -n +2)) -n
```
## imageJ
```
git clone https://aur.archlinux.org/imagej.git
cd imagej
makepkg -si
```
## pdftk for merging PDF files
```
pacman -S pdftk
```
## Configuration
### openvpn
```
cd /home/marcnol/Downloads/
git clone https://github.com/jonathanio/update-systemd-resolved.git
cd /home/marcnol/Downloads/update-systemd-resolved
pacman -S make
make
systemctl enable systemd-resolved.service
```
then edit Linux_client.conf to replace
```
up /etc/openvpn/update-resolv-conf
down /etc/openvpn/update-resolv-conf
```
by
```
up /etc/openvpn/scripts/update-systemd-resolved
down /etc/openvpn/scripts/update-systemd-resolved
```
the you can run script as usual:
```
openvpn --config Linux_client.conf
```
## installing iphone
```
pacman -Syyuu libimobiledevice
```
if the device does not pair, run:
```
idevicepair pair
```
### rsnapshot using rsync
Full Instructions: https://wiki.archlinux.org/index.php/Rsync#As_a_backup_utility
**Backup script**
Create the file /etc/cron.daily/backup with:
```
$ nano /etc/cron.daily/backup
```
```
#!/bin/bash
rsync -aAXHv --delete --info=progress2 --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} / /mnt/disk2/system-backup
```
Change permissions
```
chmod +x /etc/cron.daily/backup
```
**Cronjob**
add the following line to crontab using $ crontab -e
```
00 00 * * * /etc/cron.daily/backup
```
run for the first time doing:
```
/etc/cron.daily/backup
```
**Restoring**
If you wish to restore a backup, use the same rsync command that was executed but with the source and destination reversed.
---
# Solve gnome terminal not working after update
Run
```
sudo gedit /etc/locale.gen
```
and uncomment the following line (or the line corresponding to the language you selected):
```
en_US.UTF-8 UTF-8
```
The run:
```
sudo locale-gen
```
**Note:** if the line corresponding to your language was uncommented, run the second command anyway.
---
## UPDATE Notices
31 Aug 2020
==> Warning:
-> Kernel has been updated. Modules of the current kernel
-> have been backed up so you can continue to use your
-> computer. However, the new kernel will only work
-> at next boot.
(28/34) Install Manjaro extensions settings
(29/34) Collection of usefull scripts for Manjaro Gnome
==> Printing support installed
==> We have switched into qgnomeplatform instead qt5ct so now
-> qt5ct
-> qt5-styleplugins
are marked as orphans. If you want you can continue to use this two packages but
if you want use qgnomeplatform engine you need to modify your /etc/environment
with this changes:
remove or comment this:
-> QT_QPA_PLATFORMTHEME=qt5ct
add:
-> QT_AUTO_SCREEN_SCALE_FACTOR=1
-> QT_QPA_PLATFORMTHEME=gnome
-> QT_STYLE_OVERRIDE=kvantum
This is all