Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A Terminal user interface for maintaining an Arch Linux distribution.

License

NotificationsYou must be signed in to change notification settings

gavinlyonsrepo/cylon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

title

Overview

  • Name: cylon

  • Title : Arch Linux distribution maintenance program.

  • Description:

A TUI(terminal user interface) which provides updates and maintainsan Arch based linux distribution.This program provides numerous tools to Arch Linux users.The program is menu-based and written in bash.It is mainly text based but also uses dialog GUI'sat a few points mainly for directory and file selection.It can also display desktop notifications.A detailed list of the dozens of options isprovided below in features section.

  • Main Author: Gavin Lyons

Donate

Table of contents

Installation

cylon is installed by PKGBUILD on a Arch based Linux system.The PKGBUILD file is available in the AUR - Arch user repository.Install it using an AUR helper program or installations instructionson Arch user repository page of Arch linux wiki.The program should work on most arch based distributions. Arch, Manjaro, EndeavourOS etc.

Usage

The program installs an icon in system application menus under system.

icon

It can be also run in a terminal by typing cylon:

cylon -[options]

Options list (standalone cannot be combined):

OptionDescription
-h --helpPrint cylon information and exit
-s --systemPrint system information and exit
-v --versionPrint version information and exit
-c --configOpens the cylon config file for editing and exit
-d --defaultBleachbit system clean , this will execute options selected in bleachbit GUI or bleachbit config file
-b --bleachbitOpens the bleachbit select menus
-m --maintRuns Automatic system maintenance scan This carries many of the menu functions in system maintenance menu in a single sweep, It will not change system just create report files
-u --updateRuns a full update report with various execution options. Report provides Arch news rss reader & arch-audit vulnerable packages output CVE data(Common Vulnerabilities and Exposures) & number and type of updates available for all repos
-p --printprint the package lists (REF1)
-r --rssprint arch news reader
-z --deletedisplay the AUR package removal dialog menu function
-l --lintshortcut to open rmlint wrapper menu
-n --notifyDisplay a desktop notifications with update information, also gives some terminal output

Files and setup

Cylon files installed by the packagebuild are listed below:

File PathDescription
/usr/bin/cylonThe main shell script
/usr/lib/cylon/modules/*_modulelibrary files containing functions
/usr/share/doc/cylon/readme.mdHelp file
/usr/share/man/man7/cylon.7manpage
/usr/share/licenses/cylon/license.mdcopyright file
/usr/share/pixmaps/cylonicon.pngcylon icon
/usr/share/applications/cylon.desktopdesktop entry file

README.md is displayed to screen by a menu option on cylon info page.Type "man cylon" to display manpage.More information on the modules files can be found in modules_info.mdin documentation folder.In the repositorydocumentation folder,

File Namedescription
cylon.7man page which is truncated version of readme.md
cylonCfg.confA dummy copy of config file for user setup convenience
modules_info.mdAn overview of the modular library files and the functions
package_lists.mdAn overview of the packages files list generated by program
features_info.mdMore detailed information for some features

Config file: config file is created and populated( hard-coded dummy defaults.)by software if it does not exist on startup .It contains a number of global variables/settingsThis Path can be overwritten by environmental variable see next section.The config file can be edited from a main menu option or by option -cConfig file settings:

Variable NameDescriptionDefault
CYLON_RSS_NUMNumber or arch news RSS items to fetch2
CYLON_RSS_URLArch news URLhttps://archlinux.org/feeds/news/
CYLON_UPDATE_CHOICEAuto sys update 1=main only = 2=all 3=AUR only1

Environment variables

NameDescriptionDefault
CYLONDESTCylon output path$HOME/.cache/cylon
CYLON_CONFIGconfig file path$HOME/.config/cylon/cylonCfg.conf
CYLON_COLOR_OFFif it does not exist or is not set cylon uses colored textColor is on
EDITORSets text editor (system EV)Nano text editor

Dependencies

Some functions require dependencies packages to be installed.There are three dependencies and the rest are optional dependencies.The optional dependencies are left to user discretion.Software will check for missing dependencies and report if usertries to use a function which requires a missing one.Software will display installed dependencies packages on cylon info page.also "n/a" is usually displayed besides uninstalled options in menus.

gnu-netcat and openbsd-netcat perform same function,only 1 can be or needs to be installed, both included because of conflicts.There are used to check that network is "up" at various points in program.

Auracle and trizen are both AUR helpers you can installone or both depending on preference. Auracle is a more minimalist helper.trizen is more fully featured.Auracle is used for -u and -n functions, plus step 24 of the package list makerAuracle is new and still in development hence the -git extension.libnotify should be installed on the vast majority of Arch systems already.dialog should already be installed in an arch linux system installed bythe arch linux installation guide on wiki. If you install Arch some other wayIt may not be there, so included as depends.expac is used a lot and will be already installed on many systems.pacman_contrib contains numerous tools(checkupdates pacache etc)related to pacman.

Non-Optional DependenciesUsage
dialogused to make file select menus
expacused to create package lists
pacman-contribMisc pacman related tools
Optional DependenciesUsage
libnotifyused for desktop notifications
bleachbitfor system clean and shredding
netcatto check for internet connection (either gnu or openbsd)
rmlintto check for lint and duplicates
Arch-auditUses data collected by the Arch CVE team
lostfilesto scan for lostfiles
trizen(AUR)AUR helper
auracle-git(AUR)AUR helper

Features

The update section provides a wrapper forpacman, trizen and auracle. It provides an extension to auracleto allow it to install and update packages. It also providesa full system update report function and various other options.The maintenance section provides a variety of scans and checks, it alsoa provides command line wrapper for rmlint and bleach-bit.Other misc functions include an option to edit config file, information menus forsystem and cylon.Output folders are created with following time/date stamp syntax DDMONYY-HHMM-Xwhere X is output type i.e download, update etc

System update section

  • pacman options

    • Check for updates (no download)
    • Upgrade packages
    • Display extensive information for package in database
    • Install Package
    • Search for packages in the database
    • Remove Package
    • Search for already installed packages
    • Display extensive information for installed package
    • List all files owned by a given package
    • Verify packages(option for one or all)
    • Prune older packages from cache with paccache
    • Prune all uninstalled packages from cache with paccache
    • Write installed package lists to files
    • Remove all packages not required as dependencies
    • Back-up the local pacman database
    • Arch news rss reader
    • arch-audit gather CVE data
    • List a dependency tree of a package with pactree
    • Show packages that depend on a package with pactree
    • Edit pacman config file
    • View pacman log
    • optimise pacman
  • AUR helper auracle options

    • Check arch url and for AUR updates ( NO downloads)
    • Get Information for AUR package
    • Search for AUR package
    • Download AUR package and install
    • Download AUR package no install
    • Sync and download AUR packages, i.e. update AUR packages on system.
    • Display AUR packages with no Maintainer
    • Display Foreign packages not in AUR
    • Read AUR Package comments
    • Desktop and terminal notifications same as cylon -n option
    • Remove foreign packages menu
  • AUR helper trizen options

    • Check arch url and for AUR updates ( NO downloads)
    • Search for AUR package
    • Get Information for AUR package
    • Update AUR packages
    • Download build and install AUR package
    • Download and build only
    • Download only
    • Delete trizen clone dir files. default = /tmp/trizen-$USER
    • Edit trizen config file $HOME/.config/trizen/trizen.conf
    • Update all packages in all repositories, trizen -Syu
    • Write installed package lists to files
    • trizen statistics display page
    • Remove foreign packages menu
    • Read AUR Package comments
    • Display the AUR packages maintained by a given user
    • Display the PKGBUILD of a given AUR package
  • Full System update

    • Runs the same report that is called by cylon -u, see usage section, uses auracle

System maintenance section

  • System maintenance menu

    • All Failed Systemd Services and system status
    • All Failed Active Systemd Services
    • Check log Journalctl for Errors
    • Check log Journalctl for fstrim SSD trim (check for SSD in system)
    • Analyze system boot-up performance
    • Check for broken symlinks
    • Check for files not owned by any user or group
    • Lostfiles scan, relaxed and strict
    • Diskspace usage
    • Old configuration files scan, output to files
    • Find system inode usage
    • Find largest files
    • Print sensors information
    • Vacuum journal files
    • Delete core dumps
    • Shred specific files with bleachbit
    • Shred specific folders with bleachbit
    • Delete Trash
    • Delete Download directory
    • Delete Cylon output folder $HOME/Documents/Cylon/ or $CYLONDEST
    • Display hardware information
    • Clean system with bleachbit
      • Preset option based on the same options as in the GUI
      • Custom options involved for user to pick cleaners and options
        • preview
        • clean (without overwrite, BB checks the config in GUI).
        • clean + overwrite (with overwrite permanent deletion)
    • Rmlint remove duplicates and other lint
      • Find bad UID, GID or files with both.
      • Find bad symlinks pointing nowhere.
      • Find empty directories.
      • Find empty files.
      • Find nonstripped binaries.
      • Find duplicate files.
      • Find duplicate directories.
      • option to view results file
      • option to execute shell script with results
    • List all open files
  • System maintenance menu Two

    • password generator
    • Audit SUID/SGID Files in system
    • check user password expiry information
    • Display real-time wifi information
    • various miscellaneous networking commands
    • firewall status and details check

Miscellaneous section

  • Config file view/edit option.

  • System information display

    • Displays detailed information on system and package setup
    • Function also run by -s standalone option.
  • Cylon information:

    • Dependencies installation check, info and display readme file to screen
    • Function can also run by option -h

Return codes

  • 0 - Normal non-error controlled exit.
  • 2 - Error occurred and was handled by exithandlerFunc function.

Screen Shots

Main Menu

main menu

Arch News

Arch News

Bleach bit CLI

BB

Desktop notification

Desktop

Pacman options menu

Pacman

Remove foreign packages menu

f menu


[8]ページ先頭

©2009-2025 Movatter.jp