Thursday, June 27, 2013

Chakra Linux - Installing applications

Posted in
From the last post we talked about Introduction to Chakra Linux. Today lets talk about installing applications you want.

As you install Chakra u have to reboot the system. Now start installing other applications you want.

#1. upgrade your system and database
for that you can use the command
   sudo pacman -Syu
 
to upgrade database
    sudo pacman -Syy
 
if you get an error saying you have to upgrade pacman to perform your operation, upgrade pacman first,
   sudo pacman -S pacman

Then you can upgrade your system and database

#2. Now we have to install a meta-package, it isn't really a package, its a script that install whole bunch of packages in one shot.
Now we're installing a meta package called "base-devel", which installs a basic set of development tools.
   sudo pacman -S base-devel

#3. In order to install packages from CCR you should install ccr and base-devel first.
To install CCR
   sudo pacman -S ccr

After you installed ccr and base-devel make sure you upgrade the system and database, then reboot your system.

Now, time to install applications you want.

#4. QT applications, these packages are in repositories, you can easily install them by typing
   sudo pacman -S package_name

#5. GTK applications, open bundle manager and install from it.

If your bundle manager is empty don't worry! after searching on internet what i found was Chakra has added a new repository called "extra", which contains apps in bundle manager.
To activate "extra" repository, type the command
   sudo pacman -Sy filesystem-extra

to check the apps in extra repository, use
   sudo pacman -Sl extra

try to install a GTK app u want
  ex- sudo pacman -Sy gimp

After activating "extra" repository if you get an error when you try to install a GTK application(gimp) it means still your extra repositories are not activated. This happened to me and what i did was i edited my "pacman.conf".

Open pacman.conf as root,
Path to file : /etc/pacman.conf

Paste this in repository section
  [extra]
  Include = /etc/pacman.d/mirrorlist

Then try to activate again using "sudo pacman -Sy filesystem-extra" and upgrade system and database.
Now i hope you can easily install GTK apps you want, Mine works like a charm

#6. To install CCR packages use
   ccr -S package_name

You don't need to be root for this.

Few commands to install some important applications

Web browser-Chromium

   sudo pacman -S chromium

Web browser-Firefox

  sudo pacman -S firefox-kde

emacs

   sudo pacman -S emacs

VIM

   sudo pacman -S vim

Java

   sudo  pacman -S openjdk

MySQL

   sudo pacman -S mysql

When your trying to install MySQL error will come saying you can't install MySQL its conflicting with MariaDB, if you want to install MySQL you'll have to remove MariaDB.

The Chakra Project decided to switch Chakra's default SQL engine to MariaDB. The upcoming KDE SC 4.10 will be built against it. 

Therefore system needs MariaDB, when you try to remove MariaDB they wont allow you saying akonadi wants MariaDB. You can't remove akonadi because system wants it,therefore to remove MariaDB use
   sudo pacman -Rdd mariadb

Obviously akonadi will miss the dependency but will work.

To install MySql
   sudo pacman -Sdd mysql

After installing MySQL you should run the setup script as root:
   systemctl start mysqld
   mysql_secure_installation

Then restart MySQL:
   systemctl restart mysqld

To start MySQL automatically at boot run:
   systemctl enable mysqld

To login as root to MySQL's command line tool use
   mysql -p -u root

The MySQL server does not listen on the TCP port 3306 by default. To allow (remote) TCP connections, comment the following line in  /etc/mysql/my.cnf
  skip-networking

Remember to edit /etc/hosts.allow by adding the following lines:
  mysqld: ALL : ALLOW
  mysqld-max: ALL : ALLOW

To get more details about MySQL click here.

NetBeans

   sudo pacman -S netbeans

Geany

   ccr -S geany

Team viewer

  ccr -S teamviewer

GIMP

   sudo pacman -S gimp

Skype

   sudo pacman -Sy skype


click here to get more packages you want .

Enjoy Chakra as you want it to be...

If you gain some knowledge from this  and if you think this is useful leave a comment to encourage us. Good comments or bad comments all are important to usLets meet from a new lesson soon, have a nice day!!!



0 comments :