Is any way to determine which package has been installed by user??

Is it possible have info from dpkg or some other utility who/which actually install a package. My goal make selection only for packaged installed by user without dependencies. :huh:

I am not sure what you mean exactly. Can you elaborate on that?
Also did you already take a look at the manpage of apt-get? Maybe you found the option there.

I mean only packages which has been selected by user directly as by command “apt-get install” or installed by muon/software center.

I don’t think this is possible. But take a look in the manpage

Actually it is possible but for some reason in tricky way.

$ comm -23 <(apt-mark showmanual | sort -u) <(gzip -dc /var/log/installer/initial-status.gz | sed -n 's/^Package: //p' | sort -u) apt-clone baloo4 bzr bzr-fastimport etckeeper git htop libxcursor1:i386 skype:i386 sni-qt:i386 steam:i386
So only lattest 4 wasn’t installed by me and probably balloo thing… But I suspect it just has been selected by some post-install script. But in my real system it makes real weird ouput with packages like xorg-* and so on… definetly not user space and not installed in manual way.

I think I’ve found why it’s so weird on my real system I have no file inital-status.gz. How it’s possible?? :huh: Can I just use this from another installation??