LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installation in Linux (https://www.linuxquestions.org/questions/linux-newbie-8/installation-in-linux-749192/)

thebhanu 08-21-2009 12:15 AM

Installation in Linux
 
Hi was Windows user for past 15 years now i am shifting towards the open source so i started using Open suse now i don't know how to install a new software in linux and how will the installation work or installed file reside, Like i tried to download the rpm file but how to install that.

Somebody help me to install a software by downloading from different location and to install from YaST.

jschiwal 08-21-2009 12:32 AM

It would be better to stick with the YaST2 package manager. Explore the available packages and you may find what you need is already available. If you run "kdesu yast2 inst_sources", you can easily install some more SuSE repositories that have non opensource packages for media players, codecs, video drivers, etc. A package you download from the web that isn't for that version of SuSE may use different library versions, causing you to need to locate different packages to install as well. If it is a package for a gnome or kde program, you could end up having to update almost all of KDE or Gnome. So be careful which package you try to install. You would probably not continue in such an extreme case.

To install a downloaded rpm can run:
sudo zypper install <the-full-package-name>
or
sudo rpm -Uhv <the-full-package-name>

If you downloaded a package and a couple dependencies, you can include all of them as arguments:
sudo zypper install <rpmfile1> <rpmfile2> <rpmfile3>

If you first cd into the directory that contains the package you can press the TAB key to complete the spelling of the package for you.

Clicking on the file in konqueror and then opting to install will also work.

There is a web site http://rpm.pbone.net that is great for finding a package for a particular distro & version. It can even check your system and indicate which dependencies you need. Go to advanced search and check the box for openSuSE and your version.

gulfax 08-21-2009 12:46 AM

Start at http://www.novell.com/documentation/ for documentation.


All times are GMT -5. The time now is 08:13 PM.