PDA

View Full Version : [ubuntu] installing software



il pepe
August 23rd, 2009, 12:13 PM
i installed software, not from the adding/removing software, nor from the synaptic kit.
From cd.
I installed it under my personal map: /home/user/map

The stupid thing is, the software works, as i started it once the installation was finished (that was an option);
Now i'm trying to search for a start point, to restart the software, and i don't seem to find it...
Were are those thinks placed? so i can add it to my desktop or menu's and stuff...

MelDJ
August 23rd, 2009, 12:15 PM
u can type in terminal sudo yourprogram to run it

Capitalism
August 23rd, 2009, 12:32 PM
System > Preferences > Main Menu
Click 'New Item' and name it.
In the Command textbox, just type in the name of the program or the package that you installed. :)

il pepe
August 23rd, 2009, 12:39 PM
the sudo program doesn't work, so neither does the add new item thing as it is based on the same.
Tried both before :-S
I need soemthing like the .exe in windows...

MelDJ
August 23rd, 2009, 12:46 PM
whats the program you installed?

Bölvağur
August 23rd, 2009, 12:48 PM
let's begin from the beginning.
what type of installation was this from the cd?

binary installer (it will look the same as in windows as exe is a binary installer)
and scripts

.deb , a installation package (it will most likely create menu items)

a directory with all files included, just need to copy it to your computer and run it.

source code, did you compile from source?


if you used binary installer, did you run it as root or your own user (if you dont know tell me how you installed it... did you double click a file? what file? did you write something in the terminal?)

il pepe
August 23rd, 2009, 02:42 PM
installed it mounting a iso file in the /media/ map.
Then double clicked a install file which started automatically the installing procedure.
Then further i had to choose a place where to install, and i chose /home/user/map.
at the end of the installing procedure, i was asked if i wanted to start the software, i chose yes, so i'm pretty sure software is installed correctly.

If i look back at this, i guess it was a binary install, because it was very similar to a windows install.
i didn't have to give a command or sudo thing, so i suppose i installed it as software under my own user...

the software is Matlab 2009a...

Bölvağur
August 24th, 2009, 12:50 AM
oh yeah matlab doesnt make menu items.

but it isn't much trouble doing that your self.

if matlab places some of it's files into your ~/bin (~ means /home/username/)
then move those files into correct place. by opening the terminal and...


cd ~/bin
sudo mv * /usr/bin

and then right click the application menu, select Edit Menus
Click Education and then New item.

Type: Application
Name : Matlab
command: matlab (it should be the same as the file that was in your ~/bin but now has been moved to be accessable through just typing the name of the file)

il pepe
August 24th, 2009, 03:58 PM
still nothing. I'm going to try a reinstall...

il pepe
August 24th, 2009, 04:13 PM
oh yeah matlab doesnt make menu items.

but it isn't much trouble doing that your self.

if matlab places some of it's files into your ~/bin (~ means /home/username/)
then move those files into correct place. by opening the terminal and...


cd ~/bin
sudo mv * /usr/binand then right click the application menu, select Edit Menus
Click Education and then New item.

Type: Application
Name : Matlab
command: matlab (it should be the same as the file that was in your ~/bin but now has been moved to be accessable through just typing the name of the file)
the first bin, is suppose, is the bin which is part of matlab? so under the MATLAB installiation map?
And the files in there have to be copiied to the usr/bin? And that is supposed to do the trick? did i understand that correct?

tarps87
August 24th, 2009, 04:22 PM
They would be the ones in the bin folder of the matlab install, you only need to copy them if you want to be able to run it by just typing in the commands name. Even so I would make a link rather that moving the file

sudo ln -s pathToMablab/bin/matlabLauncher /usr/share/bin

il pepe
August 24th, 2009, 04:37 PM
They would be the ones in the bin folder of the matlab install, you only need to copy them if you want to be able to run it by just typing in the commands name. Even so I would make a link rather that moving the file

sudo ln -s pathToMablab/bin/matlabLauncher /usr/share/bin
that did the trick, at least almost. I was getting the splash screen, but that i disappeared.
I read that problem somewhere else, and the trick was to add -desktop in the command line.
Thanks for the help!