I know there is lots of information on this around, but I still find it confusing. Please help me with this quick one liner.
What do I need to write and where to make this a permanent feature of my system?
This is the command:
sudo apt update &&\
sudo apt upgrade -y &&\
sudo flatpak update &&\
conda upgrade --all -y
Maybe call it with sudo updateall
Slight digression: I asked a question about upgrade appimage and snap a while ago. There exists appimagehub but it pooly supported at the current time and snap by design updates without user involvement and there is no way to change this I believe. The others here can be manually updated.
#!/bin/bash
as the first line). nextchmod a+rx
the file so its executable. finally make it available to anyone & everywheresudo ln -s /home/user/updateall /usr/local/bin/updateall
(or somewhere else you want in your $PATH), so anyone can execute it. it can also be done in other ways eg. your own ~/bin or using alias etcsudo bash -c 'apt update && apt upgrade'
and let other two run by themselves. But that's just my opinion.