packages installed by default in linux mint 18.1 cinnamon <SOLVED>

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
hafid
Level 1
Level 1
Posts: 2
Joined: Sun Jun 18, 2017 6:41 pm

packages installed by default in linux mint 18.1 cinnamon <SOLVED>

Post by hafid »

I have installed linux mint 18.1 cinnamon 64bits.
After that I have added some new packages that I want to remove now but I don't remember them.

How can I get a list containing only the packages installed by default in linux mint?

I hope my request is sufficiently clear since English is not my natural language.
Last edited by hafid on Tue Jun 20, 2017 6:30 am, edited 1 time in total.
Mute Ant
Level 14
Level 14
Posts: 5129
Joined: Tue Sep 03, 2013 7:45 pm
Location: Norfolk UK

Re: packages installed by default in linux mint 18.1 cinnamon

Post by Mute Ant »

If you look in the Live Session ISO casper folder there's a file filesystem.manifest which lists all the packages used to build the distribution. A few of these, like ubiquity and gparted, are removed at the end of an installation.

In a running system you can get a list of all the installed packages with... apt-mark showmanual && apt-mark showauto ...but the default collection is gone, once you install extra software.
While you're waiting, read the free novel we sent you. It's a Spanish story about a guy named "manual".
User avatar
greerd
Level 6
Level 6
Posts: 1056
Joined: Sat Jul 31, 2010 10:58 am
Location: Nova Scotia, Canada

Re: packages installed by default in linux mint 18.1 cinnamon

Post by greerd »

You could probably also look in Synaptic > File > History and see what you've installed, I'm assuming that since you only just joined the forum that Mint is fairly fresh so there should be too much in the history.
hafid
Level 1
Level 1
Posts: 2
Joined: Sun Jun 18, 2017 6:41 pm

Re: packages installed by default in linux mint 18.1 cinnamon

Post by hafid »

I think that the solution can be summarized in the following steps:
  1. Get the file filesystem.manifest which can be found in the casper folder in the Live Session ISO. This file lists all the packages used to build the distribution.
  2. Use in a terminal the command

    Code: Select all

    dpkg-query -W > installedPackages
    to list in the file installedPackages , all the packages currently installed in the system.
  3. Use the command

    Code: Select all

    grep -Fxvf filesystem.manifest installedPackages > addedPackages
    to list only the packages added by the system administrator.
    We can also use the command:

    Code: Select all

    diff -y --suppress-common-lines filesystem.manifest installedPackages >comparePackages
    to compare the two files
Post Reply

Return to “Software & Applications”