Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running 64-bit OpenSUSE. My partition is filling up and running out of space.I need to delete some programs and librarires. How can I find all 32-bit libraries and delete them? Can I use yast to delete all 32-bit programs and libraries?

share|improve this question
Seriously: Get a larger disk. – Martin Schröder Feb 23 '13 at 13:58

Programs are installed as either 64-bit or 32-bit versions, removing 32-bit versions will remove those programs from your system completely.

So when it comes to freeing up diskspace there is no point in differentiating between 64 or 32-bit, you should simply uninstall programs you don't want to use anymore or remove some other data.

share|improve this answer

To look up binaries that are 32 bit long :

 find $(echo $PATH | tr ":" " ") -type f -exec bash -c '
      file $(readlink -f "$1") | grep "ELF 32" | cut -d: -f1
 ' -- {} \;
share|improve this answer
This isn't very useful as most binaries probably come via packages and must be removed with rpm -e, not rm. – Gilles Feb 22 '13 at 22:55
$PATH var you can use echo ${PATH//:/ } – Rahul Patil Feb 23 '13 at 3:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.