where to install programs

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
thebluejay
Level 1
Level 1
Posts: 24
Joined: Sun Aug 30, 2009 1:53 pm

where to install programs

Post by thebluejay »

I want to install Firefox 3.5. If I create a folder in the home folder called programs and put the downloaded file in there and try to run it with tar, I am told that the directories required cannot be opened and I don't have permissions. If I run it in different folders, like usr/lib or something sometimes it works, sometimes it doesn't. Are there particular folders that can be used to install programs?

Jay
User avatar
mick55
Level 6
Level 6
Posts: 1485
Joined: Fri Sep 25, 2009 2:47 am

Re: where to install programs

Post by mick55 »

Things may appear random but they are not.
It depends on permissions, ownership and path.

However if you would like to install the latest version of firefox,
there is an easier way.If you use Ubuntuzilla it will upgrade
your existing firefox keeping all settings and branding.
Installing from a tarball will install a separate version of firefox,
so for example you would have firefox 3.0 and firefox 3.53.

Here is the link for Ubuntuzilla

http://sourceforge.net/projects/ubuntuzilla/

It is a .deb file which is like a windows exe file.
Just double click it and follow the instructions.
Things are more like they are now than they ever were before.

Dwight D. Eisenhower (1890 - 1969)
User avatar
Old Marcus
Level 4
Level 4
Posts: 389
Joined: Sun Jun 08, 2008 4:51 pm
Location: Exeter, UK

Re: where to install programs

Post by Old Marcus »

If you install the official firefox version to a folder in your home folder, you get all permissions, and can update it separately to the other updates.

Though I recommend Swiftfox, an optimized and sped up version of Firefox for Linux, with its own repository and up to date.
Linux Mint 8 RC1 = Nice
'apt install' can be used on Linux Mint as a shortcut for 'sudo apt-get install'. 'apt x' can be used for various other apt commands as well.
When a problem is solved, please add [SOLVED] to your thread title.
User avatar
DrHu
Level 17
Level 17
Posts: 7522
Joined: Wed Jun 17, 2009 8:20 pm

Re: where to install programs

Post by DrHu »

thebluejay wrote:If I run it in different folders, like usr/lib or something sometimes it works, sometimes it doesn't. Are there particular folders that can be used to install programs?
http://www.cyberciti.biz/tips/download- ... -os-x.html
http://www.linuxquestions.org/questions ... 04-735616/
Some applications can be run without being installed (shared globally for other users), and could run in your /home directory, but not all (many) Linux applications would be like that

Best answer, wherever the package manager wants to install the files to, if you check in Mint menu>Package manager>(enter your admin password) Reload, search for Firefox
  • Using Firefox 3 as an example, mark to install
  • Apply
    --check Properties to see which directories (folders) are going to be used
  • Check before continuing, where files will be installed to
    --don't install Firefox 3, it wasn't the one you wanted anyway
Yes, based on the FHS (File Hierarchy Standard) in Linux
--there are some common locations, such as /home for user data (settings, profiles, application links)

Linux FHS..or a specific distribution style Red hat based (.rpm); Debian base (.deb)
http://wiki.debian.org/FilesystemHierarchyStandard
http://en.kioskea.net/contents/linux/linarb.php3
http://www.rwxrwxrwx.com/ch4.php
http://www.linuxjournal.com/article/4121
magazine article on FHS..
http://4.bp.blogspot.com/_Vbsj-yhipTw/R ... ucture.jpg
--picture (image) of FHS..
thebluejay
Level 1
Level 1
Posts: 24
Joined: Sun Aug 30, 2009 1:53 pm

Re: where to install programs

Post by thebluejay »

I think I get it now. I need to download the tarball to a temporary directory and then use cp to tell tar to install the app to the required location. In this case, I found that the old firefox was installed in /usr/lib/firefox-3.0* so I installed it there.
Worked. Phew!
However, when I clicked on Help>About in Firefox 3.5, I got this weird message:

XML Parsing Error: undefined entity
Location: chrome://browser/content/aboutDialog.xul
Line Number 40, Column 9: &logoCopyright;
--------^

Oh, my, here we go again! LOL

BTW, I guess the firefox installation in /tmp was copied using cp to the rquired directory. I still see the original firefox folder containing the contents of tarball as well as the tarball itself in /tmp. Is it safe to delete those?


Jay
thebluejay
Level 1
Level 1
Posts: 24
Joined: Sun Aug 30, 2009 1:53 pm

Re: where to install programs

Post by thebluejay »

However, when I clicked on Help>About in Firefox 3.5, I got this weird message:

XML Parsing Error: undefined entity
Location: chrome://browser/content/aboutDialog.xul
Line Number 40, Column 9: &logoCopyright;
--------^
Here is the answer for the Help>About problem in Firefox 3.5. It's been reported as a bug.
http://www.mail-archive.com/universe-bu ... 06395.html
rlindsey0
Level 3
Level 3
Posts: 158
Joined: Tue Apr 01, 2008 9:12 am

Re: where to install programs

Post by rlindsey0 »

Why not just install FF 3.5 from the repository? It should be there under the name "Shiretoko," if memory doesn't fail me. You do end up with a 2nd FF, as this doesn't overwrite your 3.0, but it works, if you just remember to click Shiretoko rather than FF whenever you want to browse. IIRC, it even picked up all my 3.0 bookmarks. You'll have to reinstall any add-ons or plugins, I believe.
Sarah 18 Cinnamon 64, dual-boot Win 10 Pro 64 SP1, Clevo W150ER 15.6" laptop, i7 3630M, 16 GB RAM, Samsung SSD 840 Pro 256 GB/HGST 1 TB 7200 RPM, Nvidia GT 650M 1 GB, eSATA 3.0 HGST 1 TB 7200 RPM, HP Photosmart C5280
thebluejay
Level 1
Level 1
Posts: 24
Joined: Sun Aug 30, 2009 1:53 pm

Re: where to install programs

Post by thebluejay »

The install went fine with the upgrade from Mozilla and I avoided having two versions installed. The practice using the tarball was good for me too. :)

jay
Post Reply

Return to “Newbie Questions”