Cylon – The Arch Linux Maintenance Program For Newbies
Recently switched to Arch Linux as your daily driver? Great! I’ve got a good news for you. Meet Cylon, a maintenance program for Arch Linux and derivatives. It is a menu-driven Bash script which provides updates, maintenance, backups and system checks for Arch Linux and its derivatives such as Manjaro Linux etc. Cylon is mainly a CLI program, and also has a basic dialog GUI. In this guide, we will see how to install and use Cylon in Arch Linux.
Cylon – The Arch Linux Maintenance Program
$ yay -S cylon
Please note that Cylon will not install all tools by default. Some functions require various dependencies packages to be installed. There are three dependencies and the rest are optional dependencies. The optional dependencies are left to user discretion. When you perform a function, it will display the missing packages if there are any. All missing packages will be shown as n/a (not available) in menus. You need to install the missing packages by yourself before using such functions.
To launch Cylon, type cylon in the Terminal:
Sample output from my Arch linux system:
You can also launch Cylon from the Menu. It usually found under Applications > System Tools.
As you see in the above screenshot, there are 14 menu entries in Cylon main menu to perform different functions. To go to each entry, type the respective number. Also, as you see in the screenshot, there is n/a besides the 2 and 3 menu entries which means auracle and Trizen are not installed. You need to install them first before performing those functions.
Let us see what each menu entry does.
Under Pacman section, you can do various package management operations such as install, update, upgrade, verify, remove packages, display package information, view Arch Linux news feed and many. Just type a number to perform the respective action.
You can go back to main menu by typing the number 21.
The auracle is an AUR helper program that can be used to perform various AUR actions such as install, update, download, search, remove AUR packages in your Arch linux box.
It is same as above section.
4. System Update
As the name says, this section is dedicated to perform Arch Linux update. Here you can update both the official and AUR packages. Cylon gives you the following four options in this section.
- Update Arch Main Repos only,
- Update AUR only,
- Update All repos,
- No Update and exit.
5. System Maintenance
In this section, you can do the following maintenance tasks.
- Failed Systemd Services and status,
- Check Journalctl log for Errors,
- Check Journalctl for fstrim SSD trim,
- Analyze system boot-up performance,
- Check for Broken Symlinks,
- Find files where no group or User corresponds to file’s numeric ID,
- Diskspace usage,
- Find 200 of the biggest files,
- Find inodes usage,
- Old configuration files scan,
- Print sensors information,
- Clean journal files,
- Delete core dumps /var/lib/systemd/coredump/,
- Delete files,
- bleachbit n/a,
- rmlint n/a,
- List All Open Files,
- DMI table decoder,
The non-installed packages will be shown with letters n/a besides that applications. You need to install them first before choosing that particular action.
6. System backup
This section provides backup utilities such as rsync to backup your Arch Linux system. Also, there is a custom backup options which allows you to manually backup files/folders to a user-specified location.
7. System Security
Cylon provides various security tools including the following:
- ccrypt – Encrypt/decrypt files,
- clamav – Antivirus,
- rkhunter – RootKit hunter scan,
- lynis – System audit tool,
- Password generator,
- List the password aging info of a user,
- Audit SUID/SGID Files.
Remember you need to install them yourself in order to use them. Cylon will not help you to install the missing packages.
8. Network Maintenance
This section is for network related functions. Here, you can:
- See wifi link quality continuously on screen,
- Use speedtest-cli -testing internet bandwidth,
- Check if website up with netcat and ping,
- Display all interfaces which are currently available,
- Display kernal routing table,
- Check the status of UFW, Uncomplicated Firewall,
- Network Time Synchronization status check,
- traceroute print route packets trace to network host,
- tracepath traces path to a network host,
- View all open ports
9. xterm terminal
Here, you can launch xterm terminal at output folder path in new window.
10. View/Edit config file
View and edit the configuration files if necessary.
11. System information
This is most useful feature of Cylon utlity. This section provides your Arch Linux system’s information such as,
- Kernel details,
- OS architecture,
- Default Shell,
- Screen resolution,
- RAM (used/total),
- Editor variable,
- Location of pacman cache folder,
- Hold packages,
- Number of orphan packages,
- Total number of installed packages,
- Number of all explicitly installed packages,
- All foreign installed packages,
- All foreign explicitly installed packages,
- All packages installed as dependencies,
- Top 5 largest packages,
- 5 newest updated packages,
- Packages Installed size by repositories.
12. Cylon information
It will display the information about Cylon program. It also performs the dependencies installation check and display the list of installed non-installed dependencies.
It displays the 3 day weather forecast by wttr.in utility.
Type 14 to exit Cylon.
For more details, type cylon -h in the Terminal to print cylon information.
Cylon script offers a lot of tools and features to maintain your Arch Linux system. If you’re new to Arch Linux, give it a try and see if it helps.