Hi All,
Over the previous 20 years I’ve used at home mostly Mandriva, then kUbuntu and just installed a Manjaro. So I am not “new to Linux” but still new to Manjaro/arch. Has anyone a good “primer” for people migrating ?
A few questions I have
-
How does pacman work compared to apt-get ? and how to find in which package an command lies. I struggled a bit to get lsinput (to configure a rudder pedal for flight sim)
-
I am struggling a bit with Zsh, like I ended up starting bash to configure an environment variable, any ressources on-it. Or shall I simply change my setting (and how) to use bash that I know a bit. It’s a home/Gaming PC so I don’t plan to use the console that much but as anyone who has been using linux based OS for a while, I find-it more conveinient
Manjaro has Pamac installed out of the box. Its commands are much more readable:
Install:
pamac install {software}
Remove:pamac remove {software}
Update:pamac update
. You can just runman pamac
and read that, it’s concise and self explanatory.You can also use Pamac-gtk (the GUI app-store). I recommend the GTK4 version. Just run
sudo pamac install pamac-gtk
it will prompt you to replace pamac-gtk3.You can enable the AUR by opening the GUI store (it will be called “add/remove software” in the app menu) > three dot menu > preferences (will prompt for password) > third party > Enable AUR support.
Only use the AUR as a last resort; check if the app is on flathub first, then the official repos, and finally check the AUR. You can add flatpak support by installing the
flatpak
package and thelibpamac-flatpak-plugin
optional dependency.If you want updates to be as fast as they’d be on Arch you can switch to the unstable branch, and now you can’t blame Manjaro for your AUR problems.
I am not sure what this means, but if you meant how to check what commands a package provides, then you can search for the package in the app-store and scroll down to “provides” everything under that section is commands the package provides.
You can edit the
~/.zshrc
file to add your aliases and permanent environment variables.On Arch based distros you can also add environment variables in the
/lib/environment.d
file asKEY=value
, for setting firefox to use Wayland for example.If you want to switch from ZSH to BASH here’s how.
Please don’t recommend beginners to switch to the unstable branch.
It will break (because it’s not stable), they will have no idea how to fix it, so they switch distro and tell people how Manjaro sucks.