systemctl: System service manager to start, stop, and manage services
August 9th, 2024 12:57 PM Mr. Q Categories: Command
Command: sudo systemctl systemctl is a command-line utility that interacts with systemd, a system and service manager used in many Linux distributions. It controls and manages system services, including starting, stopping, restarting, and checking the status of services. Sample Command and Output: Description: Additional Commands and Sample Outputs: Description: Description: […] Read more »
dpkg: Package management system used on Debian-based distributions
August 9th, 2024 12:55 PM Mr. Q Categories: Command
Command: dpkg dpkg is the core package management system for Debian-based distributions (such as Ubuntu and Debian). It provides the basic functionality for installing, configuring, and removing software packages in .deb format. Sample Command and Output: Description: Additional Commands and Sample Outputs: Description: Description: Description: Description: Description: Description: Description: Note: […] Read more »
rpm: Package management system used on Red Hat-based distributions
August 9th, 2024 12:54 PM Mr. Q Categories: Command
Command: rpm The RPM Package Manager (RPM) is a package management system used primarily on Red Hat-based distributions (such as CentOS, Fedora, and RHEL). It allows users to install, update, remove, and query software packages. Sample Command and Output: Description: Additional Commands and Sample Outputs: Description: Description: Description: Description: Description: […] Read more »
yum: Package manager for Red Hat-based distributions
August 9th, 2024 12:52 PM Mr. Q Categories: Command
Command: yum A package management tool used on Red Hat-based Linux distributions (like CentOS, Fedora, and RHEL). yum (Yellowdog Updater, Modified) simplifies the process of installing, updating, and managing software packages. Sample Command and Output: Description: Additional Commands and Sample Outputs: Description: Description: Description: Description: Description: Note: yum is used […] Read more »
aptitude: Package manager for Debian-based distributions, an alternative to apt-get
August 9th, 2024 12:51 PM Mr. Q Categories: Command
Command: aptitude A package management tool that provides a text-based user interface for managing packages on Debian-based systems. It offers a more user-friendly interface compared to apt-get and integrates advanced features for package management, including searching, installing, and removing packages. Sample Command and Output: Description: Additional Commands and Sample Outputs: […] Read more »
apt-get source package_name: Download the source code for a package
August 9th, 2024 12:50 PM Mr. Q Categories: Command
Command: apt-get source package_name Used to download the source code of a specific package. This command retrieves the source code archive of the specified package, which can be used for examining or modifying the package before building it from source. Sample Command and Output: Description: Additional Commands and Sample Outputs: […] Read more »
apt-cache search keyword: Search for packages based on keywords
August 9th, 2024 12:49 PM Mr. Q Categories: Command
Command: apt-cache search keyword Used to search for packages in the repository whose names or descriptions match the specified keyword. This helps in finding packages related to a particular topic or functionality. Sample Command and Output: Description: Additional Commands and Sample Outputs: Description: Description: Note: Use apt-cache search to quickly […] Read more »
apt-cache depends package_name: Show the dependencies of a package
August 9th, 2024 12:48 PM Mr. Q Categories: Command
Command: apt-cache depends package_name Used to list the packages that a specified package depends on. This helps in understanding which other packages are required for the specified package to function correctly. Sample Command and Output: Description: Additional Commands and Sample Outputs: Description: Description: Note: Use apt-cache depends to check the […] Read more »
apt-cache show package_name: Display detailed information about a package
August 9th, 2024 12:47 PM Mr. Q Categories: Command
Command: apt-cache show package_name Used to display detailed information about a specific package from the package cache. This includes the package’s version, description, dependencies, and other metadata. Sample Command and Output: Description: Additional Commands and Sample Outputs: Description: Description: Note: Use apt-cache show to get a comprehensive overview of package […] Read more »
apt-get autoremove: Remove packages that are no longer needed
August 9th, 2024 12:46 PM Mr. Q Categories: Command
Command: apt-get autoremove Used to remove packages that were installed as dependencies for other packages but are no longer needed. This helps to free up disk space by cleaning up unnecessary packages that are no longer required. Sample Command and Output: Description: Additional Commands and Sample Outputs: Description: Description: Note: […] Read more »