Originally Posted by knudfl
If you want to access something, you will have to go to it's location.
Or bring the packages to your location.
***** The first command is always $ pwd : To know your location.
Example installing gcc41 / g++41 :
$ cd Downloads/ ( Or wherever you are hiding the packages. 'cd Desktop/' ?
$ sudo dpkg -i gcc41-compat-4.1.2.ubu1204_i386.deb g++41-compat-4.1.2_i386.deb
Thanks,I put the downloaded two deb files in /home/easie/NS2, and switch to /home/easie/NS2 to install them, the results following:
easie@ubuntu:~/NS2$ sudo dpkg -i gcc41-compat-4.1.2.ubu1204_i386.deb g++41-compat-4.1.2_i386.deb
[sudo] password for easie:
(Reading database ... 195969 files and directories currently installed.)
Preparing to replace gcc41-compat 4.1.2.ubu1204 (using gcc41-compat-4.1.2.ubu1204_i386.deb) ...
Unpacking replacement gcc41-compat ...
Preparing to replace g++41-compat 4.1.2 (using g++41-compat-4.1.2_i386.deb) ...
Unpacking replacement g++41-compat ...
Setting up gcc41-compat (4.1.2.ubu1204) ...
Setting up g++41-compat (4.1.2) ...
Then I exit the Terminal and open it, input which gcc41, found the results:
easie@ubuntu:~$ which gcc41
I guess the gcc41 not installed successfully, right? How could I do?
P.S. The two downloaded deb files information is attahced.
DESERT_all_in_one_1.0.1 Install DESERT all in one.doc
Great great thanks.