{"id":3577,"date":"2024-11-16T10:00:02","date_gmt":"2024-11-16T10:00:02","guid":{"rendered":"https:\/\/draculaservers.com\/tutorials\/?p=3577"},"modified":"2024-12-01T10:05:35","modified_gmt":"2024-12-01T10:05:35","slug":"15-apt-command-examples-on-linux","status":"publish","type":"post","link":"https:\/\/draculaservers.com\/tutorials\/15-apt-command-examples-on-linux\/","title":{"rendered":"15 APT Command Examples on Linux"},"content":{"rendered":"<div class=\"cl-preview-section\">\n<p>APT (Advanced Package Tool) is a powerful command-line utility used in Debian-based Linux distributions, such as Ubuntu, Debian, and Linux Mint. It simplifies package management tasks like installing, updating, upgrading, and removing software packages. By understanding the various APT commands, you can efficiently manage your system\u2019s software and dependencies.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>This article covers 15 APT command examples, providing detailed explanations and use cases for each.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<hr \/>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"what-is-apt\">What is APT?<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>APT is a package management tool that interacts with the Debian package manager (<code>dpkg<\/code>) to handle software packages. It fetches packages from repositories, resolves dependencies, and ensures smooth installations or updates.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>APT commands streamline the user experience by combining multiple functions into a single interface, making package management easier for both beginners and advanced users.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"updating-the-package-index\"><span id=\"1-updating-the-package-index\">1.\u00a0<strong>Updating the Package Index<\/strong><\/span><\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>The package index contains information about available packages, their versions, and their dependencies. Regularly updating the index ensures you have the latest package data.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> apt update\r\n\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"explanation\">Explanation:<\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<ul>\n<li>This command fetches the latest package information from the configured repositories.<\/li>\n<li>It does not upgrade the packages; it only updates the metadata.<\/li>\n<\/ul>\n<\/div>\n<div class=\"cl-preview-section\">\n<hr \/>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"upgrading-installed-packages\"><span id=\"2-upgrading-installed-packages\">2.\u00a0<strong>Upgrading Installed Packages<\/strong><\/span><\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>To upgrade all installed packages to their latest versions, use:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> apt upgrade\r\n\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"explanation-1\"><span id=\"explanation-2\">Explanation:<\/span><\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<ul>\n<li>It updates existing packages to the newest versions available in the repositories.<\/li>\n<li>Dependencies are also upgraded if necessary.<\/li>\n<\/ul>\n<\/div>\n<div class=\"cl-preview-section\">\n<hr \/>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"full-system-upgrade\"><span id=\"3-full-system-upgrade\">3.\u00a0<strong>Full System Upgrade<\/strong><\/span><\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>To upgrade all packages, including removing obsolete packages or installing new dependencies, use:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> apt full-upgrade\r\n\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"explanation-2\"><span id=\"explanation-3\">Explanation:<\/span><\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<ul>\n<li>Unlike\u00a0<code>upgrade<\/code>, this command allows changes to installed packages, such as removals or installations, to accommodate upgrades.<\/li>\n<\/ul>\n<\/div>\n<div class=\"cl-preview-section\">\n<hr \/>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"installing-a-package\"><span id=\"4-installing-a-package\">4.\u00a0<strong>Installing a Package<\/strong><\/span><\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>To install a specific software package, use:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> apt <span class=\"token function\">install<\/span> package_name\r\n\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"example\">Example:<\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> apt <span class=\"token function\">install<\/span> vim\r\n\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"explanation-3\"><span id=\"explanation-4\">Explanation:<\/span><\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<ul>\n<li>APT automatically resolves and installs any dependencies for the package.<\/li>\n<li>Replace\u00a0<code>package_name<\/code>\u00a0with the desired software.<\/li>\n<\/ul>\n<\/div>\n<div class=\"cl-preview-section\">\n<hr \/>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"installing-multiple-packages\"><span id=\"5-installing-multiple-packages\">5.\u00a0<strong>Installing Multiple Packages<\/strong><\/span><\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>You can install multiple packages simultaneously:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> apt <span class=\"token function\">install<\/span> package1 package2 package3\r\n\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"example-1\"><span id=\"example-2\">Example:<\/span><\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> apt <span class=\"token function\">install<\/span> curl <span class=\"token function\">wget<\/span> <span class=\"token function\">git<\/span>\r\n\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<hr \/>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"removing-a-package\"><span id=\"6-removing-a-package\">6.\u00a0<strong>Removing a Package<\/strong><\/span><\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>To uninstall a package without removing its configuration files, use:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> apt remove package_name\r\n\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"example-2\"><span id=\"example-3\">Example:<\/span><\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> apt remove firefox\r\n\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"explanation-4\"><span id=\"explanation-5\">Explanation:<\/span><\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<ul>\n<li>This command removes the package binaries but retains its configuration files.<\/li>\n<\/ul>\n<\/div>\n<div class=\"cl-preview-section\">\n<hr \/>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"purging-a-package\"><span id=\"7-purging-a-package\">7.\u00a0<strong>Purging a Package<\/strong><\/span><\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>To remove a package along with its configuration files, use:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> apt purge package_name\r\n\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"example-3\"><span id=\"example-4\">Example:<\/span><\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> apt purge firefox\r\n\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"explanation-5\"><span id=\"explanation-6\">Explanation:<\/span><\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<ul>\n<li>Purging is useful when you want to clean up a system completely after removing a package.<\/li>\n<\/ul>\n<\/div>\n<div class=\"cl-preview-section\">\n<hr \/>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"searching-for-a-package\"><span id=\"8-searching-for-a-package\">8.\u00a0<strong>Searching for a Package<\/strong><\/span><\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>To search for a package in the repository, use:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\">apt search keyword\r\n\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"example-4\"><span id=\"example-5\">Example:<\/span><\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\">apt search apache\r\n\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"explanation-6\"><span id=\"explanation-7\">Explanation:<\/span><\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<ul>\n<li>This command lists all packages containing the specified keyword in their name or description.<\/li>\n<\/ul>\n<\/div>\n<div class=\"cl-preview-section\">\n<hr \/>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"displaying-package-information\"><span id=\"9-displaying-package-information\">9.\u00a0<strong>Displaying Package Information<\/strong><\/span><\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>To get detailed information about a package, use:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\">apt show package_name\r\n\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"example-5\"><span id=\"example-6\">Example:<\/span><\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\">apt show vim\r\n\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"output-includes\">Output Includes:<\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<ul>\n<li>Package description<\/li>\n<li>Version<\/li>\n<li>Maintainer<\/li>\n<li>Dependencies<\/li>\n<li>Repository source<\/li>\n<\/ul>\n<\/div>\n<div class=\"cl-preview-section\">\n<hr \/>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"checking-for-upgradable-packages\"><span id=\"10-checking-for-upgradable-packages\">10.\u00a0<strong>Checking for Upgradable Packages<\/strong><\/span><\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>To list all packages that have available upgrades, use:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\">apt list --upgradable\r\n\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"explanation-7\"><span id=\"explanation-8\">Explanation:<\/span><\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<ul>\n<li>This command is helpful for identifying which packages need upgrading.<\/li>\n<\/ul>\n<\/div>\n<div class=\"cl-preview-section\">\n<hr \/>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"cleaning-up-unused-packages\"><span id=\"11-cleaning-up-unused-packages\">11.\u00a0<strong>Cleaning Up Unused Packages<\/strong><\/span><\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>To remove packages that are no longer required, such as dependencies installed for software that has been removed:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> apt autoremove\r\n\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"explanation-8\"><span id=\"explanation-9\">Explanation:<\/span><\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<ul>\n<li>This command cleans up unnecessary dependencies, freeing up disk space.<\/li>\n<\/ul>\n<\/div>\n<div class=\"cl-preview-section\">\n<hr \/>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"clearing-the-package-cache\"><span id=\"12-clearing-the-package-cache\">12.\u00a0<strong>Clearing the Package Cache<\/strong><\/span><\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>To remove downloaded package files from the cache directory (<code>\/var\/cache\/apt\/archives<\/code>), use:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> apt clean\r\n\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"explanation-9\"><span id=\"explanation-10\">Explanation:<\/span><\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<ul>\n<li>It removes all cached\u00a0<code>.deb<\/code>\u00a0files, saving storage space.<\/li>\n<li>Use\u00a0<code>apt autoclean<\/code>\u00a0to remove only outdated or obsolete cached files.<\/li>\n<\/ul>\n<\/div>\n<div class=\"cl-preview-section\">\n<hr \/>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"downloading-a-package-without-installing\"><span id=\"13-downloading-a-package-without-installing\">13.\u00a0<strong>Downloading a Package Without Installing<\/strong><\/span><\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>To download a package for offline installation, use:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\">apt download package_name\r\n\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"example-6\"><span id=\"example-7\">Example:<\/span><\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\">apt download nginx\r\n\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"explanation-10\"><span id=\"explanation-11\">Explanation:<\/span><\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<ul>\n<li>The downloaded\u00a0<code>.deb<\/code>\u00a0file can be manually installed using\u00a0<code>dpkg<\/code>.<\/li>\n<\/ul>\n<\/div>\n<div class=\"cl-preview-section\">\n<hr \/>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"fixing-broken-dependencies\"><span id=\"14-fixing-broken-dependencies\">14.\u00a0<strong>Fixing Broken Dependencies<\/strong><\/span><\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>If a package installation fails due to broken dependencies, use:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> apt <span class=\"token function\">install<\/span> -f\r\n\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"explanation-11\"><span id=\"explanation-12\">Explanation:<\/span><\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<ul>\n<li>The\u00a0<code>-f<\/code>\u00a0(fix) option resolves and installs missing dependencies.<\/li>\n<li>It is often used after a failed installation.<\/li>\n<\/ul>\n<\/div>\n<div class=\"cl-preview-section\">\n<hr \/>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"adding-a-repository\"><span id=\"15-adding-a-repository\">15.\u00a0<strong>Adding a Repository<\/strong><\/span><\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>If the desired package is not available in the default repositories, you can add a new repository using:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> add-apt-repository ppa:repository_name\r\n\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"example-7\"><span id=\"example-8\">Example:<\/span><\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> add-apt-repository ppa:deadsnakes\/ppa\r\n\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"explanation-12\"><span id=\"explanation-13\">Explanation:<\/span><\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<ul>\n<li>This command adds the specified PPA (Personal Package Archive) to your system.<\/li>\n<li>After adding the repository, update the package index:\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> apt update\r\n\r\n<\/code><\/pre>\n<\/li>\n<\/ul>\n<\/div>\n<div class=\"cl-preview-section\">\n<hr \/>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"apt-command-options-summary\">APT Command Options Summary<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>Option<\/strong><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>Description<\/strong><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><code>update<\/code><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Updates the package index.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><code>upgrade<\/code><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Upgrades all installed packages.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><code>full-upgrade<\/code><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Performs a comprehensive upgrade, modifying packages.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><code>install<\/code><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Installs one or more packages.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><code>remove<\/code><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Removes a package but keeps its configuration files.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><code>purge<\/code><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Removes a package and its configuration files.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><code>autoremove<\/code><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Removes unnecessary packages.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><code>clean<\/code><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Clears the local cache of package files.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><code>show<\/code><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Displays detailed information about a package.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><code>search<\/code><\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Searches for a package in the repository.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<hr \/>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"best-practices-for-using-apt\">Best Practices for Using APT<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<ol>\n<li><strong>Update Regularly<\/strong>: Always update the package index before installing or upgrading packages.\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> apt update\r\n\r\n<\/code><\/pre>\n<\/li>\n<li><strong>Avoid Unnecessary Upgrades<\/strong>: Use\u00a0<code>apt upgrade<\/code>\u00a0cautiously on production servers to avoid breaking dependencies.<\/li>\n<li><strong>Clean Cache Periodically<\/strong>: Use\u00a0<code>sudo apt clean<\/code>\u00a0to free up space.<\/li>\n<li><strong>Read Before Installing<\/strong>: Use\u00a0<code>apt show<\/code>\u00a0to understand a package\u2019s purpose and dependencies.<\/li>\n<li><strong>Test New Repositories<\/strong>: Add PPAs only from trusted sources to maintain system stability.<\/li>\n<\/ol>\n<\/div>\n<div class=\"cl-preview-section\">\n<hr \/>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"troubleshooting-apt-issues\">Troubleshooting APT Issues<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"fixing-broken-packages\"><span id=\"1-fixing-broken-packages\">1.\u00a0<strong>Fixing Broken Packages<\/strong><\/span><\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>If package installation fails due to unresolved dependencies:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> apt <span class=\"token function\">install<\/span> -f\r\n\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"resolving-\u201crepository-not-found\u201d-errors\"><span id=\"2-resolving-repository-not-found-errors\">2.\u00a0<strong>Resolving \u201cRepository Not Found\u201d Errors<\/strong><\/span><\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Check your\u00a0<code>\/etc\/apt\/sources.list<\/code>\u00a0file for outdated or incorrect repository URLs. Remove or update them as necessary.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"handling-locked-apt-cache\"><span id=\"3-handling-locked-apt-cache\">3.\u00a0<strong>Handling Locked APT Cache<\/strong><\/span><\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>If another process is using APT, you may encounter a lock error:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">rm<\/span> \/var\/lib\/apt\/lists\/lock\r\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">rm<\/span> \/var\/cache\/apt\/archives\/lock\r\n\r\n<\/code><\/pre>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><strong>Caution<\/strong>: Ensure no other package management tool is running before deleting locks.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<hr \/>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"conclusion\">Conclusion<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>APT is an indispensable tool for managing software on Debian-based Linux systems. Its straightforward commands simplify tasks like installation, updates, and troubleshooting, making it ideal for both beginners and seasoned administrators.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>By mastering the 15 APT command examples discussed in this article, you can efficiently manage packages, resolve dependencies, and maintain a clean, stable Linux environment. Whether you are upgrading your system, troubleshooting broken dependencies, or managing repositories, APT commands provide all the tools you need.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>APT (Advanced Package Tool) is a powerful command-line utility used in Debian-based Linux distributions, such as Ubuntu, Debian, and Linux Mint. It simplifies package management tasks like installing, updating, upgrading, and removing software packages. By understanding the various APT commands, you can efficiently manage your system\u2019s software and dependencies. This article covers 15 APT command [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":3578,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[61,172],"tags":[690,691,689],"class_list":["post-3577","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux-commands","category-linux-tutorials","tag-apt-package-management","tag-learning-linux-apt-command","tag-linux-apt-commands"],"blocksy_meta":[],"featured_image_urls_v2":{"full":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/12\/Dracula-Servers-Thumbnail-77.png",1280,720,false],"thumbnail":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/12\/Dracula-Servers-Thumbnail-77-150x150.png",150,150,true],"medium":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/12\/Dracula-Servers-Thumbnail-77-300x169.png",300,169,true],"medium_large":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/12\/Dracula-Servers-Thumbnail-77-768x432.png",768,432,true],"large":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/12\/Dracula-Servers-Thumbnail-77-1024x576.png",1024,576,true],"1536x1536":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/12\/Dracula-Servers-Thumbnail-77.png",1280,720,false],"2048x2048":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/12\/Dracula-Servers-Thumbnail-77.png",1280,720,false],"pk-small":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/12\/Dracula-Servers-Thumbnail-77-80x80.png",80,80,true],"pk-thumbnail":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/12\/Dracula-Servers-Thumbnail-77-300x225.png",300,225,true]},"post_excerpt_stackable_v2":"<p>APT (Advanced Package Tool) is a powerful command-line utility used in Debian-based Linux distributions, such as Ubuntu, Debian, and Linux Mint. It simplifies package management tasks like installing, updating, upgrading, and removing software packages. By understanding the various APT commands, you can efficiently manage your system\u2019s software and dependencies. This article covers 15 APT command examples, providing detailed explanations and use cases for each. What is APT? APT is a package management tool that interacts with the Debian package manager (dpkg) to handle software packages. It fetches packages from repositories, resolves dependencies, and ensures smooth installations or updates. APT commands&hellip;<\/p>\n","category_list_v2":"<a href=\"https:\/\/draculaservers.com\/tutorials\/category\/linux-commands\/\" rel=\"category tag\">Linux Commands<\/a>, <a href=\"https:\/\/draculaservers.com\/tutorials\/category\/linux-tutorials\/\" rel=\"category tag\">Linux Tutorials<\/a>","author_info_v2":{"name":"Abdul Mannan","url":"https:\/\/draculaservers.com\/tutorials\/author\/abdul-mannan-tbgmail-com\/"},"comments_num_v2":"0 comments","yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>15 APT Command Examples on Linux - Dracula Servers Tutorials<\/title>\n<meta name=\"description\" content=\"With the apt commands you can efficiently manage packages, resolve dependencies, and maintain a clean, stable Linux environment.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/draculaservers.com\/tutorials\/15-apt-command-examples-on-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"15 APT Command Examples on Linux - Dracula Servers Tutorials\" \/>\n<meta property=\"og:description\" content=\"With the apt commands you can efficiently manage packages, resolve dependencies, and maintain a clean, stable Linux environment.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/draculaservers.com\/tutorials\/15-apt-command-examples-on-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"Dracula Servers Tutorials\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-16T10:00:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-12-01T10:05:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/12\/Dracula-Servers-Thumbnail-77.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Abdul Mannan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Abdul Mannan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/15-apt-command-examples-on-linux\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/15-apt-command-examples-on-linux\\\/\"},\"author\":{\"name\":\"Abdul Mannan\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/ac89d0281f4fb596bfaa0bc1e746c8a6\"},\"headline\":\"15 APT Command Examples on Linux\",\"datePublished\":\"2024-11-16T10:00:02+00:00\",\"dateModified\":\"2024-12-01T10:05:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/15-apt-command-examples-on-linux\\\/\"},\"wordCount\":834,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/15-apt-command-examples-on-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/Dracula-Servers-Thumbnail-77.png\",\"keywords\":[\"Apt package management\",\"Learning Linux apt command\",\"Linux Apt commands\"],\"articleSection\":[\"Linux Commands\",\"Linux Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/15-apt-command-examples-on-linux\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/15-apt-command-examples-on-linux\\\/\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/15-apt-command-examples-on-linux\\\/\",\"name\":\"15 APT Command Examples on Linux - Dracula Servers Tutorials\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/15-apt-command-examples-on-linux\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/15-apt-command-examples-on-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/Dracula-Servers-Thumbnail-77.png\",\"datePublished\":\"2024-11-16T10:00:02+00:00\",\"dateModified\":\"2024-12-01T10:05:35+00:00\",\"description\":\"With the apt commands you can efficiently manage packages, resolve dependencies, and maintain a clean, stable Linux environment.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/15-apt-command-examples-on-linux\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/15-apt-command-examples-on-linux\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/15-apt-command-examples-on-linux\\\/#primaryimage\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/Dracula-Servers-Thumbnail-77.png\",\"contentUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/Dracula-Servers-Thumbnail-77.png\",\"width\":1280,\"height\":720},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/15-apt-command-examples-on-linux\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"15 APT Command Examples on Linux\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\",\"name\":\"Dracula Servers Tutorials\",\"description\":\"Dedicated Servers\",\"publisher\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\",\"name\":\"Dracula Servers\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/dracula_full_logo_smaller.png\",\"contentUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/dracula_full_logo_smaller.png\",\"width\":1625,\"height\":200,\"caption\":\"Dracula Servers\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/ac89d0281f4fb596bfaa0bc1e746c8a6\",\"name\":\"Abdul Mannan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g\",\"caption\":\"Abdul Mannan\"},\"description\":\"An individual trying to decipher the enigmas of technology by the sheer driving force of curiosity. Interested in learning new skills and being better at those skills than the lot.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"15 APT Command Examples on Linux - Dracula Servers Tutorials","description":"With the apt commands you can efficiently manage packages, resolve dependencies, and maintain a clean, stable Linux environment.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/draculaservers.com\/tutorials\/15-apt-command-examples-on-linux\/","og_locale":"en_US","og_type":"article","og_title":"15 APT Command Examples on Linux - Dracula Servers Tutorials","og_description":"With the apt commands you can efficiently manage packages, resolve dependencies, and maintain a clean, stable Linux environment.","og_url":"https:\/\/draculaservers.com\/tutorials\/15-apt-command-examples-on-linux\/","og_site_name":"Dracula Servers Tutorials","article_published_time":"2024-11-16T10:00:02+00:00","article_modified_time":"2024-12-01T10:05:35+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/12\/Dracula-Servers-Thumbnail-77.png","type":"image\/png"}],"author":"Abdul Mannan","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Abdul Mannan","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/draculaservers.com\/tutorials\/15-apt-command-examples-on-linux\/#article","isPartOf":{"@id":"https:\/\/draculaservers.com\/tutorials\/15-apt-command-examples-on-linux\/"},"author":{"name":"Abdul Mannan","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/person\/ac89d0281f4fb596bfaa0bc1e746c8a6"},"headline":"15 APT Command Examples on Linux","datePublished":"2024-11-16T10:00:02+00:00","dateModified":"2024-12-01T10:05:35+00:00","mainEntityOfPage":{"@id":"https:\/\/draculaservers.com\/tutorials\/15-apt-command-examples-on-linux\/"},"wordCount":834,"commentCount":0,"publisher":{"@id":"https:\/\/draculaservers.com\/tutorials\/#organization"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/15-apt-command-examples-on-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/12\/Dracula-Servers-Thumbnail-77.png","keywords":["Apt package management","Learning Linux apt command","Linux Apt commands"],"articleSection":["Linux Commands","Linux Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/draculaservers.com\/tutorials\/15-apt-command-examples-on-linux\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/draculaservers.com\/tutorials\/15-apt-command-examples-on-linux\/","url":"https:\/\/draculaservers.com\/tutorials\/15-apt-command-examples-on-linux\/","name":"15 APT Command Examples on Linux - Dracula Servers Tutorials","isPartOf":{"@id":"https:\/\/draculaservers.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/draculaservers.com\/tutorials\/15-apt-command-examples-on-linux\/#primaryimage"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/15-apt-command-examples-on-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/12\/Dracula-Servers-Thumbnail-77.png","datePublished":"2024-11-16T10:00:02+00:00","dateModified":"2024-12-01T10:05:35+00:00","description":"With the apt commands you can efficiently manage packages, resolve dependencies, and maintain a clean, stable Linux environment.","breadcrumb":{"@id":"https:\/\/draculaservers.com\/tutorials\/15-apt-command-examples-on-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/draculaservers.com\/tutorials\/15-apt-command-examples-on-linux\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/draculaservers.com\/tutorials\/15-apt-command-examples-on-linux\/#primaryimage","url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/12\/Dracula-Servers-Thumbnail-77.png","contentUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/12\/Dracula-Servers-Thumbnail-77.png","width":1280,"height":720},{"@type":"BreadcrumbList","@id":"https:\/\/draculaservers.com\/tutorials\/15-apt-command-examples-on-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/draculaservers.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"15 APT Command Examples on Linux"}]},{"@type":"WebSite","@id":"https:\/\/draculaservers.com\/tutorials\/#website","url":"https:\/\/draculaservers.com\/tutorials\/","name":"Dracula Servers Tutorials","description":"Dedicated Servers","publisher":{"@id":"https:\/\/draculaservers.com\/tutorials\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/draculaservers.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/draculaservers.com\/tutorials\/#organization","name":"Dracula Servers","url":"https:\/\/draculaservers.com\/tutorials\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/logo\/image\/","url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/06\/dracula_full_logo_smaller.png","contentUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/06\/dracula_full_logo_smaller.png","width":1625,"height":200,"caption":"Dracula Servers"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/person\/ac89d0281f4fb596bfaa0bc1e746c8a6","name":"Abdul Mannan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g","caption":"Abdul Mannan"},"description":"An individual trying to decipher the enigmas of technology by the sheer driving force of curiosity. Interested in learning new skills and being better at those skills than the lot."}]}},"_links":{"self":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/3577","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/comments?post=3577"}],"version-history":[{"count":1,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/3577\/revisions"}],"predecessor-version":[{"id":3579,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/3577\/revisions\/3579"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/media\/3578"}],"wp:attachment":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/media?parent=3577"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/categories?post=3577"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/tags?post=3577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}