LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-07-2004, 09:48 PM   #1
Furlinastis
Member
 
Registered: Dec 2004
Location: Ball of Confusion
Distribution: Artix,Arch,Slackware,Bluewhite64
Posts: 261

Rep: Reputation: 40
installing programs and setting permissions


I just installed slackware 10 and I have some n00b questions that i can't seem to find the answers for

1 I can only access mozilla if I log in as root ... if I log into my user account and tick applications>Internet>mozilla it just acts like I didn't tell it to do anything ... and it does this with most other apps in there although some I can use(like web browser, but it opens epiphany and i don't like that one) ... I'm thinking this has to do with permissions .. how do I set it so my user account has admin privileges or whatever the linux equivalent is? I only have one user account and that's all I will ever have ..

2 how do I install applications that are in ".tar.gz" or ".tgz" or ."rpm" format? i want to use firefox and amsn but I can't seem to figure out how to install them?
 
Old 12-07-2004, 11:04 PM   #2
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
1) known issue - upgrade your package... which brings us to:

2)
.tgz = likely a slack package -- use installpkg mypak.tgz
.tar.gz (or .tar.bz2) = compressed source

.tar.gz = use:
Code:
tar -zxvf my.tar.gz
cd my
./configure
make 
make install
(this is quickie -- you should read INSTALL/README)

.tar.bz2 = same as ^^ but on line 1, use -xjvf

.rpm -- well... you won't have that by default on slack, so worry about the others first (rpm = redhat package)
 
Old 12-07-2004, 11:09 PM   #3
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
It is late here so I will skip the irst question, having a hard time thinking, lol.

installpkg works with .tgz files.
rpm -i works with .rpm files, if you have rpm install
with tar.gz do:
tar xvfz <file name>
./configure
make
make install

Last edited by tangle; 12-07-2004 at 11:11 PM.
 
Old 12-08-2004, 06:28 PM   #4
fcaraballo
Member
 
Registered: Feb 2004
Location: WA
Distribution: Slackware
Posts: 230

Rep: Reputation: 31
For rpm packages it is better to do the following:
Code:
rpm2tgz packagename.rpm
That turns the rpm package into a slack package (.tgz).
Then you can install it by using the installpkg command:
Code:
installpkg packagename.tgz
MagicMan

Last edited by fcaraballo; 12-08-2004 at 06:30 PM.
 
Old 12-08-2004, 06:35 PM   #5
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
Just a couple words of caution.

For rpm packages, sorry but, it is probably better to keep looking. Using them can be problematic at times. They will work sometimes if you can not find your package in any other way. I would recommend compiling your own before using it though.

.tgz packags from linuxpackages.net are going to be slackware pachages that you can installpkg. FreeBSD packages are often .tgz and you can not install them. You will also occasionally run into some source files that are archived in a .tgz packages. So be careful and read the page you download from.
 
Old 12-08-2004, 07:07 PM   #6
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
yes thanx -- do NOT use rpm2tgz as a newbie -- you won't be happy... slack = "most unix like" redhat is more like "most windows like"

they use different directories for things... take example of redhat's use of /etc/sysconfig... installing an rpm on slack with no care for cross-system compatability will lead to trouble. LP suggests after running rpm2tgz that you go through the tgz by hand to ensure slackware compliance... this is not exactly newbie-friendly
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting permissions sammckee Linux - Newbie 9 09-18-2003 05:01 PM
setting permissions Tigger Linux - Security 1 06-09-2003 09:20 AM
Setting Permissions johnnyde Linux - Newbie 1 05-22-2003 04:37 PM
Setting Permissions mythology Slackware 2 12-11-2002 02:14 AM
Setting up permissions rajaram Linux - Newbie 2 12-05-2001 02:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration