Hello!

I'd like to offer a couple notes regarding your upgrade.

`apt list --list` may list more than what you've installed explicitly. It will include the packages installed by default in the system (/var/log/installer/initial-status.gz) as well as all the dependencies of packages you've installed.

Anyway - that makes for a useful complete list, certainly, but you can generally work from a much smaller list. I think the list you may want comes from `apt-mark showmanual` to list packages you've specifically installed. All this said, https://askubuntu.com/questions/1383951/apt-mark-showmanual-shows-almost-all-packages-messed-up seems to indicate that results based on manual installation flags can be problematic before 20.04, so YMMV (though you can exclude from your list based on the initial-status file above as well).

While you can do a bash loop and install the packages that way, you can also list a whole bunch on a single run, e.g. `apt install x y z q`. If you are adding >1000 packages, you're likely to run into a limitation doing it that way, but just mentioning - it'd be a little bit quicker (being able to skip identifying packages already installed via others, and running triggers fewer times, etc). Not that it matters all that much, but if you did come up with a list of just 50-100 you need, it's be a reasonable approach.

Note that there are changes between the packages in different versions of the OS. Some packages may no longer be available, having been abandoned, and others may be substituted with different packages and so on. While these suggestions will get you close, it may not quite be perfect. If you did opt for an upgrade instead (which works very well in my experience) such changes will often be pointed out to you and/or accommodated for automatically.

Finally, don't forget to check for any additional sources you may have added in `/etc/apt/sources*`

Regards,
Chris

On 1/13/22 17:59, gmcaplan--- via WLUG wrote:
Thank you. The Ubuntu info is concise, understandable, and helpful ... a great combination.

George

On 2022-01-13 3:56 pm, Tim Keller via WLUG wrote:

To your first question, you can get your list of installed packages on Ubuntu by running "apt list --installed" and piping that to a file and copying that off somewhere safe. You'll likely have to strip that file a bit.
Then once you've got that file, on your cleanly installed system you can enumerate over that file with a bash for loop and call "apt install package"
 
To your second question, I'm sure we've got an R nerd around here..
 
Tim.

On Thu, Jan 13, 2022 at 3:47 PM gmcaplan--- via WLUG <wlug@lists.wlug.org> wrote:
I was hoping to attend, but it looks like I will not be able to.
I hope it will be recorded because I, too, would like to learn about
emacs.
Also, I have two questions:
1. I am running Ubuntu 18.04 LTS. When I update to ver. 20 or 22, I
would prefer to do a "clean" re-install, but I have a question. Does
that mean I must get a list of all my installed software and re-install
them one at a time after I upgrade the OS? If so, is there an easy way
for me to get the list?

2. I have been learning to use the software language R. I have a couple
of questions and I would like to hear from anyone who has R experience.

Thank You.

George Caplan
  email: gmcaplan@gmcaplan.org


On 2022-01-13 1:12 pm, Michael Voorhis via WLUG wrote:
> On 1/13/22 12:58, Tim Keller via WLUG wrote:
>> Today he's going to show off some of his emacs foo.
>
> Will the talk be recorded?  I'd love to hear the talk but can't attend
> because of a conflict.
>
> --MCV.
> _______________________________________________
> WLUG mailing list -- wlug@lists.wlug.org
> To unsubscribe send an email to wlug-leave@lists.wlug.org
> Create Account: https://wlug.mailman3.com/accounts/signup/
> Change Settings:
> https://wlug.mailman3.com/postorius/lists/wlug.lists.wlug.org/
> Web Forum/Archive:
> https://wlug.mailman3.com/hyperkitty/list/wlug@lists.wlug.org/message/D2QDCTLVFZEYT42ZCGBC5SKTI37WBAEQ/
_______________________________________________
WLUG mailing list -- wlug@lists.wlug.org
To unsubscribe send an email to wlug-leave@lists.wlug.org
Create Account: https://wlug.mailman3.com/accounts/signup/
Change Settings: https://wlug.mailman3.com/postorius/lists/wlug.lists.wlug.org/
Web Forum/Archive: https://wlug.mailman3.com/hyperkitty/list/wlug@lists.wlug.org/message/VBG7TLK3AUOTU67FCR6G2PKLTFORJ3UE/

 
--
I am leery of the allegiances of any politician who refers to their constituents as "consumers".


_______________________________________________
WLUG mailing list -- wlug@lists.wlug.org
To unsubscribe send an email to wlug-leave@lists.wlug.org
Create Account: https://wlug.mailman3.com/accounts/signup/
Change Settings: https://wlug.mailman3.com/postorius/lists/wlug.lists.wlug.org/
Web Forum/Archive: https://wlug.mailman3.com/hyperkitty/list/wlug@lists.wlug.org/message/RDEN4XFEJ6V6GHQFWYQ3CTLYBI3F5YYT/