Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How to Remove ARM-based packages?

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
pwzhangzz
Posts: 420
Joined: 2020-11-11 17:42
Has thanked: 9 times
Been thanked: 26 times

How to Remove ARM-based packages?

#1 Post by pwzhangzz »

During a recent system cleanup (sid, fully-updated), I fount that the ARM-based packages occupy at least 2GB of space:

ryzen@HX90:/usr/lib/arm-none-eabi$ du -hs
2.0G

Since I don't use arm CPU, what is the best way to remove these packages? And make sure they will never be reinstalled?

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: How to Remove ARM-based packages?

#2 Post by sunrat »

My sid system doesn't have that directory. Seems to be related to ARM development toolkit. Did you do an internet search before posting? You must have installed something to create it, only you can work out what you did.
You could check any installed arm packages:

Code: Select all

apt list -i |grep arm
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

pwzhangzz
Posts: 420
Joined: 2020-11-11 17:42
Has thanked: 9 times
Been thanked: 26 times

Re: How to Remove ARM-based packages?

#3 Post by pwzhangzz »

We always use the unofficial non-free hybrid (live) iso to install Debian, it includes the arm packages (at least 1.1G compressed):

ryzen@HX90:~$ cd /media/ryzen/d-live\ nf\ 11.3.0\ gn\ amd64/live/
ryzen@HX90:/media/ryzen/d-live nf 11.3.0 gn amd64/live$ sudo mount filesystem.squashfs /mnt/t1
[sudo] password for ryzen:
ryzen@HX90:/media/ryzen/d-live nf 11.3.0 gn amd64/live$ cd /mnt/t1
ryzen@HX90:/mnt/t1$ du -hs /usr/lib/arm-none-eabi/
1.1G /usr/lib/arm-none-eabi/

We have not experienced any problem after removing this folder.

(I think including the arm packages in the iso is a good thing, end users like us who don't care about arm cpu can always remove them after installation. Please do not change this practice.)

Post Reply