Saturday, April 27, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1779  / 2 Years ago, sun, february 13, 2022, 1:32:32

I want to do some clean up and was wondering how can I see what packages I have never used or has been very long since I used them.


More From » 11.04

 Answers
7

UnusedPkg: A Tool to Search the Oldest Unused Packages in Ubuntu From Terminal



enter image description here



UnusedPkg sorts and lists down the oldest unused packages. The sorted list is displayed with the size, package name and number of days the package has been idle for.



With the help of the list , you can determine the packages that are unnecessary and needs to be removed from the system. You can download its .tar.gz package from the download link given at the end of the post.



To install the UnusedPkg in Ubuntu, extract the downloaded package archive and obtain the unusedpkg folder. Then, move the unusedpkg shell script inside that folder to /usr/bin/ folder.



If you don’t have the root access, you can run the script from the unusedpkg directory only.



Once installed, you can run the tool by running following commands in the terminal.



unusedpkg


Warning: To avoid any problem, before uninstalling or removing any package, you have to manually check its timestamps using unusedpkg info or manually with ls -alu



Download UnusedPkg


[#40193] Monday, February 14, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
cretanol

Total Points: 320
Total Questions: 99
Total Answers: 115

Location: Australia
Member since Sat, May 27, 2023
1 Year ago
cretanol questions
Fri, Dec 2, 22, 13:30, 1 Year ago
Thu, Dec 8, 22, 03:00, 1 Year ago
Mon, Aug 1, 22, 03:21, 2 Years ago
Fri, Sep 24, 21, 16:28, 3 Years ago
Sun, Apr 24, 22, 06:37, 2 Years ago
;