How to Clear Ubuntu Software Center History
Have you ever installed a software using the Ubuntu Software Center, but wanted to clear the history of the installation? This easy guide will show you how to remove the history from Ubuntu Software Center using a few terminal commands....
Method 1 of 2:
GUI Method
- Navigate to your home folder and show the hidden files. To show the hidden files, press Ctrl+H. Then find the folder named .cache and open it.
- Find the folder named software-center. Then double-click on it to open it.
- Edit the file named apthistory.p. Open apthistory.p Delete all the contents in the file and save it before closing it.
- Navigate to
/var/log/apt/
. Then open the history.log file an administrator and delete all its contents, as in step 3. - Open up the Ubuntu Software Center. Click on the History tab. You will see that all the entries are cleared.
Method 2 of 2:
Terminal Method
- Open the terminal. This can be done by pressing Ctrl+Alt+T together.
- Clear the cache history file. Type the following command into the terminal: sudo rm -rf ~.cache/software-center/apthistory.p. You will be required to provide an administrative password for this operation.
- Clear the APT history log. Insert the following command: sudo rm -rf /var/log/apt/history.log*.
- Open up the Ubuntu Software Center. Click on the History tab. You will see that all the entries are cleared.
4.2 ★ | 5 Vote
You should read it
- How to use the command history function in Command Prompt
- Download OBS - Open Broadcaster Software 26.1
- Synthesis of the best 6 phone learning applications on the phone
- What is open source software?
- How to Become an Open Source Enthusiast
- How to turn off the history of opening applications in Windows 10
- How to find open web pages in incognito mode
- What is the difference between open source software and closed source software?
- How to View Your Browser History on a Mac
- How to Recover Deleted History in Windows
- How to Check Google History
- Warning: The number of vulnerabilities in open source software are increasing rapidly
Maybe you are interested
OpenAI Introduces ChatGPT Projects: New Features to Organize Smarter Conversations
8 ways to open Programs and Features tool on Windows
How to turn off automatic opening of PDF files after downloading on Chrome
OpenAI Announces ChatGPT Pro Plan for a whopping $200 per month
12 ways to fix Adobe Acrobat Reader not opening PDF files on Windows
OpenAI is close to striking a deal with Samsung to use its AI features in Galaxy phones