LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to install firefox after extracting arc file? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-firefox-after-extracting-arc-file-809915/)

bparkerson04 05-24-2010 11:32 PM

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.

pixellany 05-24-2010 11:41 PM

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.

brucehinrichs 05-24-2010 11:43 PM

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.

bparkerson04 05-25-2010 12:10 AM

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!

bparkerson04 05-25-2010 12:21 AM

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.

MTK358 05-25-2010 05:34 AM

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.

pixellany 05-25-2010 05:05 PM

Quote:

Originally Posted by bparkerson04 (Post 3980202)
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.

MrCode 05-25-2010 08:11 PM

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. ;)

pixellany 05-25-2010 08:34 PM

Veering further off topic: Don't ALL distros have package managers?

MTK358 05-26-2010 06:48 AM

Quote:

Originally Posted by pixellany (Post 3981239)
Veering further off topic: Don't ALL distros have package managers?

Except LFS.

pixellany 05-26-2010 07:58 AM

Quote:

Originally Posted by MTK358 (Post 3981642)
Except LFS.

touche!! (too-shay)


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