<div dir="ltr">dpkg -l | grep '^i'<div><br></div><div>--</div><div><br></div><div>dpkg -l (lowercase L) lists all packages that are installed or otherwise known to the system (such as those packages you've removed but not purged). To filter the list to just installed packages we pipe the output (that's the | character which is shift+\) to grep which checks for lines beginning (^) with the letter "i" which is what dpkg -l outputs for installed packages.</div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 9 March 2014 17:34, Peter Smout <span dir="ltr"><<a href="mailto:smoutpete@gmail.com" target="_blank">smoutpete@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
</div><div><div class="h5">On 09/03/14 17:14, Jim Price wrote:<br>
> On 09/03/14 17:04, Nigel Verity wrote:<br>
>> Hi<br>
>><br>
>> The big day has arrived. I'm in a position to finish with all<br>
>> this dual-boot nonsense and give my Dell laptop entirely over to<br>
>> Xubuntu. If I use<br>
> GParted<br>
>> to delete the 2 partitions used by Windows 7, and then resize the<br>
>> Linux partition, it strikes me that Grub might get into a mess.<br>
>> I'm sure I could probably modify the Grub setup but is this<br>
>> approach more trouble than<br>
> it's<br>
>> worth? Would I be better off just starting from scratch with a<br>
>> fresh Xubuntu install? The reason I'd like to avoid this if<br>
>> practical is that it always takes me a couple of days to get<br>
>> everything just the way I like it<br>
> whenever<br>
>> I do a full reinstall.<br>
>><br>
>> Any advice most welcome.<br>
><br>
> What I do in such circumstances is to make sure I have an Ubuntu<br>
> server CD of the appropriate version so that if things don't boot<br>
> properly after removing partitions, I can just use it to re-install<br>
> GRUB. That's about the only thing which usually goes wrong. In case<br>
> anything else goes wrong, make backups and generate a package list,<br>
> so at least if you do have to re-install you can just restore your<br>
> home directory and re-install all your software easily.<br>
><br>
><br>
</div></div>For future reference is there a command to list installed packages?<br>
the one thing I need to make new installs easy!!<br>
<div class=""><br>
Pete S<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.12 (GNU/Linux)<br>
Comment: Using GnuPG with Icedove - <a href="http://www.enigmail.net/" target="_blank">http://www.enigmail.net/</a><br>
<br>
</div>iQEcBAEBAgAGBQJTHKYfAAoJEN21sR4u/WmY2FcH/iPMcmf/EKxIiHZHIjq6hzec<br>
oeTdNtBSKFOQmfSIRkzDOMbftwQ7x+8W4VTvs7Y99/MMCGgo9olt9j2N5d0U/Itg<br>
+fHBwoqP6OdpNJPp/vJ1LVCSaqZi3D5x46YlAZif34zB6Z8ZIMXtlGxsrmCWf21b<br>
dkOal/aEPTmdcicftQo5M3zWAOuod8lblhC6TlBQi2U2WseK78sbwlrwDQlCEBKf<br>
ZCyWQ4tz69926CUIAv6aulh5G7nLhBahY9jzsKob6ISFrpEAb38LSkGcM4C+6yIr<br>
8BgZlxyKCnGm70xiEQo0Jv8uWggi5Ki1XymUxDQeph5lkuXvd3Bslm+ettNYbsU=<br>
=pAh5<br>
-----END PGP SIGNATURE-----<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
<a href="mailto:ubuntu-uk@lists.ubuntu.com">ubuntu-uk@lists.ubuntu.com</a><br>
<a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk</a><br>
<a href="https://wiki.ubuntu.com/UKTeam/" target="_blank">https://wiki.ubuntu.com/UKTeam/</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Daniel Llewellyn
</div>