How to autoremove unnecessary drivers and unused applicatns?

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

How to autoremove unnecessary drivers and unused applicatns?

Postby chdslv » Sat Oct 01, 2011 4:17

How to autoremove unnecessary drivers?
Also How to autoremove unnecessary dependencies and clean the system?
How to autoremove unused applications and dependencies
chdslv
Young Hen
 
Posts: 35
Joined: Mon Jan 04, 2010 8:04

Re: How to autoremove unnecessary drivers and unused applica

Postby raman » Sat Oct 01, 2011 9:55

I don't think so, that is a method to autoremove what you want. I know that exists some scripts to do something like this, but I can't point it now where I saw. I don't recommend this scripts without a knowledge, what you are doing.
You must know what are you using and remove this programs, what you are not. The programs are removed with depediences.

So if you like use to listen music by Amarok, simple remove another programs by equo, or sulfur. Depediences will be removed automatically.
raman
Advanced Hen
 
Posts: 236
Joined: Mon Sep 06, 2010 17:18
Location: Poland

Re: How to autoremove unnecessary drivers and unused applica

Postby chdslv » Sat Oct 01, 2011 11:18

My laptop has Nvidia, so I don't need Ati-userspace, so I would like to remove that, as every time I want to upgrade, it tries to upgrade ati-userspace too, which is more than 20 MB.
I have mistakenly clicked yes to installing many languages, and I don't want upgrade of these. I'd like to remove them too. I have installed localepurge, which gave back lot of space. Only, I don't know whether those languages are also removed.

I know the normal remove process using equo/sulphur. Before upgrading, I carefully removed all unnecessary games etc, but I can't get rid of ati-userspace.

Thanks, anyway!
chdslv
Young Hen
 
Posts: 35
Joined: Mon Jan 04, 2010 8:04

Re: How to autoremove unnecessary drivers and unused applica

Postby batvink » Sat Oct 01, 2011 13:50

hi there,

i don't have ati-userspace installed, 'cause i have NVidia also, but as far as i can see ''x11-drivers/ati-userspace-11.8'' does not pull dependencies.
Code: Select all
sabayon aposteeltje # equo install ati-userspace --pretend
>>  @@ Dit zijn de gekozen pakketten:
>>    # (1/1) [sabayonlinux.org] x11-drivers/ati-userspace-11.8
>>     Versies: niet geinstalleerd / NoTag / NoRev ===> 11.8 / NoTag / 0
>>      Actie:           Installeer
>>  @@ Pakketten die betrokken zijn: 1
>>  @@ Berekenen van afhankelijkheden ...
>>  @@ Dit zijn de pakketten die zouden worden geinstalleerd:
>>  ## [N] [sabayonlinux.org] x11-drivers/ati-userspace-11.8|0
>>  @@ Pakketten die moeten worden geinstalleerd/geupdate/gedowngrade: 1
>>  @@ Pakketten die moeten worden verwijderd: 0
>>  @@ Pakketten die moeten worden geinstalleerd: 1
>>  @@ Pakketten die moeten worden geherinstalleerd: 0
>>  @@ Pakketten die moeten worden geupdate: 0
>>  @@ Pakketten die moeten worden gedowngrade: 0
>>  @@ Download grootte: 33.0MB
>>  @@ Gebruikte schijf ruimte: 116.2MB
>>  @@ Je hebt minimaal nodig: 182.1MB aan vrije ruimte
sabayon aposteeltje #

So i think it should be safe to remove that package.
just open your terminal, and as root type:
Code: Select all
equo remove ati-userspace --pretend

this way, nothing happens, but entropy shows you only what would happened, if you actually remove that package.
If no dependencies are pulled, (other packages), you can safely run the command again, without the ''--pretend'' option.

If there are dependencies, you can still remove the package if you want, but instead, use the ''--nodeps'' option:
Code: Select all
equo remove ati-userspace --nodeps

so entropy only removes ati-userspace and not it's dependencies.

But how come that you have ati installed, if your laptop has NVidia ?
Did you manually installed it?
User avatar
batvink
Old Dear Hen
 
Posts: 495
Joined: Sun Oct 28, 2007 11:44
Location: the netherlands

Re: How to autoremove unnecessary drivers and unused applica

Postby genfool » Sat Oct 01, 2011 14:44

good advice above, always use --pretend first to see what will be removed. Then try it with --nodeps
If you are unsure, try the commands as user, will only run as pretend.

entropy is very good with handling deps.It will give them to you, and take them just as well.
You can equo remove ati-drivers and looks pretty safe, since it is a dep of xorg-server. When you get a xorg-server update ... they will be pulled back in. I would guess if you ran a equo deptest && equo libtest , would see them missing and pull them in. This is a feature of a binary distro, needs to work for everyone, not just nvidia users.
Is only a little disk space, not worth the trouble to remove.

I once *cough* twice removed grub. It will take all your kernel and kernel modules with it. while equo remove grub --nodeps is safe and only removes grub.
A harmless package like cups on my system, will remove 519 inverse deps.... leaving me with a re-install.

ALWAYS ... use pretend first to see what it will do.

imho, a better way might be to install corecdx and build a small lightweight system, then to take a full system and make it lightweight.
genfool
Technological Hen
 
Posts: 342
Joined: Fri Apr 03, 2009 17:56
Location: Albuquerque, NM

Re: How to autoremove unnecessary drivers and unused applica

Postby chdslv » Sun Oct 02, 2011 6:03

I think we should have the ability to remove any application. It simply won't remove ati-userspace, and it would download upgrade to it.

Then again, we have another problem - it doesn't see eth0. Ifconfig shows only lo and wlan0.

Maybe I'd try corecdx, but will it see eth0?
chdslv
Young Hen
 
Posts: 35
Joined: Mon Jan 04, 2010 8:04

Re: How to autoremove unnecessary drivers and unused applica

Postby batvink » Sun Oct 02, 2011 21:59

chdslv,
You can not just simply remove any application, without consequences. you must know what you're doing., because of the many dependencies some apps have.
for example: if 'dev-lang/spidermonkey' is installed, and you would "just simply" remove it,
it also would remove avant-window-navigator-extras, vlc, xulrunner
and gnome-shell.. without a warning!!!....
before you know, you end up with a broken system, or programs that doesn't work anymore.
User avatar
batvink
Old Dear Hen
 
Posts: 495
Joined: Sun Oct 28, 2007 11:44
Location: the netherlands

Re: How to autoremove unnecessary drivers and unused applica

Postby batvink » Sun Oct 02, 2011 22:22

what Desktop Environment are you using, (KDE, Gnome, LXDE, ....)
and (as root) can you show me the output of "rc-update show" and paste it here?
User avatar
batvink
Old Dear Hen
 
Posts: 495
Joined: Sun Oct 28, 2007 11:44
Location: the netherlands

Re: How to autoremove unnecessary drivers and unused applica

Postby albfneto » Mon Oct 03, 2011 18:44

a problem to remove aplications and unnecessary drivers in Gentoo based Linux Distros is the occurrencie of cross dependencies.
ex. Compiz runs without sexy-python, but if you install sexy-python, Compiz runs better.
Now, in a moment, you want to remove sexy-python. Now, Compiz will removed together, it turned dependence.
another example. you have a KDE Sabayon or Gentoo. you install XFCE.... XFCE "taken" KDE dependencies...
But if the Sabayon or Gentoo installation is GNOME based, XFCE will taken GNOME dependencies.
Is a caractheristic of Gentoo based Linux.
Sometimes, you not use the package directly, bu the system may use it.
ALBERTO FEDERMAN NETO
albfneto
[email protected]
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1705
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil


Return to Entropy|Equo|Rigo Package Managers

Who is online

Users browsing this forum: No registered users and 1 guest