Sunday, April 14, 2013

Installing packages from AUR - Archlinux

I wanted to install yaourt in my system which has archlinux installed. Yaourt is a nice tool when you want to search through the packages that are not present in the official repository. It is not available in the official repository, so it cannot be installed using pacman. Also the documentation of AUR provides a nice step by step instructions on how to install packages from AUR. To search for package, visit this link

Here are the list of steps that should be followed while installing packages from AUR.

  • Download the tarball of the PKGBUILD. Extract the tarball when downloading by running $ tar zxvf package_name. The storage location of the download will be folder: package_name
  • Download the actual package, The download link of the same will be given on the same page as above. Extract the tarball of the downloaded package. The storage location of the download will be folder: package_namev1
  • Now copy the PKGBUILD file downloaded in the first page to the folder the contains the source package. cp package_name/PKGBUILD package_namev1/
  • Now go the source package folder and run the commands:
    • $ makepkg(This will create a file named package_namev1.tar.gz, which can directly be installed with pacman)
    • $ sudo pacman -U package_namev1.tar.gz

The reason I have listed the above steps even though the AUR page has provided the step by step instructions, is because some of the steps like copying the PKGBUILD to the package source location and then running makepkg is not specified clearly.

Friday, April 5, 2013

The act of questioning

Here are the few brief points after discussion with one of the friend of mine. The topic was on what should be the right attitude when you are looking at things, when you are observing things, and when you are making certain conclusions out of it. I will get into the details of the discussion some other time, but below are few important points that came out of our talk:


1. Know the how and why of things before arriving at any conclusion
2. Always be curious to know why a certain thing happened instead of brooding over the results
3. The act of educating ourselves should result in us questioning every norm and every idea that is being followed.