Keeping the system clean

Hi all,

I’ve installed Suse 11.2 today. Been messing around with it a bit too. Installed some software, didn’t like it, removed it again. My problem is, these programs installed a lot of extra packages. Is there any way to get rid of these again? Because I don’t like the idea of filling up my installation with packages that I don’t actually use (since they came with software I now uninstalled).

Not really you could perhaps go through logs if it really bothers you. Next time you install you’ll just be more aware, or take backups before playing.

You could add another vote to this you never know perhaps 11.3 will be the one…
https://features.opensuse.org/300758

but I wouldn’t hold your breath.

I see that other distro’s like Ubuntu and Gentoo do have this… I don’t want to have to switch :X Hope something like this gets in soon. I’ll just mess around with it for a while and when I know what I want, I’ll do a clean install (and next time see if I can make a backup before doing anything, haha).

Well if it is that big a concern I guess you’ll be switching only you know whether it is such a big concern.

Whilst I’d like the ability, with a 300gb HDD I’m really not going to worry about several 100mb or even a GB.

Though I suspect comment 15 is still valid

We don’t have the resources to implementing this. Seems to be a prefect fit for a community project.

Every one is waiting for someone else to do it…

Edit
You also have some non-supported ways rpmorphan for example but careful usage is needed.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If the software you install is RPM-based you can see the order of all RPM
installs (including this one and its dependencies) via the following command:

rpm -qa --last > /tmp/allRpmsInDescendingOrder.txt

Anything installed seconds before your software is probably added by it.
Keep in mind that a lot of these dependencies will probably be needed
again and aren’t worth cleaning up now just to be added again in an hour
or two by something else.

Good luck.

On 04/24/2010 03:26 PM, FeatherMonkey wrote:
>
> Well if it is that big a concern I guess you’ll be switching only you
> know whether it is such a big concern.
>
> Whilst I’d like the ability, with a 300gb HDD I’m really not going to
> worry about several 100mb or even a GB.
>
> Though I suspect comment 15 is still valid
>
>> We don’t have the resources to implementing this. Seems to be a prefect
>> fit for a community project.
>
> Every one is waiting for someone else to do it…
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJL08e2AAoJEF+XTK08PnB5xB8QAJlQ+fjJEhclG1SVv+V2EG0k
RzyJjq9CIJlQEV/4VNJHhTjG9LxKgzPsuwPPud86KnOr42TMDFhigxa19M3ILWTY
vsOf8UlhrX4sjumC8eZHB+0MQdUSOr2lkKVq795XoRE7RZxspbH7Jg07ddUSCJcF
aGf2qoEf1be03SlCXqmEOJt+ewhX0ZN+LSt7Tx/fyBhUznvii1PR2l8F4v7qejBg
XFU/HXcFtS4dPXwJvgPYBHbuv17212rc+az3mSTeMjQ+VnX49CAil0TZjkpy4aj9
PP1vbwGq24mJ6kkUKgaLM9eZN903tKG/huuJWWff4ZxK1N8+M1Q9AZ07a5PxaIYz
hX8xzQnDjflK44+eDqDrSC0WpzH9FQ5B5eIRvcCDBQuEs0ti23vgZDF0JWA8TzRq
87KNnx0kzjKn09WCqEHHjQ+OQUviTx2Pufk9MCrz1J+91ySO7ygzd9gc2fMZ3A8j
q2vMpK5UFNi8Xv4o3FgbHsp3Xl1GRWVxvTAYHAN3y3AZr6XGJxLqm6R1/ETZibng
4+KHXI0kKvfKqzmtLl0p98qtiAcDoTWVpNYiJs6T1Uif+Y2PwCeF/BMV9h9t/MV3
/bvbKKmyNTqTVNKqAojuCRcqab0oKq2iqtNSMBiVF2be/HjknWc+foIaWVjOgIfl
/y1IVlWeh0HGW218AYPF
=wRg3
-----END PGP SIGNATURE-----

Neko Koneko wrote:

> I don’t like the idea of filling up my installation with packages that I don’t actually use

just some things to consider: if you both install and uninstall with
YaST it will normally remove everything it ‘knows’ is not being used
by something else…however, there will be a few odds and ends left
over, but usually not so much you really need to worry about it (if
you are running modern big capacity hardware/drives and don’t have it
already jammed up with Old BloatWare in a dual boot scenario)…

another thing to think about is that you will never live long enough
to try all the free software available…in fact, you won’t have the
time to just keep up with always loading/having the latest version of
everything you really like…

so, relax…Linux is not Redmond and you do not have to have it all,
or even the most current to be really cool (stable, dependable,
uninfected and etc)…


DenverD (Linux Counter 282315)
CAVEAT: http://is.gd/bpoMD
posted via NNTP w/TBird 2.0.0.23 | KDE 3.5.7 | openSUSE 10.3
2.6.22.19-0.4-default SMP i686
AMD Athlon 1 GB RAM | GeForce FX 5500 | ASRock K8Upgrade-760GX |
CMedia 9761 AC’97 Audio

Le 25/04/2010 10:10, DenverD a écrit :

> another thing to think about is that you will never live long enough
> to try all the free software available…in fact, you won’t have the
> time to just keep up with always loading/having the latest version of
> everything you really like…

I remember the (old) time where the SuSE cd YaST had a “all” option in
install… almost 15Go with all installed (however, that was not
really all, because some conflicts)

now what would be the size of “all”?

jdd

jdd wrote:
> now what would be the size of “all”?

well, it won’t fit on a DVD, or two or three…depends on where you
wanna stop considering “all”…i mean go to sourceforge.org and look
around…

then when you have gobbled up all the open source software for linux
go get some of the industrial strength stuff you must pay to
have…(like the kinds of packages used to make DreamWorks Shrek [try
this: http://www.google.com/search?q=shrek+linux] that stuff takes BIG
bucks and heavy duty servers)

but, take lots of drive space with you!!

this Linux is not for kids! there is a reason that 99% plus of the top
500 supercomputers in the world do not use Redmond software… cite:
http://www.top500.org/stats/list/34/os (and the reason is NOT just
because it is free)


DenverD (Linux Counter 282315)
CAVEAT: http://is.gd/bpoMD
posted via NNTP w/TBird 2.0.0.23 | KDE 3.5.7 | openSUSE 10.3
2.6.22.19-0.4-default SMP i686
AMD Athlon 1 GB RAM | GeForce FX 5500 | ASRock K8Upgrade-760GX |
CMedia 9761 AC’97 Audio

all distro specific – as in will run on openSUSE == probably > 500,000 packages
all free Linux – may or may not run on openSUSE > 10 million packages
all Linux compatible – may or may not run/may be free or non-free == Probably > 100 million packages

consider that there are over 30 known shells in regular use and maybe more not so well known and out of all those most people will find bash all they will ever need. If by chance you do need a different one you go and get it but you don’t go out and get every shell concievable.

If I test out some software which installs additional packages for dependency reasons, I just use konsole to keep me orientated of which packages have been added on.

Konsole: rpm -qa --last | less

Much like ab@novell.com said, but easier, in my opinion, if you take one step at a time and do not install everything at once.

Cheers

F Sauce wrote:

>
> If I test out some software which installs additional packages for
> dependency reasons, I just use konsole to keep me orientated of which
> packages have been added on.
>
> Konsole: rpm -qa --last | less
>
> Much like ab@novell.com said, but easier, in my opinion, if you take
> one step at a time and do not install everything at once.
>

IMO the zypper log is more detailed and more useful than rpm --last when you
are trying to track which packages were installed together.

Have a look at /var/log/zypp/history

F.E.
grep ‘|install|’ /var/log/zypp/history | tail -n10

gives the last 10 packages installed and where from.

Also, YaST GTK install interface has implemented an undo feature for 11.3
… its not perfect yet but is a big step in the right direction. Now we
just need someone to do it for YaST Qt …

YaST has two features that might be of help. The first is that you can export what is called ‘lists’ to textfiles. So, if you select a few packages for installation, you can go to the tab where those packages are listed (‘Installation Summary’), right-click on a package, and select ‘Export this list to Text File …’.

And secondly there is the feature to export/import package lists to/from .xml files. It is in the menu ‘File’. Looks quite promising, but I have never tried it.

Hi
There is always bleachbit and rpmorphan?
http://bleachbit.sourceforge.net/
http://rpmorphan.sourceforge.net/


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 10 days 10:58, 4 users, load average: 0.31, 0.47, 0.51
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 195.36.15

Ok, I haven’t used the zypper log.

Cheers

Doesn’t bleachbit do something else entirely?

rpmorphan is in the packman repositories, and I installed it and had a quick look. It lists quite a few packages, but amongst these there is for instance ‘libdvdcss’ which I distinctly remember installing when I followed OldCPUs restricted format how to. So it probably is just a helper, and not something to be blindly trusted?