OtherTermux Settings

How to Clean Your Termux Storage – Clean Termux Storage

Clean up Termux Storage - Clean Termux Storage

Clean Termux Storage – So today I was working with Termux trying to introduce a new tool but I found my repository is full. Also, when I looked at Thehemx theme storage, it was 8GB. Currently, to clear these stocks, I can delete my Termux application information, but there are some important devices that I don’t want to delete, and practically all of you are facing similar problems. So in this post, I’ll show you how you can find out which files are taking up more space in your Termux and delete them individually without actually deleting Termux.


Clear the Termux repository:

When we use Termux, we install a tone app and after a while, we don’t need to use these tools, but there is no uninstall button on any device and we don’t realize which devices are taking up the most space and which devices should be deleted to clean up the storage in our Termux. System. To solve all these energy problems, we will use orders to help us identify all food records stored in Termux. This is not the way I found it on Reddit and you can check out this Reddit here.

To do this, we will use the du (Disk Usage) command, which will give us information about memory usage with Termux. This command comes in Termux Preinsatted so we can use it directly with any setting. Clean Termux Storage


1. Open the Files Folder in Termux : 

If you will be able to apply your order to your Termux home directory, you will not see any useful data, it will simply show you the disk usage of most documents in the home directory, disk check for each file set in Termux, go back to the files directory in Termux and where it can be available Run du order will give you information about disk usage Almost anything in Termux. Just use the order below to change the catalog of the record envelope.

cd /data/data/com.termux/files


2. Find the Top 10 largest Files In Termux : 

Now you can edit the order and see all the information about saving documents, but you can find the top 10 files of the latest features in Termux using the order below. You can also change the number from 10 to 5 or 20 to check the top 5 or 20 documents.

du -ha | sort -k1hr | head -n 10

Now after installing this command you will see a list of files that are using most of your storage. now you have to figure out what isn’t working for you. Just copy the path to the unusable file as shown in the image below. Clean Termux Storage


3. Delete unnecessary files in Termux: 

You are currently figuring out which record is most useful to you, and you can delete that document with a sub-order. If you are trying to remove them, don’t because you can usually install these resources. Before deleting anything, please copy private information, such as information obtained from the victim to your internal storage.

rm -rf ~/the-path-of-the-file-you-wanna-delete

Ex: rm -rf ~/./user/share/apache2/default-site/htdocs

Now if you don’t get any errors then that means the File is deleted Successfully. ( Clean Termux Storage )

Why is the internal memory of the Android phone full?

Phones are like one closet in your bed. Dirt collects. If you clean up your agency to the point where you have to spend more time looking for what you need. So, what will it take to get rid of that casual suit you have in your closet (what were you thinking?!) or a suit that is very, very small and in two different sizes ( I have to admit, you will never fit in the back ) and sometimes it’s better to get rid of the application, you don’t need more.

When you browse the web or use an app, temporary data, created and unwanted files often remain on your device. Then you run out of space on your mobile phone, in this collection are the causes of drops and other annoying problems like software crashes.

Free up disk space easily.

For those using Android 8.0 Oreo, a simple action like this is to go to Settings > Storage and then click on “free space”. If your phone runs on Android 7.0 Nougat (or a previous version, there is something that should not be, because you will always have to install software, update it, and you will have to handle each of them individually.

Go ahead and check it out and delete them, last time I brought strong enough to make it 5GB of free hard drive space right on the spot. On Android 7, open the Photos app (not for Samsung, gallery if you have a Samsung mobile phone), select Menu > settings > Location.

Here you have a list of downloaded files for their size and then take it away, you don’t have to. You’ll scrape it from a hundred MEGABYTES of files, but go ahead and take it with you, but every byte counts. On Android 7 and go to the Download app if you want to sort the files by size, then press and hold to activate or delete the file.

Fortunately, here in the “free space” section, we show you what apps to use for at least 90 days, and maybe that means you don’t want to have them, so please read the list and click delete. On Android 7, go to Settings > Applications > > > > > application manager and you will see a list of applications. If you don’t know any of them, click the button and choose the “Delete” button.

Note: Alternatively, you can periodically check “free space” to see if there are photos or upload, or publish, which will allow you to quickly and easily remove any effect.

After creating the android/data/com.termux directory via file manager or termux-setup-storage, you can access the external SD directly in this folder.


This was a simple post on how you can clean up the Termux repository without deleting all of Termux. This method is suggested by one of the developers of Termux. You can also remove all the useless tools we download from Github and you can also uninstall some big packages. If you have an idea for a post, don’t forget to write it below. I have covered all these commands in my post-Basic Termux Commands where you can download a free PDF to learn all basic commands in Termux. Thanks for reading Guys


Hello, I'm SUMAN from India. Learn about the termux app from Beginner to pro, At this Site, you will get all the working termux tools, I am also posting the best Termux GitHub tools.

Related Articles

Notify of
Inline Feedbacks
View all comments
Back to top button
Would love your thoughts, please comment.x

Adblock Detected


Please disable your ad blocker! This site is supported by the advertisement.

Please disable your ad blocker to support us !!