Re: List manually installed packages for a machine migration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2024-10-24 at 02:38 -0400, Jeffrey Walton wrote:
> Does anyone know of a good strategy (or have a script) to list
> manually installed packages;

My strategy won't help you now, but may in the future.  When I install
extra packages, I log them to a post-install text file.

In my case, the few things I do add after a fresh install, I'll do from
a terminal as root.  I just cut and past "dnf install named" (or
whatever it was) to a post-install.log file.  There's so few of these
things that I can simply do the reverse (copy and paste from file to
terminal).

I type in a few notes about configuration customisations I've done,
too.  By way of example, here's the entire thing from an old CentOS
box:

-----------------------------------------------
yum install httpd
yum install dovecot
yum install evolution
yum install vlc
yum install smplayer
yum install bind-chroot

Insert into /etc/cups/cupsd.conf
ServerAlias *
-----------------------------------------------

As you can see, I didn't change much from the default install.  But if
you did lots of post-install additions, you could write such a log as
an executable script to automate things.  Or simply, just write all the
packages to a single command line:

yum install httpd dovecot evolution vlc smplayer bind-chroot

And as far as seeing things you didn't install on your system, it's
likely they were dependencies.  They may not be the same, now, let a
new install of your desired programs drag in what they need.
 
-- 
 
uname -rsvp
Linux 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 

-- 
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux