FreeBSD 14.0
I'm having a lot of trouble understanding installing and removing packages in FreeBSD
Problem 1:
I install a package (pkg install package_name) and several packages that are its dependencies are installed alongside it. Example 40 packages installed
So I will remove the package with the command: pkg delete package_name and this command removes 1 package. What do you mean if when I installed it it installed 40? Why don't you remove what he installed?
Question: What is the correct way to install and remove packages without leaving my system cluttered with installation garbage? Do I really have to remove 1 by 1 of the 40 packages or more that an installation did?
Problem 2: I understood that the pkg clean command would remove packages from my /var/cache/pkg folder that are not installed and in use on my system. But that didn't happen, he removed, for example, 7-zip-23.01~f6b3129741.pkg, which is installed on my current system and in use, and obviously countless others that are in use on my system! Like this?
I wish someone could guide me where I'm doing it wrong! Because as it is, it's a huge mess. Do I really need to remove one by one a program that installed 200 packages? And having to look in a folder that has 2,200 packages, one by one, which are installed on my PC, to remove them?
Thanks to anyone who can help!
I'm having a lot of trouble understanding installing and removing packages in FreeBSD
Problem 1:
I install a package (pkg install package_name) and several packages that are its dependencies are installed alongside it. Example 40 packages installed
So I will remove the package with the command: pkg delete package_name and this command removes 1 package. What do you mean if when I installed it it installed 40? Why don't you remove what he installed?
Question: What is the correct way to install and remove packages without leaving my system cluttered with installation garbage? Do I really have to remove 1 by 1 of the 40 packages or more that an installation did?
Problem 2: I understood that the pkg clean command would remove packages from my /var/cache/pkg folder that are not installed and in use on my system. But that didn't happen, he removed, for example, 7-zip-23.01~f6b3129741.pkg, which is installed on my current system and in use, and obviously countless others that are in use on my system! Like this?
I wish someone could guide me where I'm doing it wrong! Because as it is, it's a huge mess. Do I really need to remove one by one a program that installed 200 packages? And having to look in a folder that has 2,200 packages, one by one, which are installed on my PC, to remove them?
Thanks to anyone who can help!