How should we port installed packages between MX19 and MX21?

When you run into problems installing MX Linux XFCE
Message
Author
Huckleberry Finn

Re: How should we port installed packages between MX19 and MX21?

#11 Post by Huckleberry Finn »

OKie wrote: Sun Jan 02, 2022 8:25 pm... their user-installed packages ...
"Packages-installed-by-me.txt"


Edit: Noticed just now that the link was already posted on #5 :)

User avatar
Stevo
Developer
Posts: 14776
Joined: Fri Dec 15, 2006 7:07 pm

Re: How should we port installed packages between MX19 and MX21?

#12 Post by Stevo »

anticapitalista wrote: Tue Jan 04, 2022 3:08 pm How are you going to install python2? It is no longer in the Debian repos.
It's still there in all Debians, just not that it's the default python any longer: https://packages.debian.org/search?keyw ... ection=all

I wouldn't be able to build Pale Moon without it.

It's the python2-gtk packages that have been removed in favor of the gir1 type stuff that has replaced them.

User avatar
Stevo
Developer
Posts: 14776
Joined: Fri Dec 15, 2006 7:07 pm

Re: How should we port installed packages between MX19 and MX21?

#13 Post by Stevo »

sending qalculate-gtk 3.22 up to MX 19 and MX 21 test repo--works fine in my own install on MX 21, but use caution for MX 19 and check first if it will remove any packages.

User avatar
figueroa
Posts: 1106
Joined: Thu Dec 20, 2018 11:20 pm

Re: How should we port installed packages between MX19 and MX21?

#14 Post by figueroa »

@manyroads
Re: "old .cpnfig file toye the application names"
Do you mean old .config? Where do you find those application names? Lots of applications leave no footprints in .config.
Andy Figueroa
Using Unix from 1984; GNU/Linux from 1993

User avatar
asqwerth
Developer
Posts: 8027
Joined: Sun May 27, 2007 5:37 am

Re: How should we port installed packages between MX19 and MX21?

#15 Post by asqwerth »

Some have their configs in $HOME/.local/share or its various subfolders.

and other applications just have their dot files or folders in the parent folder of your $HOME. (eg Firefox's is in $HOME/.mozilla )

You should go through your $HOME carefully to detect all the necessary configs in the various dot files and dot folders/subfolders.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
manyroads
Posts: 2657
Joined: Sat Jun 30, 2018 6:33 pm

Re: How should we port installed packages between MX19 and MX21?

#16 Post by manyroads »

@figueroa @asqwerth Aside from all the typos (I made)... most (many?) of my apps do leave .config files for me to use as a reminder (yes I have to remove non-used apps from that folder as I remove them from my environment). Additionally a few of the big name ones such as Firefox, thunderbird have their own dotfiles. I find most often those apps are preinstalled with a normal installation. I do have about three apps which, depending on the distro, need to be remembered; they are zim (wiki), calibre, onlyoffice, zoom, skype, etc. I include those in my list for manual installation(s); on MX, I use MXPI as a reminder and installer because it has most of the unique items I use readily available. On arch and other different Debian based distros (like devuan, debian, sparky, siduction) I have additional lists I use to install my 'non-standard' quirky tools.

EDIT: It occurs to me you can also obtain an excellent list of installed apps from /usr/share/applications (also won't be complete but it will be helpful). Or you can use j4-dmenu-desktop to provide one, manually (which will be about the same).

As I noted this is a totally manual thing. However, once I have my 'scripts' everything flies very quickly. Maintaining the list is not problem. FWIW. I do the same basic thing to remove 'any unwanted' apps from distros after installation.

I'm pretty certain my list is quite different from the norm around here because of the unique window manager configurations and dependencies I prefer; but maybe not. Nonetheless, upgrading, reinstalling, rebuilding have all become quite trivial using this super (stupid?) simple (non-complicated approach). I can easily rebuild my complete setup three to four times a day on the same machine while changing distros and transferring my 500GB of data.

All the automated approaches I tried, mostly using arch, tended to be much slower, harder to keep under control and less portable. So I looked for an easier more simple approach. This is what I came up with for my use. FWIW. Both my master arch install list and debian install list are about 85% common.

For those who care, in the arch world I tend to use 'yay' as my method for installation (which requires it be made available). In the 'Debian world' apt works fine so long as the app(s) are available.

As an old codger it works fine for me.
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

User avatar
figueroa
Posts: 1106
Joined: Thu Dec 20, 2018 11:20 pm

Re: How should we port installed packages between MX19 and MX21?

#17 Post by figueroa »

@manyroads Thank you for your thoughtful reply.

A concatenation of your various approaches to "make a list" (like Santa Claus) is brilliant in it's simplicity. Most users should simply be able to refer to their desktop's Menu, cross check that for application name, and simply install those that were not already pre-installed. It's a lot less rocket-science than some make out.
Andy Figueroa
Using Unix from 1984; GNU/Linux from 1993

User avatar
manyroads
Posts: 2657
Joined: Sat Jun 30, 2018 6:33 pm

Re: How should we port installed packages between MX19 and MX21?

#18 Post by manyroads »

figueroa wrote: Wed Jan 05, 2022 1:11 pm @manyroads Thank you for your thoughtful reply.

A concatenation of your various approaches to "make a list" (like Santa Claus) is brilliant in it's simplicity. Most users should simply be able to refer to their desktop's Menu, cross check that for application name, and simply install those that were not already pre-installed. It's a lot less rocket-science than some make out.
You are very welcome Andy @figueroa . I hope some folks benefit from the approach.
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

User avatar
asqwerth
Developer
Posts: 8027
Joined: Sun May 27, 2007 5:37 am

Re: How should we port installed packages between MX19 and MX21?

#19 Post by asqwerth »

I've been advocating the same approach to make a text file with "sudo apt install [your list of manually installed packages] ' in so many previous migration discussion threads that I've stopped doing it since users can always make forum searches if they really wanted to.

I even posted my to do list that includes also then adding the flatpak apps and printer driver stuff that is separate from packages in the standard repos.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

Post Reply

Return to “Installation”