Skip to content
Tutorial emka
Menu
  • Home
  • Debian Linux
  • Ubuntu Linux
  • Red Hat Linux
Menu

Tutorial Cara Melakukan Cleaning System Ubuntu Linux 24.04/Ubuntu 24.10/Linux Mint/MX Linux

Posted on October 27, 2024

Memastikan sistem Ubuntu Anda bersih dan efisien adalah hal yang sangat penting untuk menjaga performa optimal dan memperpanjang masa pakainya. Seiring waktu, berbagai sampah seperti file yang tidak diperlukan, paket yang sudah usang, dan konfigurasi sisa dapat menumpuk, berpotensi memperlambat sistem Anda dan menyebabkan masalah. Pemeliharaan rutin memastikan bahwa sistem Anda berjalan lancar dan tetap aman.

Langkah 1: Bersihkan Cache Apt

Cache APT menyimpan salinan semua paket yang diunduh. Seiring waktu, cache ini dapat tumbuh secara signifikan, menghabiskan ruang disk yang berharga. Membersihkan cache APT adalah cara mudah untuk mengosongkan ruang tanpa memengaruhi perangkat lunak yang telah Anda instal. Untuk membersihkan cache APT, buka terminal dan jalankan:

      sudo apt clean
    

Perintah ini akan menghapus file paket yang di-cache yang tidak lagi diperlukan.

      sudo apt-get --purge autoremove
    

Perintah ini akan menghapus versi kernel lama yang tidak digunakan sambil mempertahankan versi saat ini.

      sudo apt-get autoremove
    

Perintah ini akan secara otomatis mendeteksi dan menghapus paket yang tidak lagi diperlukan.

      sudo snap list --all
    

Kemudian, hapus versi yang tidak digunakan dengan menentukan nama snap dan nomor revisi:

      sudo snap remove <snap_name> --revision <revision_number>
    

Ganti dan dengan nama dan nomor yang sebenarnya dari daftar.

      sudo apt-get remove --purge <application_name>
    

Ganti dengan nama aplikasi yang ingin Anda hapus. Perintah ini menghapus aplikasi dan file konfigurasinya.

      sudo journalctl --vacuum-time=2weeks
    

Perintah ini akan menghapus file log yang lebih tua dari dua minggu.

      rm -rf ~/.cache/thumbnails/*
    

Perintah ini akan menghapus semua file di direktori cache thumbnail.

      sudo apt-get purge $(dpkg -l | awk '/^rc/ { print $2 }')
    

Perintah ini akan menghapus semua file konfigurasi sisa.

      sudo apt-get autoclean
    

Perintah ini menghapus paket yang tidak dapat lagi diunduh.

      sudo apt-get install bleachbit
      sudo bleachbit
    

Setelah BleachBit terbuka, Anda dapat memilih area sistem mana yang ingin Anda bersihkan.

Recent Posts

  • Is it Time to Replace Nano? Discover Fresh, the Terminal Text Editor You Actually Want to Use
  • How to Design a Services Like Google Ads
  • How to Fix 0x800ccc0b Outlook Error: Step-by-Step Guide for Beginners
  • How to Fix NVIDIA App Error on Windows 11: Simple Guide
  • How to Fix Excel Formula Errors: Quick Fixes for #NAME
  • How to Clear Copilot Memory in Windows 11 Step by Step
  • How to Show Battery Percentage on Windows 11
  • How to Fix VMSp Service Failed to Start on Windows 10/11
  • How to Fix Taskbar Icon Order in Windows 11/10
  • How to Disable Personalized Ads in Copilot on Windows 11
  • What is the Microsoft Teams Error “We Couldn’t Connect the Call” Error?
  • Why Does the VirtualBox System Service Terminate Unexpectedly? Here is the Full Definition
  • Why is Your Laptop Touchpad Overheating? Here are the Causes and Fixes
  • How to Disable All AI Features in Chrome Using Windows 11 Registry
  • How to Avoid Problematic Windows Updates: A Guide to System Stability
  • What is Microsoft Visual C++ Redistributable and How to Fix Common Errors?
  • What is the 99% Deletion Bug? Understanding and Fixing Windows 11 File Errors
  • How to Add a Password to WhatsApp for Extra Security
  • How to Recover Lost Windows Passwords with a Decryptor Tool
  • How to Fix Python Not Working in VS Code Terminal: A Troubleshooting Guide
  • Game File Verification Stuck at 0% or 99%: What is it and How to Fix the Progress Bar?
  • Why Does PowerPoint Underline Hyperlinks? Here is How to Remove Them
  • AI Bug Hunting with Semgrep
  • What is the Excel Power Query 0xc000026f Error?
  • How to Build Your Own Homelab AI Supercomputer 2026
  • Inilah Cara Mengaktifkan Fitur Vertical Tab di Google Chrome Biar Tampilan Browser Kalian Makin Lega dan Rapi
  • Inilah Alasan Kenapa elementary OS Adalah Pilihan Paling Pas Buat Pengguna macOS yang Ingin Coba Linux
  • Inilah Alasan Kenapa Windows Server Kalian Restart Terus Setelah Update April 2026
  • Inilah Alasan Layar TV Kalian Sering Kedip Hitam Saat Main Game dan Cara Mengatasinya
  • Inilah Rekomendasi HP Redmi Note RAM 12 GB dan Koneksi 5G Paling Worth It Buat Kalian
  • How to Use Claude Design to Create Prototypes, Slides, and One-Pagers Effortlessly
  • Claude Design Tutorial: How to Master AI-Powered SEO Design: A Beginner’s Guide
  • How to master realistic and uncensored cinematic AI image generation using DeepDream Generator
  • How to Capture Your Best Ideas Instantly Using Apple Shortcuts, n8n, and Ollama
  • How to Create Viral AI Animal Haircut Videos in Minutes
  • CrownPlay Konto‑Verifizierung – Schritt‑für‑Schritt Anleitung für deutsche Spieler
  • Coronavirus disease 2019
  • La modernidad de Chamartín, distrito financiero de Madrid.
  • New Text Document
  • Apa itu Spear-Phishing via npm? Ini Pengertian dan Cara Kerjanya yang Makin Licin
©2026 Tutorial emka | Design: Newspaperly WordPress Theme