LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help using installing downloaded packages. (https://www.linuxquestions.org/questions/linux-newbie-8/help-using-installing-downloaded-packages-95607/)

troycus 09-22-2003 04:00 PM

Help using installing downloaded packages.
 
I just downloaded xnap.jar from the Internet. I have no clue on how to install it on my linux box. Can someone give me a quick lesson on how to install packaged software on linux.

selcaby 09-22-2003 04:19 PM

xnap is a Java program - try:

java -jar <directory>/xnap.jar

where <directory> is wherever you put the file.

For most other Linux packages, if you're using an RPM-based system, the following as root will install a package called foo.rpm:

rpm -i foo.rpm

(On Mandrake, try "urpmi foo" first.)

On a Debian-based system, try "apt-get foo" if you want to get the package from an archive, or "dpkg -i foo.deb" if you downloaded the package.


All times are GMT -5. The time now is 04:12 AM.