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 - 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 05-24-2010, 11:32 PM   #1
bparkerson04
Member
 
Registered: Sep 2008
Posts: 46

Rep: Reputation: 15
How to install firefox after extracting arc file?


Hi guys

I am really trying to learn the heart of linux, and not rely on gui's and package managers for everything. I am trying to download firefox 3.6. I downloaded the arc file, and extracted it to my home folder, but I don't know what to do next. I am also clueless as to how to install tar or tar.gz files, and tell them where to go, etc. Can anyone help? Firefox is the priority question here. I am sure I can get it from the package manager, but I want to learn to do it with the arc files, and tar files, etc, and not rely on the gui for everything like in Windows. I am a Linux newbie, converting to Linux for hobby and educational purposes, but I have no direction, or no sense of where to go, or how to learn. Thank you all in advance for your help. Any book reccomendations would be greatly appreciated. I am running Kubuntu 10.04 LTS.
 
Old 05-24-2010, 11:41 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
With Firefox, a folder is created when you extract the archive. Simply open the folder and enter "./firefox". To make it accessible to all users, I think you neet to extract it in /opt, set the permissions appropriately, and add the pathname to $PATH.

Much easier to use the package manager....

More generally, what happens after extracting an archive depends on what you are installing. Sometimes it's ready to go (like FF), sometimes it's an installer script, and sometimes it's source code that needs to be compiled.
 
Old 05-24-2010, 11:43 PM   #3
brucehinrichs
Member
 
Registered: Mar 2008
Location: US
Distribution: Debian Sid; Sabayon, UbuntuStudio, Slackware-multilib 13.1, Peppermint Ice, CentOS
Posts: 575

Rep: Reputation: 69
You can use your package manager without using GUI. Open a terminal and type:
Code:
sudo apt-get install firefox
To learn about using the package manager from the Command Line Interface (CLI) type:
Code:
man apt-get
This works for most, if not all linux commands:
Code:
man <command>
EDIT: It's ALWAYS best to use the package manager to install software, if at all possible.

Last edited by brucehinrichs; 05-24-2010 at 11:49 PM.
 
Old 05-25-2010, 12:10 AM   #4
bparkerson04
Member
 
Registered: Sep 2008
Posts: 46

Original Poster
Rep: Reputation: 15
Thanks so much guys. That makes me feel better about using the package manager. I know I am using a "noob" distro, but it works for me. I got pretty handy with Ubuntu 8.04 a while back, but I got bored, so I am wanting to learn KDE. I wanted to use openSUSE, but it is garbage. I couldn't get anything to work right it seemed like. Thanks again guys!
 
Old 05-25-2010, 12:21 AM   #5
bparkerson04
Member
 
Registered: Sep 2008
Posts: 46

Original Poster
Rep: Reputation: 15
The ./firefox command worked, and opened firefox for me. How could I create a shortcut to it in my menu, or on my desktop? Or does that command make an icon available in the firefox folder. Does that ./xxxxx command work for most zipped files like that? Also, how do I create shortcuts on the desktop in KDE? I am completely clueless with this desktop system. I know I can drag and drop, but I am getting the impression that the desktop is more for widgets and not shortcuts in KDE. I know with gnome you could right click, choose create shortcut, or something similar to that, and then choose the application you wanted to make a launcher for.
 
Old 05-25-2010, 05:34 AM   #6
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Package managers are not for noob convenience. They are serious tools that really help manage the software on your Linux installation, both for noobs and advanced users.

You should ALWAYS use the package manager if possible.
 
Old 05-25-2010, 05:05 PM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by bparkerson04 View Post
The ./firefox command worked, and opened firefox for me. How could I create a shortcut to it in my menu, or on my desktop? Or does that command make an icon available in the firefox folder. Does that ./xxxxx command work for most zipped files like that? Also, how do I create shortcuts on the desktop in KDE? I am completely clueless with this desktop system. I know I can drag and drop, but I am getting the impression that the desktop is more for widgets and not shortcuts in KDE. I know with gnome you could right click, choose create shortcut, or something similar to that, and then choose the application you wanted to make a launcher for.
What happens after unzipping is different for everything---I stated 3 possibilities earlier. There is no connection between the "./filename" syntax (which means "run filename in the current directory) and the fact that is was in a zipped archive.

In KDE, try "menu update" to get the app into the main menu. From there, you can create icons in the panel or on the desktop.
 
Old 05-25-2010, 08:11 PM   #8
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
Quote:
Originally Posted by MTK358
Package managers are not for noob convenience. They are serious tools that really help manage the software on your Linux installation, both for noobs and advanced users.
Yes, even Arch, a distro which is meant to be minimalist, has a package manager.
 
Old 05-25-2010, 08:34 PM   #9
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Veering further off topic: Don't ALL distros have package managers?
 
Old 05-26-2010, 06:48 AM   #10
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by pixellany View Post
Veering further off topic: Don't ALL distros have package managers?
Except LFS.
 
Old 05-26-2010, 07:58 AM   #11
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by MTK358 View Post
Except LFS.
touche!! (too-shay)
 
  


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
editing a very large HTML file (or, extracting URLs from a file) Chriswaterguy Linux - Software 3 11-27-2007 06:07 PM
extracting cpio.gz file? kushalkoolwal Linux - Desktop 1 11-03-2006 01:54 PM
extracting a .sh file - trap? compu73rg33k Linux - Software 2 09-03-2006 02:45 PM
extracting gz file..... b123coder Linux - Newbie 1 11-21-2004 07:55 AM
extracting this file... Xylicon Linux - General 4 01-23-2003 08:49 AM

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

All times are GMT -5. The time now is 01:31 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