PDA

View Full Version : [ubuntu] Does it matter where I save a program?



listerdl
April 23rd, 2009, 02:53 PM
Hi, I have recently downloaded and am about to install a .bin program and I am being asked by Ubuntu where I would like to save the program....does it matter? I think that the answer will be no it doesnt - but just wondered if there is a 'sensible' place to save a program that will be used quite a lot...

Thanks!

RedSingularity
April 23rd, 2009, 02:58 PM
Best place is /usr/share for custom software.

steve101101
April 23rd, 2009, 02:59 PM
+1

and also usually the default place that it recommends makes sense aswell.

Thelasko
April 23rd, 2009, 03:02 PM
Just to be sure you are doing everything correctly, please read this. (http://www.psychocats.net/ubuntu/installingsoftware)

RedSingularity
April 23rd, 2009, 03:03 PM
+2

Thats what i always do.......let it choose.

benj1
April 23rd, 2009, 03:06 PM
it depends what it is. downloading is not the same as installing
i would suggest downloading to somewhere convienient, the Desktop?
if its a .deb file double click on it and an installer will launch.
if its a tar.gz or something extract it and see whats in side, most apps with have a README, which will probably just tell you to ./configure, make, install which will sort out installation for you.
if its just a simple script without an installer then either in the terminal.
cd to the correct directory and

sudo cp app /usr/bin
or for a graphical way type

gksu nautilus
in a terminal which will open up the nautilus file manager and allow you t copy it across to /usr/bin

Simian Man
April 23rd, 2009, 03:08 PM
Best place for custom software is in /usr/local/bin. Then it will not be overwritten in updates.