LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-22-2004, 05:11 PM   #1
zwyrbla
Member
 
Registered: Aug 2004
Location: MA
Distribution: Slack 10.1
Posts: 107

Rep: Reputation: 15
Where do i install programs too?


Hi im a complete newbie to linux and I am currently runnign slack 10. My question is where do i install programs to, particulary firefox. I have the tar.gz but i dont know what directory to install it to so it is with all my other web browsers.
 
Old 08-22-2004, 05:15 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Slacks default programs have /usr as their prefix.
Packages that you install from Mozilla.org will default
to /usr/local/<browser-name>. Either is perfectly valid
and sensible, just make sure that the manually installed
package has its binaries in the PATH and the libs in
/etc/ld.so.conf


Cheers,
Tink
 
Old 08-22-2004, 06:13 PM   #3
zwyrbla
Member
 
Registered: Aug 2004
Location: MA
Distribution: Slack 10.1
Posts: 107

Original Poster
Rep: Reputation: 15
can't make destination directory

when i use the firefox isntaller and point it to /usr/local/firefox it says the directory doesnt exist and when I tell it to create the directory it gives me error 624 can't make destination directory what am I doing wrong?
 
Old 08-22-2004, 06:22 PM   #4
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
you are running the installer as root right ?

you MUST be root to install software globally....
Code:
su -
<root password>
will cause whetever command you give next to be executed with root access rights.
 
Old 08-22-2004, 06:26 PM   #5
zwyrbla
Member
 
Registered: Aug 2004
Location: MA
Distribution: Slack 10.1
Posts: 107

Original Poster
Rep: Reputation: 15
I am installing this through kde and im not logged in as root how do i run su - (root passoword) from the gui?
 
Old 08-22-2004, 06:33 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
kdesu konqueror



Cheers,
Tink
 
Old 08-22-2004, 06:43 PM   #7
zwyrbla
Member
 
Registered: Aug 2004
Location: MA
Distribution: Slack 10.1
Posts: 107

Original Poster
Rep: Reputation: 15
tried kdesu konqueror but i get cannot connect to x server
 
Old 08-22-2004, 06:45 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
What about
ssh -X root@locahost /path/to/installer

:}


Cheers,
Tink
 
Old 08-22-2004, 08:14 PM   #9
ssba
Member
 
Registered: Mar 2004
Distribution: Slackware 9.1
Posts: 44

Rep: Reputation: 15
Quote:
Originally posted by zwyrbla
I am installing this through kde and im not logged in as root how do i run su - (root passoword) from the gui?
run Konsole.

either you can hit ALT+F2 (i think) and type in 'konsole' in the box, right-click on the desktop and do new terminal, or locate Konsole in your start menu (probably with the system tools).

Or you can hit CTRL+ALT+F2 to switch to a terminal to login as root and install whatever you need, however you need to know what you're doing as theres no GUI involved. (hit CTRL+ALT+F7 to get back to desktop)
 
Old 08-22-2004, 08:25 PM   #10
m0rt3r
Member
 
Registered: Mar 2004
Distribution: slackware 10
Posts: 75

Rep: Reputation: 15
If you are using kde, just open a konsole terminal or terminal program or got to the K-->System-->Terminal Program (Konsole), and type
Code:
su root
then it will ask you for the root password. after that just install the program.
 
Old 08-22-2004, 11:31 PM   #11
zwyrbla
Member
 
Registered: Aug 2004
Location: MA
Distribution: Slack 10.1
Posts: 107

Original Poster
Rep: Reputation: 15
how do i run the installer form the command line?
 
Old 08-23-2004, 05:56 AM   #12
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Unzip the .tar.gz file using
Code:
tar -xzvf nameOfFirefoxDownload.tar.gz
then type use "cd" to change into the new directory that has been created, and then type ./firefox-installer (I think that is what it is called). As stated in the above posts, you must bee root.

I hope this helps
--Ian
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
can't install g++ so I can't compile and install any programs musicmaniac414 Linux - Software 12 02-06-2008 10:31 PM
How to install programs ??????? antisocialiting Linux - Newbie 6 08-15-2005 03:03 AM
Programs Won't Install dumbsheep Linux - Newbie 9 01-11-2005 01:39 PM
How do I install programs?? twitch88 Linux - Newbie 4 07-22-2004 05:02 PM
Can't install programs tagbre Linux - Newbie 5 12-30-2003 07:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration