Searching for tips or advice on a Manjaro clean install

Oh, nice!
Thanks, that give me a general idea how It’s gonna look like, and It’s well organised too!

1 Like

Btw, how you guys deal with updates?
I usually just do sudo pacman -Syu
Sometimes I need to do sudo pacman-mirrors --fasttrack && sudo pacman -Syyu
To update Flatpaks and AUR I always used Pamac GUI but I know that there are some commands to do these updates too (probably I should start doing that way)…
To manage Flatpaks permissions I use Flatseal, it helped me a lot with some apps like MegaSync to work correctly…
I usually do not use AppImages but I used Gear Lever sometimes to manage them and It´s very good, don’t know if there are other good alternatives…

For flatpaks - flatseal and add warehouse to the mix (of course everything can be done with the terminal, but is easier that way).
For appimage - appimagelauncher. This can also update some of them. For some others i have made a primitive update notification script (see my other own topics).

Also, some of the stuff i use on a daily basis can be found in my chest sheet - scroll down for the latest version.

1 Like

Use pacman to update from official repo’s:

sudo pacman -Syu
sudo pacman-mirrors --fasttrack && sudo pacman -Syu
sudo pacman-mirrors --continent && sudo pacman -Syu

after that use pamac to handle foreign packages:

pamac update
# Update including AUR
pamac update --aur
# Update excluding AUR
pamac update --no-aur
1 Like

Thanks, since using Manjaro I had two problems in updates (one power failure and other an AUR package update borked the system), both solved by restoring a snapshot trough timeshift.
I once had a problem with flatpaks, I was using Kodi flatpak and the app freezed and I had to close it trough task manager, after a reboot flatpaks just didn’t launch anymore; I did
flatpak repair and later
sudo flatpak repair --reinstall-all to no avail, timeshift saved me again that time!

Didn´t know warehouse, neat app; I´m gonna check appimagelauncher too even though I rarely use appimages…

A golden rule-of-thumb is to always use a package from the official Manjaro repositories, if it exists. The package will have been especially curated, and may even contain modifications or fixes specifically for Manjaro, where other sources may not.

For example, in the case of Kodi:

# Search for a package (official repositories):
pacman -Ss kodi

# Search for information about that package:
pacman -Si kodi

# See if you have a package installed already:
pacman -Qs kodi

# Find information about the local package:
pacman -Qi kodi

# Install the package (note the use of `sudo`):
sudo pacman -S kodi

You will see people recommending pamac and pacman equally (or sometimes biased toward pamac). I will always recommend only pacman when performing a system update, and in this format:

sudo pacman -Syu

# Or, if attention to mirrors might also be needed:
sudo pacman-mirrors --fasttrack && sudo pacman -Syu
sudo pacman-mirrors --continent && sudo pacman -Syu

See also: pacman-mirrors

If you really must use foreign AUR packages, flatpak or appimage, use pamac for those, preferably after using pacman:

# Build a package from AUR:
pamac build <packagename>

# Install a containerised package (flatpak or appimage):
pamac install <packagename>

# Update and include AUR packages:
pamac update --aur

# Update including flatpak/appimage but not AUR packages:
pamac update --no-aur

# Update everything (not my preference):
pamac update

I hope this is helpful. Cheers.

1 Like

Thanks, I always use pacman first to do system updates, only then I update the rest (flatpaks and AUR).
I rarely use AUR, everything I need is in the repositories or via flatpaks, in some cases I prefer flatpaks over Manjaro repositories like for ex: Discord.

I’m glad you’re gleaning some useful information from these posts. You must have collected a few notes by now. However, the thread is already close to 30 posts with arguably no end in sight, so I’d suggest it’s time to move on to the traditional one issue per thread model; with perhaps a brief thankyou to all those involved.

Cheers.

2 Likes

Yes, it helped me a lot about what I’m gonna to do on the new install once my laptop is available, thank you so much to all of you guys !!!

1 Like

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.