#### Update & Upgrade
```shell
$ sudo pacman -Syu
```
- **-S flag is used to install a single package or a list of packages**
- **y option refreshes the list of all Arch Linux packages**
- **u option upgrades all packages that are out of date**
#### Installing Git
```shell
sudo pacman -S git
```
#### Installing Go
```go
sudo pacman -S go
go version
go version go1.20.5 linux/amd64
```
### Pacaur (Arch User Repository)
Pacaur is an Arch User Repository (AUR) **helper** aiming at speed and simplicity and is designed to minimize user prompt interaction.
Uses **full secured RPC interface** to solve the dependency tree.
automatically prompt for sudo access when needed. It is built upon the well designed auracle C++ and expac C backends.
Pacaur is targeted at advanced users who want some degree of automation for repetitive tasks. As such, the user is expected to be familiar with the AUR manual **build process with makepkg** and its configuration options, as well as being knowledgeable about **sudo and gpg configuration.**
Two sets of command line options are provided: commands which call the pacman binary and extend it with AUR functions **(-S, -Ss, -Si, -Sw, -Su, -Qu, -Sc, -Scc), and -a/–aur** can be added to only apply these to the AUR.
### Activate Network(wifið0) in VBox
```shell=
systemctl start NetworkManager
systemctl enable NetworkManager
systemctl status NetworkManager
```
#### enp0s3 = The network interface name as a string.
**“en” stands for ethernet, “p0” is the bus number of the ethernet card, and “s3” is the slot number**
#### eth1 is the onboard Ethernet (wired) adapter on your Linux machine.
#### eno1 is your embedded NIC (onboard Network Interface Card)
--> related /etc/default/grub
- Asus VivoBook device :
Wifi 5 (802.11ac)
Network band 5GHz
Kernel driver in use: ahci
### Check the driver status
To check if the driver for your card has been loaded :
Check the output of the **lspci -k** or **lsusb -v** command,
Depending on if the card is connected by **PCI(e) or USB**.
You should see that some kernel driver is in use, for example:
```shell
$ lspci -k
VGA compatible controller: VMware SVGA II Adapter
Subsystem: VMware SVGA II Adapter
(...)
Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio Controller (rev 01)
Subsystem: Dell 82801AA AC'97 Audio Controller
Kernel driver in use: snd_intel8x0
(...)
SATA controller: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode] (rev 02)
```

not picking up the external SSD yet
- 
- 
*02/07/23*

try command : in the run/media/ganitak/Arch_xSSD
mount archlinux-2015.08.01-dual.iso /media/iso
*05/07/23*
SSD prep for OS install :
**umount** /path_of_the_device
for my VBox it's /run/media/ganitak/Arch_xSSD
#### To re-mount the SSD & install the OS iso :
pacstrap ?
https://man.archlinux.org/man/extra/arch-install-scripts/pacstrap.8.en
mkdir /var/chroot
- Then lets install the base system and base-devel (meta package containing tools which are used by the makepkg utility):
*(but it usually comes installed)*
pacstrap -K /var/chroot base base-devel
- If you have not mounted a partition to /var/chroot, you must bind the directory on itself to make it a mountpoint, therefore ensuring compatibility with arch-chroot.
mount --bind /var/chroot /var/chroot
- Then you can enter the chroot, using arch-chroot:
arch-chroot /var/chroot
- You can not build arch pages as root, makepkg does not permit the use of the root, due to security concerns. Lets create a build user:
useradd -m build
- You can then become the build user using the following command:
su -l build
????????????👇
executing mount -o loop -t auto archlinux-2023.06.01-x86_64 /media/iso
???????
**PLAN :**
#### Installing Rust
#### Installing OBS if better to run on the VBox than on the Win11 Host to stream on Twitch.
#### :warning: Set Zoom Camera Q2n-4K somewhere around desktop, if better than laptop cam/ Or use is for mic IN/OUT...... (CANT DO STREAM WITH THIS MODEL :warning:)
#### [NESTED VIRTUALISATION → can install a hypervisor to create VMs within the guest VM ](https://www.virtualbox.org/manual/ch09.html#nested-virt)
https://www.krakend.io/
---
# Set up Node Version Manager
source /usr/share/nvm/init-nvm.sh
Usage is well documented on the project's GitHub but is as simple as:
```shell=
$ nvm install 8.0
Downloading and installing node v8.0.0...
[..]
$ nvm use 8.0
Now using node v8.0.0 (npm v5.0.0)
```
You can just do default. Enter is your holy guide to a normal install
SoupGlasses
: I think N is default.
SoupGlasses
: Clean build means it deletes the package and sources to start "new"
SoupGlasses
: Its there for if building fails, you can attempt a clean build (which can be slower than a normal build).
https://wiki.archlinux.org/title/Node.js#Alternate_installations
https://wiki.archlinux.org/title/Help:Reading
### install Brew:
```shell=
yay -Syu brew
brew
whoami
sudo chown -R $username /opt/brew/var/homebrew
# to give username permission to read & write
brew update
# to complete install
```
### install Ruby
```shell=
$ yay -Syu rbenv ruby-build
[enter]
```

### irb Interactive Ruby Shell

gatin00b
: --version vs -version
gatin00b
: Usually -- for long form arguments and - for short form/single letter arguments.
So you can aggregate multiple single letter arguments/flags with a single -
gatin00b
: Though not everyone respects that
---
ls |less : lets use access the list even in a pre rolling stage