{"id":13567470,"url":"https://github.com/gavinlyonsrepo/cylon-deb","last_synced_at":"2025-10-30T11:31:34.141Z","repository":{"id":98596876,"uuid":"112256698","full_name":"gavinlyonsrepo/cylon-deb","owner":"gavinlyonsrepo","description":"TUI menu driven bash shell script  to update and  maintain a  Debian based Linux distro.","archived":false,"fork":false,"pushed_at":"2022-09-17T13:15:43.000Z","size":840,"stargazers_count":31,"open_issues_count":0,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-02T08:11:42.568Z","etag":null,"topics":["apt","aptitude","backup","bash","bash-script","communication","cylon","debian","deborphan","linux","linux-distribution","maintenance","menus","mint","rpi","terminal","tui","ubuntu","updater","wip"],"latest_commit_sha":null,"homepage":"https://gavinlyonsrepo.github.io/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gavinlyonsrepo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-27T22:35:02.000Z","updated_at":"2024-03-13T07:16:00.000Z","dependencies_parsed_at":"2023-05-06T16:31:34.014Z","dependency_job_id":null,"html_url":"https://github.com/gavinlyonsrepo/cylon-deb","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gavinlyonsrepo%2Fcylon-deb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gavinlyonsrepo%2Fcylon-deb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gavinlyonsrepo%2Fcylon-deb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gavinlyonsrepo%2Fcylon-deb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gavinlyonsrepo","download_url":"https://codeload.github.com/gavinlyonsrepo/cylon-deb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238960399,"owners_count":19559256,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apt","aptitude","backup","bash","bash-script","communication","cylon","debian","deborphan","linux","linux-distribution","maintenance","menus","mint","rpi","terminal","tui","ubuntu","updater","wip"],"created_at":"2024-08-01T13:02:32.285Z","updated_at":"2025-10-30T11:31:33.665Z","avatar_url":"https://github.com/gavinlyonsrepo.png","language":"Shell","funding_links":["https://www.paypal.com/paypalme/whitelight976"],"categories":["Shell"],"sub_categories":[],"readme":"[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/paypalme/whitelight976)\n\nOverview\n--------------------------------------------\n* Title : cylon-deb , Debian based Linux distribution maintenance program.\n* Description: \nA TUI (terminal user interface) which allows users to \ncarry out  maintenance on  an Debian based linux distributions.\nThe program is menu-based and written in bash.\nThe program is a fork and highly truncated version of the \narch-linux maintenance program *cylon*, \nwhich can also be found in this repo. This program provides a\nTerminal based alternative to GUI software managers found in many distros.\n\n* Author: [Gavin Lyons](https://gavinlyonsrepo.github.io/) \n\nTable of contents\n---------------------------\n\n  * [Overview](#overview)\n  * [Table of contents](#table-of-contents)\n  * [Installation](#installation)\n  * [Usage](#usage)\n  * [Files](#files)\n  * [Output and environment variables](#output-and-environment-variables)\n  * [Dependencies](#dependencies)\n  * [Features](#features)\n  * [Package Lists](#package-lists)\n  * [See Also](#see-also)\n\n\nInstallation\n-----------------------------------------------\n\nTwo different install methods.\n\n1.   Install by PPA (Distros based on Ubuntu 22.04 LTS )\n\nA Personal Package Archives (PPA) has been created on Ubuntu\npackage building and hosting section of launchpad site \ncalled cylondeb. Package built only for on Ubuntu 22.04 LTS (Jammy JellyFish) 64bit To install this on your system run commands in terminal\n\n```sh\nsudo add-apt-repository ppa:typematrix/cylondeb\nsudo apt update\nsudo apt install cylondeb\n```\n\n**OR** \n\n2. Install by makefile\n\nDownload latest fixed release and run the makefile as per \nterminal commands below for version 2.4 latest release at time of writing.\nYou will not be informed of updates by system if you use this method.\n\n```sh\ncurl -sL https://github.com/gavinlyonsrepo/cylon-deb/archive/2.4.tar.gz | tar xz\ncd cylon-deb-2.4\nsudo make install\n```\n\nUsage\n-------------------------------------------\n\nRun in a terminal by typing: \n\ncylondeb -[options]\n\nOptions list (standalone cannot be combined):\n\n| Option          | Description     |\n| --------------- | --------------- |\n| -h --help | Print cylondeb information and exit |\n| -s --system | Print system information and exit |\n| -v --version  | Print version information and exit |\n| -p --print | Print the package lists |\n| -b --bleachbit  | Shortcut to opens the bleachbit select menus |\n\nFiles\n-----------------------------------------\n\n| File  | Description |\n| ------ | ------ |\n| /usr/bin/cylondeb | The main shell script | \n| /usr/lib/cylondeb/modules/* | Module files containing functions |\n| /usr/share/doc/cylondeb/README.md | Help file |\n| /usr/share/doc/copyright | copyright file |\n| /usr/share/pixmaps/cylondebicon.png | program icon |\n| /usr/share/applications/cylondeb.desktop | desktop entry file |\n\nOutput and environment variables\n-------------------------------------\n\nCYLONDEST is an optional custom environmental variable\nused by program. If variable CYLONDEST is not set or does not exist, \ncylon uses the default path. \nMost system output (logfiles, downloads and updates etc) \nis placed at below path, unless otherwise specified on screen.\nOutput folders are created with following time/date stamp syntax HHMM-DDMONYY-X \nwhere X is output type i.e download, update etc. The default path is:\n\n```sh\n$HOME/Documents/cylondeb\n```\n\nOptional Dependencies\n-------------------------------------\nSome functions require dependencies packages to be installed.\nThese optional dependencies are left to user discretion.\nThe user can check if optional dependencies installed with cylondeb help.\n\n| Dependencies| Usage |\n| ------ | ------ |\n| aptitude | High-level interface to the package manager APT |\n| deborphan | Orphaned package finder |\n| debsums | Verify the integrity of installed package files |\n| ppa-purge | Disables a PPA and reverts to official packages |\n| bleachbit | System clean and shredding |\n\nFeatures\n----------------------\n\nThe features are split into two main sections.\n\nSection one deals with system maintenance. The options here are divided \ninto 3 menus. Menu one deals with routine package maintenance \nupgrading, installing, searching etc. Menu two deals with more advanced \noptions such as removing obsolete and orphaned packages, Exercise care\nand make backups and copys of the \"packagelists\" before using these options. \nMenu 3 deals has some general linux maintenance options as well as a\nCLI wrapper for bleachbit. BleachBit is a free and open-source disk space \ncleaner, privacy manager, and computer system optimizer.\n\nSection 2 is the miscellaneous section it mainly contains cylon and \nsystem information displays. \n\n**1: System update section**\n* Menu one options\n\t* Check for updates (no download), aptitude search '~U' \n\t* Upgrade all, apt update \u0026\u0026 apt dist-upgrade \n\t* Display remote package information, apt-cache show \n\t* Install Package, apt install \n\t* Delete Package, apt remove \n\t* Search for packages in the database, apt search \n\t* Search for already installed packages, aptitude search '~i' \n\t* Display info for locally installed packages, dpkg -s \n\t* List all files owned by a given package, dpkg -L  \n\t* Write installed package lists to files (see package list section)\n\t* View dpkg log file at /var/log/dpkg.log \n\t* Show all or most information about a package, apt show  \n\t* Show the changelog of a package, apt-get changelog \n\t* Verify all packages, debsums \n\t* Verify dependencies of the complete system, apt-get check \n\t* Add a PPA to system,  add-apt-repository ppa: \n\t* Purge a PPA from system,  ppa-purge \n\n*Warning*\n\nSome of these options in menu 2 remove unwanted and unneeded packages \nand configs from system as identified by utilities. What will be \nremoved is presented to user first. Please take care especially with \ndeborphan options numbered  3  \u003c-\u003e 6. \nThese have not been tested on all debian type distros.\nOptions 3 to 6 should only be used with caution by advanced users.\n\n* Menu two options\n\t* Clean up all local cache, apt autoclean  \n\t* Removes pkgs installed by other pkgs \u0026 no longer needed, apt autoremove  \n\t* Remove pkg's no longer included in any repos, aptitude purge '~o' \n\t* Remove orphan packages with orphaner tool\n\t* Remove orphaned packages automatically, \n\tsudo deborphan | xargs sudo apt-get -y remove --purge\n\t* Removing packages and configurations which are not required \n\tby any other package upon your system, deborphan -n --find-config \n\t| xargs apt-get -y purge\n\t* delete contents of CYLONDEST output folder\n\n* Menu 3 options\n\t* All Failed Systemd Services and system status\n\t* All Failed Active Systemd Services\n\t* Check log Journalctl for Errors\n\t* Check log Journalctl for fstrim SSD trim (check for SSD in system)\n\t* Analyze system boot-up performance\n\t* Check for broken symlinks\n\t* Check for files not owned by any user or group\n\t* Diskspace usage \n\t* Old configuration files scan, output to files\n\t* Find system inode usage\n\t* Find largest files\n\t* Print sensors information\n\t* Vacuum journal files\n\t* Delete core dumps \n\t* delete files \n\t\t* Shred specific files with bleachbit\n\t\t* Shred specific folders with bleachbit\n\t* Clean system with bleachbit (also run by -b standalone option.)\n\t\t* Preset option based on the same options as in the GUI \n\t\t* Custom options involved for user to pick cleaners and options\n\t\t\t* preview\n\t\t\t* clean (without overwrite, BB checks the config in GUI).\n\t\t\t* clean + overwrite (with overwrite permanent deletion)\n\t* List all open files\n\n**2: Miscellaneous section**\n* Option to open xterm terminal at output folder path in new window\n\n* Computer system information display\n\t* Displays detailed information on system and package setup\n\t* Function also run by -s standalone option.\n\n* Cylon information: \n\t* Dependencies installation check, info and display readme file to screen \n\t* Function can also run by option -h \n\n\nPackage Lists\n--------------- \n\n| Index | Contents | Filename |\n| -------- | -------- | ----- |\n| 1 | All installed | All_PKG |\n| 2 | All native, explicitly installed | Exp_PKG |\n| 3 | List orphaned packages  | noinstall_PKG |\n| 4 | Get a dump of the whole system information | stats_PKG |\n| 5 | List packages that were recently added to one of the installation sources | Recent_add_PKG |\n| 6 | List packages not required by any other package | non-Dep_PKG |\n| 7 | List packages installed automatically (as dependencies) | auto_Dep_PKG |\n| 8 | Prints a list of all installation source |  Info_Source_PKG|\n| 9 | List of non-standard repositories in use | non_standard_PKG |\n| 10 | List Installed packages by size | install_size_PKG |\n| 11 | List packages by install date  | Install_date_1_PKG |\n| 12 | List packages by install date less data | Install_date_2_PKG |\n\n\n### Commands used by index number in table:\n\n1. dpkg --list | grep \"^i\" \n2. apt-mark showmanual\n3.  deborphan \n4.  apt-cache stats \n5.  aptitude search '~N' \n6.  deborphan -anp1 \n7.  apt-mark showauto \n8.  apt-cache policy \n9.  cat /etc/apt/sources.list.d/*.list | grep -v \"^#\" \n10.  aptitude search \"~i\" --display-format \"%p %I\" --sort installsize \n11.  grep installed /var/log/dpkg.log \n12.  grep \" install \" /var/log/dpkg.log \n\n\nSee Also\n------------------\n\n* [aptitude](https://www.debian.org/doc/manuals/aptitude/)\n* [apt](https://help.ubuntu.com/lts/serverguide/apt.html)\n* [dpkg](http://manpages.ubuntu.com/manpages/zesty/en/man1/dpkg.1.html)\n* [deborphan](https://www.commandlinux.com/man-page/man1/deborphan.1.html)\n* [debsums](http://manpages.ubuntu.com/manpages/trusty/man1/debsums.1.html)\n* [ppa-purge](http://manpages.ubuntu.com/manpages/precise/en/man1/ppa-purge.1.html)\n* [bleachbit](https://en.wikipedia.org/wiki/BleachBit)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgavinlyonsrepo%2Fcylon-deb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgavinlyonsrepo%2Fcylon-deb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgavinlyonsrepo%2Fcylon-deb/lists"}