Post Install
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
Updating The System
Octopi is a graphical package manager for Arch-based distributions that provides a convenient way to manage packages and updates. To update your system with Octopi, follow these steps:
- Launch Octopi from the application menu.
- In the main window, click on the Check updates button (Top left), now next to it System upgrade.
- Octopi will now check for available updates and prompt you to either install them on Octopi itself or in a terminal.
- To proceed with the update, click the Apply button.
- Octopi will download and install the updates.
- It is advised to reboot your computer after a big update (especially if the kernel got an update).
-
Open a terminal emulator (or press
ctrl + alt + t
-mod + return
in a WM e.G Qtile). -
Run the following command to update the system:
-
It is advised to reboot your computer after a big update (especially if the kernel got an update).
CachyOS supports offline system upgrades using the pacman-offline
script. This allows your system to download package updates and apply them on the next reboot. (Yes like on Windows)
-
Install the pacman-offline package
-
Telling Pacman to read from the separate package ignore list.
-
Adding the CachyOS kernels in order to make pacman ignore them during regular updates
The
pacman-offline
tool uses this file to determine which packages to ignore during the traditional pacman updates.Example: when you run
sudo pacman -Syu
Replace the contents of the
/etc/pacman.d/offline.conf
file with the following:Now all of those packages are going to get ignored in the regular updates but checked during the offline preparation.
-
Start the preparation for the offline update only once
This command will then make pacman-offline to execute once and synchronize the package databases and proceed to download updates but doesn’t install them.
If you want this script to be automated. Follow the following steps:
-
Enable the preparation timer
The
pacman-offline-prepare.timer
being enabled will allow systemd to trigger this script to download updates in a daily basis after a few minutes of every system startup. -
Reboot your system:
The updates will be installed during the next system reboot.
-
(Optional) Automatic System Reboots:
Enable the
pacman-offline-reboot.timer
to automatically reboot your system by default at 3am (Your timezone) if they’re pending updates. Be aware that its not always at the same time schedule due to the inclusion ofRandomizedDelaySec
which is set to 2 hours by default.
Configuring Firewall (ufw)
To configure ufw, follow these steps:
By default, ufw allows all incoming and outgoing traffic, you can add specific rules to the firewall to block or allow specific connections.
Enabling Global Menu
For some apps like Visual Studio Code, the global menu may not work or may be attached to the parent app instead of the panel.
Enable AppArmor support using AppArmor.d profiles (Optional)
-
Add the following kernel parameters to your Boot Manager, see Boot Manager Configuration for reference
-
Install apparmor and apparmord (Set of over +1500 profiles) packages
-
Enable/Start AppArmor service
-
Enable caching for AppArmor profiles
Save the file and reboot.
Changing the Default Shell
Currently, CachyOS uses fish as the user’s default login shell. However, you can change the default shell to whatever you like.
This is the default shell on almost every Linux distribution. It is also still used as the root user’s login shell. bash has basic autocomplete functionality and easy history management. It differs from zsh and fish in that it doesn’t have the fancy customization and plugin ecosystem that both fish and zsh have.
We provide a zsh config with commonly used plugins and configurations. It aims to have 1:1 functionality with our fish config. This is also the default shell used in MacOS.
Updating/using tldr
This tool is extremely useful for those who don’t want to read much or waste time reading a help/man page.
- Example of using tldr: