Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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
add comment

2 Answers

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
add comment

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
add comment

Your Answer

 
discard

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.