0

How to see the Current State of package (Ubuntu)?

Posted by Joys of Programming on May 11, 2010 in Linux, Ubuntu, dpkg

Two commands can be used to see the current state of a package. dpkg dpkg-query Let’s assume that the package vim is currently installed. Current state of a package Using dpkg dpkg –list can be used to know the status of a package. $ dpkg –list vim Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ [...]

Tags: , , , , , , ,

 
0

How to find the package to which a file belongs (Ubuntu)?

Posted by Joys of Programming on February 14, 2010 in Ubuntu

If you are working in Ubuntu/Debian, you may want to know the package to which a particular file belongs to. Take for example, you want to find out the package to which the command ‘ls’ is found. For this purpose, you must know the complete path of the command which can be found out easily [...]

Tags: , , , , , ,

 
0

How to install KDE in Ubuntu?

Posted by Joys of Programming on February 9, 2010 in Ubuntu

Ubuntu by default has the GNOME desktop. But if you want to use KDE, you must Install Kubuntu. There are two ways by which you can do this. Replace Ubuntu with Kubuntu. Install Kubuntu within Ubuntu The second option is the best one because you can experiment with both GNOME and KDE. Let’s explore how [...]

Tags: , , , , , , , ,

 
0

How to install missing curl man pages in Ubuntu?

Posted by Joys of Programming on February 7, 2010 in C/C++

curl is very useful for the data transfer between the client and the server. Curl is available both as a command line tool as well as for programming purposes. In case of working with curl, you may require man pages and if your curl man pages are missing, you must install the concerned package $ [...]

Tags: , , , , , , , , , ,

 
0

How to install apache in Ubuntu?

Posted by Joys of Programming on February 4, 2010 in PHP

Apache can be installed in Linux using source. It can be easily installed in Ubuntu using the following command $ sudo apt-get install apache2 But after installation, you can verify that in the browser. Enter http://localhost/. If everything is fine, the page can be displayed with no connection errors. To start/restart apache $ sudo /etc/init.d/apache2 [...]

Tags: , , , , , , ,

 
0

How to install maven in Linux?

Posted by Joys of Programming on February 3, 2010 in Java

Installing maven in Ubuntu is as simple as executing the following command $ sudo apt-get install maven2 Note that you must be connected to the internet to execute the command

Tags: , , , , ,

 
2

XML programming in Linux

Posted by Joys of Programming on December 29, 2009 in C/C++

For a detailed tutorial on XML programming, check the libxml tutorial. To start XML programming in Ubuntu, you must have the following packages in your system libxml2 libxml2-dev libxml2-doc libxml2-utils To install these packages, $ sudo apt-get install libxml2 libxml2-dev libxml2-doc libxml2-utils Once you install these packages, you must check the path where the libxml2 [...]

Tags: , , , , , ,

Pages: 1 2 Next

Copyright © 2009-2010 Joys of Programming All rights reserved.
Desk Mess Mirrored v1.7.2 theme from BuyNowShop.com.