Showing posts with label Install Software in Ubuntu. Show all posts
Showing posts with label Install Software in Ubuntu. Show all posts

Friday, February 6, 2015

Installing software packages in linux.

Although you can install software in linux by clicking on software package
The best & flexible way to install software in linux is through konsole.

Installing in OpenSUse or fedora base Linux
Installation in fedora based system done by rpm (Red hat package Manager)

1. First open konsole
2. Login as superuser and type

rpm -ivh packagename.rpm

Where the -i option for the rpm command is used to install the rpm file. The -v
option of the rpm command is a verbose option that displays all the messages
while the installation is in progress. The -h option is to print the hash
sign '#' on the screen to indicate the progress during the installation process.

To remove the package type

rpm -e packagename


Installing in Ubuntu or Debian based Linux
Installation in Debian based system done by dpkg (debian package Manager)
repeat the above steps

Syntax of command is

dpkg -i packagename.deb

The -i option for the dpkg command is used to install the rpm file

To remove the package type

dpkg -e packagename

Note that you don't need to give .deb extension to remove the package.

Tip
You can use -I option to show information about a package without installing it.




Related Posts:
1. How Install Software Packages in Ubuntu.
2. How to install Packages in linux fedora.