Home Command line utilities Cylon – The Arch Linux Maintenance Program For Newbies

Cylon – The Arch Linux Maintenance Program For Newbies

By sk

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

Install Cylon

Cylon is available in the AUR. You can install it using any AUR helpers, for example Yay.

$ 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:

$ cylon

Sample output from my Arch linux system:

Cylon Arch Linux maintenance program

Default interface of Cylon, the Arch Linux maintenance program

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.

1. Pacman

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.

2. auracle

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.

3. trizen

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.

  1. Update Arch Main Repos only,
  2. Update AUR only,
  3. Update All repos,
  4. No Update and exit.

Cylon system update

5. System Maintenance

In this section, you can do the following maintenance tasks.

  1. Failed Systemd Services and status,
  2. Check Journalctl log for Errors,
  3. Check Journalctl for fstrim SSD trim,
  4. Analyze system boot-up performance,
  5. Check for Broken Symlinks,
  6. Find files where no group or User corresponds to file's numeric ID,
  7. lostfiles,
  8. Diskspace usage,
  9. Find 200 of the biggest files,
  10. Find inodes usage,
  11. Old configuration files scan,
  12. Print sensors information,
  13. Clean journal files,
  14. Delete core dumps /var/lib/systemd/coredump/,
  15. Delete files,
  16. bleachbit n/a,
  17. rmlint n/a,
  18. List All Open Files,
  19. DMI table decoder,
  20. Return.

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:

  1. ccrypt - Encrypt/decrypt files,
  2. clamav - Antivirus,
  3. rkhunter - RootKit hunter scan,
  4. lynis - System audit tool,
  5. Password generator,
  6. List the password aging info of a user,
  7. 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:

  1. See wifi link quality continuously on screen,
  2. Use speedtest-cli -testing internet bandwidth,
  3. Check if website up with netcat and ping,
  4. Display all interfaces which are currently available,
  5. Display kernal routing table,
  6. Check the status of UFW, Uncomplicated Firewall,
  7. Network Time Synchronization status check,
  8. traceroute print route packets trace to network host,
  9. tracepath traces path to a network host,
  10. 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,

  • Uptime,
  • Kernel details,
  • OS architecture,
  • Username,
  • Default Shell,
  • Screen resolution,
  • CPU,
  • 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.

System information

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.

Cylon program details

13. Weather

It displays the 3 day weather forecast by wttr.in utility.

Related Read:

14. Exit

Type 14 to exit Cylon.

For more details, type cylon -h in the Terminal to print cylon information.

Recommended read:

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.


Thanks for stopping by!

Help us to help you:

Have a Good day!!

You May Also Like

Leave a Comment

* By using this form you agree with the storage and handling of your data by this website.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

This website uses cookies to improve your experience. By using this site, we will assume that you're OK with it. Accept Read More