Re: remove unwanted services/packages

2013-04-27 Thread Andrei POPESCU
[I know this is old but...]

On Vi, 12 apr 13, 10:51:50, Morel Bérenger wrote:
 Le Ven 12 avril 2013 10:30, binary dreamer a écrit :
  Hi. i have done a clean install of debian making use of the debootstrap
  and installing only the base system in a pcengines ALIX 2d13. This system
  will run only asterisk (CLI) and i need it to be as skinny as possible. i
  have removed exim4 and ftp. What other services/packages i could remove to

exim is not in base, maybe you also installed standard?
 
 The way I usually do big cleaning up is a little risky (and long to
 apply), but may inspire you:
 
 I use the aptitude ncurses interface, go at package's root and mark
 everything as needing to be removed. Vital packages then ask to enter a
 loong phrase, which I do not so they'll stay installed.

I less drastic method is to mark all installed packages as automatically 
installed (Shift-m). Aptitude will still offer to uninstall a lot of 
packages, just go through the list and press '+' on the ones you want to 
keep.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: remove unwanted services/packages

2013-04-27 Thread Arun Khan
On Fri, Apr 12, 2013 at 2:00 PM, binary dreamer
dreamer.bin...@gmail.com wrote:
 Hi. i have done a clean install of debian making use of the debootstrap and
 installing only the base system in a pcengines ALIX 2d13.
 This system will run only asterisk (CLI) and i need it to be as skinny as
 possible. i have removed exim4 and ftp. What other services/packages i could
 remove to make it as light as possible? There is nothing such as gui on this
 system.
 the installation of asterisk will take place by me from source.

 Some guidance please, to trim it down.

Try Voyage Linux [a], it is a stripped down derivative of Debian.
IIRC Voyage One also has asterisk included.
It comes with an easy to use shell utility that will create a bootable
image on a CF disk and you are good to go!

It works very well on the ALIX and Soekris boards.

[a] http://linux.voyage.hk/

HTH
-- 
Arun Khan
Sent from my non-iphone/non-android device


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAHhM8gCjuTVgmY4JW3Df8j_fhHEvUyyXS9=h8-ebyxsdr1-...@mail.gmail.com



Re: remove unwanted services/packages

2013-04-15 Thread Lázaro

Thread name: Re: remove unwanted services/packages 
Mail number: 4 
Date: Fri, Apr 12, 2013 
In reply to: Alex Mestiashvili 
 If you are limited in space than you can try to delete the man pages and
 documentation in other than your language. see localepurge package.

delete mans could be a chaos while uninstall packages, I use this script
for blank all the NOT ENGLISH man pages...

lazaro@utopian:~# cat /usr/local/bin/manclean.sh
#!/bin/sh
cd /usr/share/man || exit 0
for i in $(ls -l |grep -v man[0-9]|awk {'print $9'}); do
   for b in $i/*/*.[0-9].gz; do
   test -f $b  echo ''  $b
   done
done
# EOF

for blank ALL the man's pages, just strip the grep -v between |
You could also do the same with /usr/share/doc/'s content :D

lazaro@utopian:~# cat /usr/local/bin/desdoc.sh
#!/bin/sh
cd /usr/share/doc/ || exit 0
for doc in $(find /usr/share/doc -type f); do
   test -f $doc  echo ''  $doc
done
# EOF


Exim could also be very big, you could use msmtp-mta for replace local
mta and still get mails from cron ;)


Other big source of uneeded bytes are the logs, usin the same medicine

lazaro@utopian:~# cat /usr/local/bin/limpialogs.sh
#!/bin/sh
cd /var/log/ || exit 0
for logn in $(find /var/log/ -type f|grep .*[0-9]); do
   test -f $logn  rm $logn
done
for log in $(find /var/log/ -type f); do
   test -f $log  echo ''  $log
done
# EOF


OH! last but not less important

   aptitude clean




Que tenga un buen día y mucho sexo en la noche. Saludos




-- 
 Warning! 
100'000 pelos de escoba fueron
introducidos satisfactoriamente
en su puerto USB.





-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130414011034.GA8844@utopian



remove unwanted services/packages

2013-04-12 Thread binary dreamer
Hi. i have done a clean install of debian making use of the debootstrap and
installing only the base system in a pcengines ALIX 2d13.
This system will run only asterisk (CLI) and i need it to be as skinny as
possible. i have removed exim4 and ftp. What other services/packages i
could remove to make it as light as possible? There is nothing such as gui
on this system.
the installation of asterisk will take place by me from source.

Some guidance please, to trim it down.


Re: remove unwanted services/packages

2013-04-12 Thread Morel Bérenger
Le Ven 12 avril 2013 10:30, binary dreamer a écrit :
 Hi. i have done a clean install of debian making use of the debootstrap
 and installing only the base system in a pcengines ALIX 2d13. This system
 will run only asterisk (CLI) and i need it to be as skinny as possible. i
 have removed exim4 and ftp. What other services/packages i could remove to
 make it as light as possible? There is nothing such as gui on this system.
  the installation of asterisk will take place by me from source.

 Some guidance please, to trim it down.



The way I usually do big cleaning up is a little risky (and long to
apply), but may inspire you:

I use the aptitude ncurses interface, go at package's root and mark
everything as needing to be removed. Vital packages then ask to enter a
loong phrase, which I do not so they'll stay installed.
Then, I simple enable one by one packages which gave me features I need.

As I said, it is risky, and I do not think I would like to use such a
procedure on a computer which is not mine.

The other solution, far easier, faster and safer, but which need a full
re-installation, is to install debian, and when the installer asks you to
select packages you want, to uncheck all boxes, including base system.
Even without base system, you will have tools to install/remove packages,
including aptitude.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/d2f38ae93e8f66bd182aa35615ff59dd.squir...@www.sud-ouest.org



Re: remove unwanted services/packages

2013-04-12 Thread Brian
On Fri 12 Apr 2013 at 11:30:32 +0300, binary dreamer wrote:

 Hi. i have done a clean install of debian making use of the debootstrap and
 installing only the base system in a pcengines ALIX 2d13.
 This system will run only asterisk (CLI) and i need it to be as skinny as
 possible. i have removed exim4 and ftp. What other services/packages i
 could remove to make it as light as possible? There is nothing such as gui
 on this system.
 the installation of asterisk will take place by me from source.
 
 Some guidance please, to trim it down.

Without knowing what is on the system (dpkg -l), this becomes a guessing
game.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130412133954.GE30093@desktop



Re: remove unwanted services/packages

2013-04-12 Thread Alex Mestiashvili
On 04/12/2013 03:39 PM, Brian wrote:
 On Fri 12 Apr 2013 at 11:30:32 +0300, binary dreamer wrote:
 
 Hi. i have done a clean install of debian making use of the debootstrap and
 installing only the base system in a pcengines ALIX 2d13.
 This system will run only asterisk (CLI) and i need it to be as skinny as
 possible. i have removed exim4 and ftp. What other services/packages i
 could remove to make it as light as possible? There is nothing such as gui
 on this system.
 the installation of asterisk will take place by me from source.

 Some guidance please, to trim it down.
 
 Without knowing what is on the system (dpkg -l), this becomes a guessing
 game.
 
 
If you are limited in space than you can try to delete the man pages and
documentation in other than your language. see localepurge package.

Look also on this page: http://wiki.debian.org/ReduceDebian
Regards,
Alex


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51681b1c.7040...@biotec.tu-dresden.de