LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How do I install .tgz files! (https://www.linuxquestions.org/questions/linux-software-2/how-do-i-install-tgz-files-200002/)

cddesjar 07-01-2004 01:43 PM

How do I install .tgz files!
 
This is definitely one of the most basic questions I bet that has ever been asked at Linuxquestions.org. So how do I install .tgz files? I downloaded libdvdcss.tgz so that I could get XINE working but then I realized I have no clue what to do with .tgz files.
Help please!
Chris
PS-I am satisfied Slackware 9.1 user!

Mega Man X 07-01-2004 01:52 PM

Hi there cddesjar!!!

Use the command "installpkg <name of the package.tgz" to install a package and "removepkg <name of the package.tgz" to remove. You've to be root to be allowed to do this.

If you ever need to know the packages you've already installed, you can see them at /var/log/packages. I hope it helps...

Regards!

darthtux 07-01-2004 01:52 PM

EDIT: Yeah MegamanX is right. I was looking at Fedora under your profile.

cddesjar 07-01-2004 02:19 PM

Another quick question. I am trying to install libdvdcss-1.2.8-i486-1rob.tgz so that I can use XINE on Slackware 9.1 I did the installpkg as you said but now what? I was reading the install and it tells me to run a ./configure --prefix=/usr. Where do I put the installed libdvdcss?
Thanks,
Chris
PS this is what I have done

Keep Cool, but Don't Freeze
- Hellman's Mayonnaise

root@CUT:~# cd /tmp
root@CUT:/tmp# ls
kde-root/ ksocket-root/ libdvdcss-1.2.8-i486-1rob.tgz* mcop-root/
root@CUT:/tmp# installpkg libdvdcss-1.2.8-i486-1rob.tgz
Installing package libdvdcss-1.2.8-i486-1rob...
PACKAGE DESCRIPTION:
libdvdcss: libdvdcss (DVD library)
libdvdcss:
libdvdcss: libdvdcss is a simple library designed for accessing DVDs like a
libdvdcss: block device without having to bother about the decryption.
libdvdcss:
libdvdcss:
libdvdcss:
libdvdcss:
Executing install script for libdvdcss-1.2.8-i486-1rob...

root@CUT:/tmp# ls
kde-root/ ksocket-root/ libdvdcss-1.2.8-i486-1rob.tgz* mcop-root/
root@CUT:/tmp# cd libdvdcss1.2.8-i486-1rob.tgz
-bash: cd: libdvdcss1.2.8-i486-1rob.tgz: No such file or directory
root@CUT:/tmp# ./libdvdcss1.2.8-i486-1rob.tgz
-bash: ./libdvdcss1.2.8-i486-1rob.tgz: No such file or directory
root@CUT:/tmp# ./configure --prefix=/usr
-bash: ./configure: No such file or directory
root@CUT:/tmp#

cddesjar 07-01-2004 02:21 PM

disregard my last post!
thanks for the help...everything is running


All times are GMT -5. The time now is 04:59 PM.