14/07/2016

Share
it!


Pin It

Basic terminal commands for Manjaro Linux or any Arch based Linux distro

In our last post we explained how to install Manjaro, an Arch based Linux distro. Let's assume that you guys have installed it successfully but now you want to have more fun with it. Why don't we try installing some packages or have our way with the Terminal? But well how to use it's terminal? so we are again here to help you out about it. In this post we will be explaining some basic terminal commands for Arch based distro which are very useful in day to day life.
  • Command for updating system : If you used a debian based Linux distro earlier, then you must know how to update your system. In case of Arch it also work the same way but the only difference is command. To update your system use the following command:
    sudo pacman -Syu
To explain this command more properly take a look at below screenshot of our terminal.
Manajro linux 16.06.1



Manajro linux 16.06.1
  • Command for updating repository : It is always recommended to update your system after a fresh install of operating system. But if you want to update only repositories then it can also be done separately in Manjaro. To synchronise with your repositories just open up the terminal and type in following command: 
        sudo pacman -Syy
 This will only update your repositories and not the whole system. Take a look at below screenshot to understand it more accurately.
Manajro linux 16.06.1
  • Command to search specific package : Now let's think about installing packages via terminal. If you used Windows or other Linux distro before, then you may be worried if the same package is available in Arch or not. Well, we can do a quick search for it. To search a specific software package just type in the following command:
      pacman -Ss (package name)
We are going to explain this command by searching 0ad game. check out the below screenshot.
Manajro linux 16.06.1



  • Command to install package : We have done well job to search our required package on repository. Now it is time to install it. This process is also simple one and pacman takes care of additional dependancies while installing the package.
 sudo pacman -S (package name)
By adding package name instead of bracket you will be able to download and install the desired package. Let's try that with 0ad game.
Manajro linux 16.06.1
  • Command to install packages from AUR : There are few incidents when a particular software will not be available in Manjaro repository, but it will be available in Arch User Repository (AUR). To install a package from AUR simple pacman -S won't work. To do this you have to type in the following command in terminal:
 sudo yaourt -S (package name)
To explain this in detail we have installed chromium browser from AUR.
Manajro linux 16.06.1
  • Command to get details about installed package : You need to get detailed information about one of your already installed package? Well you can easily do it from terminal.
pacman -Qii (package name)
Just replace bracket with your desired package name that you have already installed in your system. For example we have used chromium browser.
Manajro linux 16.06.1
  • Command to remove package : There is always a need of uninstallation, even in this case too. You will find some packages that are no use to you and you will want to uninstall them. This can be done very smoothly with help of terminal.
sudo pacman -R (package name)
This command will find the already installed package and remove it. Again, we are explaining this more properly.
Manajro linux 16.06.1
This command will simply remove the package from the system, but the dependancies will be there. Alternate to this command a different command can be used to remove package as well as dependancies along with it.
sudo pacman -Rs (package name)
 Here are introduced few of the important commands in Manjaro or any other Arch based Linux distro. There are whole lot of commands but have the thrill of exploring them yourself. Stay tuned with us as we bring more and more cool stuff about Linux world.

4 comments :

  1. Thank you, Mr. Sumit Rohankar,it was useful at least for me. Please, write another paper about Linux Manjaro and its commands.
    Yours sincerely
    Sergey Tagay.

    ReplyDelete
    Replies
    1. Glad to hear that it helped you. About more things about Manjaro?? yes they are on the way and will be published now and then.

      have fun with linux.

      Delete
  2. Please write another materials about it (Linux vs Windows etc.)

    ReplyDelete
    Replies
    1. There are many already in our website and there will be more in our website ;)

      Delete

Feel free to ask any question or query.We are as friendly as we can be! : )

Blogger Widgets Related Posts Plugin for WordPress, Blogger...