and another question, how to clear all cache or redundant or junk in fedora? what command line most of apps i install with .rpm extension
best would be to use dnf install
, which tries to resolve all dependencies. you can also use rpm -i
install rpms but rpm will not try to solve dependencies automatically.
please explain what you are trying to achieveā¦
Hi, hereās some sauce:
sudo dnf clean all
Also, read the post-upgrade section here if you really have OCD. =^)
like in windows junk files temporary files prefetch, in linux they have same thing? if have how to remove them to optimize my desktop
thankyou for this, iāll read thisāŗļø
Fedora has had tmpfs for a long while. It does a much better job of not writing junk by default.
the temp folder resides in RAM, so when you shut down your computer, all temp files are gone. Most app caches are located in your home directory - no need to delete them.
thankyou for clearing it up, and sorry of i have many questions. This is my first linux distro i useāŗļø
This makes no sense. Downloaded rpms are automatically deleted once the install process succeeds and the repository metadata is re-downloaded on every dnf update
process.
You donāt gain anything by running this command. I recommend using it only if dnf runs into problems.
This is true. Itās a one-line nuke command. But learning that updates take forever after doing this is just part of the natural learning process IMO.
Donāt be sorry, this place explicitly is for async communication.
this fedora distro and forum is so good. I think I made a good choice for what distro Iāll use
re-downloading if itās duplicated it will automatically delete? for example i run that command for multiple times even though not needed
it will just update the repo metadata. donāt worry, your are not wasting any hard disk space by not running dnf clean all
okay thankyouuu for both of you. Appreciated
You can also keep your metadata while safely deleting the unused rpm packages. How can you do that?
Try:
$ man dnf > /tmp/dnf.txt
Now open /tmp/dnf.txt
in your favorite editor, search for āCommand: cleanā, and put some wrinkles on that grey-matter.
copy, thankyou!!