Mastering Linux Part 3: A Beginner’s Guide to APT and YUM Package Management
作者分享了初学Linux时因未更新包列表而安装失败的尴尬经历,并强调了包管理在Linux系统中的重要性。通过使用包管理器,用户可以轻松完成软件的安装、更新和卸载等操作。 2025-5-8 05:14:23 Author: infosecwriteups.com(查看原文) 阅读量:5 收藏

Yamini Yadav

image by unplash😁

I still chuckle when I remember my first week using Linux. I was so proud of myself for installing Linux Mint on an old laptop — until I tried to install a text editor and broke my system. My terminal was spitting out errors, and I had no clue what was wrong. It turned out I hadn’t updated the package lists, and I tried using random commands I found on the internet. By the end of that day, I felt like tossing the laptop out the window. 😅 That humbling experience taught me one of the most important lessons in Linux: package management matters.

Think of a package manager as your Linux system’s app store and assistant. In simple terms, a package manager is a tool that helps you install, update, and remove software on your computer.

Instead of downloading apps from a website or compiling code by hand, you tell the package manager what you want, and it handles the rest.

For example, when you want to install a program, the package manager automatically finds the program’s files, downloads them from a trusted repository, and installs them for you, along with any other pieces (dependencies)…


文章来源: https://infosecwriteups.com/mastering-linux-part-3-a-beginners-guide-to-apt-and-yum-package-management-d37742d4f822?source=rss----7b722bfd1b8d---4
如有侵权请联系:admin#unsafe.sh