Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: List user installed software

  1. #11
    Join Date
    Nov 2009
    Beans
    Hidden!
    Distro
    Kubuntu 20.04 Focal Fossa

    Re: List user installed software

    you can use CLI or GUI based diff software. that's what it's called.

    diff is also a command in terminal to compare the two.

    just a list off the net so you see what is out there:
    • diff Command.
    • Vimdiff Command. ...
    • Kompare. ...
    • DiffMerge. ...
    • Meld – Diff Tool. ...
    • Diffuse – GUI Diff Tool. ...
    • XXdiff – Diff and Merge Tool. ...
    • KDiff3 – – Diff and Merge Tool.


    KDE uses Kompare on desktop for example.
    Read the easy to understand, lots of pics Ubuntu manual.
    Do i need antivirus/firewall in linux?
    Full disk backup (newer kernel -> suitable for newer PC): Clonezilla
    User friendly full disk backup: Rescuezilla

  2. #12
    Join Date
    Jul 2019
    Location
    Melb, Aus
    Beans
    60
    Distro
    Ubuntu

    Re: List user installed software

    In my usual affairs I am not often stumped when presented with logic problems and I like to think that my skills in critical thinking are better than the average bear. However, the logic of computing is regularly conceptually baffling. This has especially been the case since I began using Ubuntu. Unix-like computing is taking my noodle to places it has never been before.

    I looked into diff. Found instructive articles aimed at teaching how to use the command, how to interpret its output. Even the kindergarten level examples presented for demonstration did not entirely make sense. But I went ahead and had a try.

    Earlier in the thread commands provided by oldfred and Holger_Gehrke produced two output files.

    fred.txt (1882 lines)
    holger.txt (1552 lines)

    The column of package names in fred.txt was accompanied by another column with the only the word 'install' beside each package name. To prevent complications I removed all mentions of the word install. Then I did a few diff experiments.
    Code:
    cp fred.txt fred2.txt
    sed -i 's/install/ /g' fred2.txt
    Then I explored various diff options:-
    Code:
    diff -e holger.txt fred2.txt > H2F.txt
    diff -e fred2.txt holger.txt > F2H.txt
    diff -y holger.txt fred2.txt > yH2F.txt
    diff -y fred2.txt holger.txt > yF2H.txt
    diff -u holger.txt fred2.txt > uH2F.txt
    diff -u fred2.txt holger.txt > uF2H.txt
    I struggled to make sense of the output of any of these tests.

    After that I checked out options for comparison in GUI.
    Out of:
    • DiffMerge
    • Meld – Diff Tool
    • Diffuse – GUI Diff Tool
    • XXdiff – Diff and Merge Tool
    • KDiff3 – Diff and Merge Tool

    ...only Meld and KDiff3 could be installed to Ubuntu 20.04.
    KDiff3 installed with a number of issues including its show-stopping failure to recognise .txt files.

    Which left Meld. Like me, Meld grumbled about the size of the lists it was asked to compare.
    The colourised GUI outputs displayed in Meld were still not easy for me to interpret but I did make some headway.

    The larger output of Fred's command had more detail. It picked up a couple of items installed as Snaps which would not be installed via repos because they are not available there. In other instances it seemed to be more thorough. For example, qpdfview (a pdf viewer installed by me) was listed once in Holger's output but Fred's found additional plugins installed as well. Holger's output had one grub related listing; Fred's output had seven.

    Regarding an automated software install to a new system my session of testing with diff and Meld has led me to conclude I should just suck it and see. Do separate test installs using the methods described by oldfred and Holger_Gehrke and judge by the results. If as oldfred commented packages already installed will not be installed again the process shouldn't become wayward.

  3. #13
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: List user installed software

    sdiff is helpful in wide terminals. It is side-by-side diff. Easier for humans to understand.

    Unix has text processing for files as a very strong capability that non-unix people never learned.

    The trick to many text comparison solutions is to have only unique lines, sorted files, and identical spacing BEFORE comparisons.
    meld is pretty great.

  4. #14
    Join Date
    Jul 2019
    Location
    Melb, Aus
    Beans
    60
    Distro
    Ubuntu

    Re: List user installed software

    Quote Originally Posted by TheFu View Post
    sdiff is helpful in wide terminals. It is side-by-side diff. Easier for humans to understand.
    Thanks. It was easier to read than any of the diff outputs created.
    In another thread you suggested OP try geany and to launch it via sudoedit. I like it.

    Quote Originally Posted by TheFu View Post
    Unix has text processing for files as a very strong capability that non-unix people never learned.
    Oh yeah, its powerful alright. Every little way in which text and system operations can be manipulated has been carved up into seemingly innocuous commands each of which can be manipulated by permitted arguments. It's a massive matrix of possibility.

    Previously using MS Win I never found a way to get started with DOS command. Never really had a need to.
    It is not like that with Linux. Users have to dive in straight away.
    It's mostly been good for me so far. Baby steps and small ambitions.
    Really do appreciated the help here though.

  5. #15
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: List user installed software

    Quote Originally Posted by nought2 View Post
    Previously using MS Win I never found a way to get started with DOS command. Never really had a need to.
    That's because MSFT locked up all the configuration in DBs and called it "better." Foolish people. Gnome is doing that same crap now. The farther away from text that things are allowed, the worse it is for software freedom.

    Text is better than
    html is better than
    rtf is better than
    pdf is better than
    DB is better than
    docx is better than
    privately encrypted config files that aren't open to all.

    Text is the most universal format and should be the default whenever possible.

    IMHO.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •