Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [strip]

The tag has no usage guidance.

1
vote
1answer
424 views

Remove .shstrtab with strip

I've noticed that strip removes ELF sections, such as .symtab and .strtab, but is there a way to force it to remove the .shstrtab section as well? I already tried the -R option but it didn't work. ...
0
votes
1answer
70 views

Samba4 giant on Solaris 11

On linux samba4 is about 60MB at least on Slackware. On Solaris 11 samba4 compiled by myself and installed is 104MB! So i try strip solaris original strip #!/usr/bin/bash set -e find . | xargs ...
6
votes
3answers
957 views

What harm would there be in running strip on all files?

I'm trying to decrease a Linux image running SuSE, and thought about running strip on all of the system's executables. Even though I may not re-gain much disk space this way, would there be any harm ...
6
votes
1answer
3k views

Why doesn't `strip` remove section headers from ELF executables?

A minimal ELF executable only requires the ELF header and at least one program header in order to be functional. However, when I run strip on a short executable, it decides not to throw out the ...
1
vote
3answers
1k views

Stripping down a Linux (CentOS7) system

How do I strip down a Linux system (especially CentOS 7) to only the parts that I need? I'm not asking for a specific command, but more for a hint to where I can find more about the packages that I ...
2
votes
1answer
383 views

Is it safe to strip the binaries in Linux Mint?

I am trying to reduce the disk space on my computer, and du shows that the library directories (/usr/liband /lib) and binary directories (/sbin, /bin, /usr/bin, /usr/sbin) take up the most space apart ...
6
votes
5answers
20k views

Stripping directory paths to get file names

What I am doing is converting mp3's with LAME. I already have an old script I wrote that works but I want to add to it this ability--to no longer delete the file but instead save it in a new root ...
7
votes
2answers
11k views

How much strip(1)-ing is okay for kernel modules?

I regularly create packages for Slackware Linux and part of the process is stripping binaries so that they take up less space. I find that if I strip --strip-all (or strip with no options) kernel ...
2
votes
1answer
4k views

Core files when the symbols are stripped

I am building an application using g++ 4.3. I am using the with maximum possible optimization level, not using the -g option, and I am stripping symbols after it builds. If I do NOT strip symbols ...
24
votes
5answers
2k views

How to strip a Linux system?

I've been building a Linux distro, and I've stripped the binaries, etc. The system won't use GCC or development tools, as it will be a Chrome kiosk, so it would greatly help if I could strip down the ...
36
votes
1answer
46k views

What are stripped and not-stripped executables in Unix?

From man file, EXAMPLES $ file file.c file /dev/{wd0a,hda} file.c: C program text file: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses ...
2
votes
3answers
2k views

How to reduce ncurses terminfo size

I notice that ncurses's terminfo database on /usr/share/terminfo is about 7MB (I compiled it myself). This is too large if I want to deploy it on an embedded Linux of 64MB disk space. Is there a way ...