Originally posted by blackdragon
i didnt get past #1. how exactly do i change directories? and after that what do i do? i would apreciate help very much
a little more information in case its needed. xandros open source version. and im trying to instal the new digikam program.
To change to a directory you would use cd /path/to/directory/you/want
then the ENTER key in a console window.
[12:05 AM Tue Jul 27: stephen @ ~]
>$ cd archives/tar/
[12:06 AM Tue Jul 27: stephen @ ~/archives/tar]
Have you actually extracted the .tar.bz2 yet to have a directory to enter into? If not you need to use in the directory you downloaded the source too tar -xjvf some.tar.bz2
which will extract the files in the tarball to most likely some-1.2.3
directory you will see the real directory name in the output of the extraction process like this.
>$ tar -xjvf skype_ver-0_90_0_14.tar.bz2
Now in this case there is not much sense in me changing into the directory to do anything but run the pre-compiled binary that is there but for you use the cd command and type in the first few letters you seen in the directory name then the TAB key and bash should try to auto complete the directory name if you hear a beep then hit the TAB key again and see the list of choices you have.
[12:08 AM Tue Jul 27: stephen @ ~/archives/tar]
>$ cd skype_ver-0_90_0_
[12:09 AM Tue Jul 27: stephen @ ~/archives/tar]
>$ cd skype_ver-0_90_0_
Enter the letter/number that will complete the directory you are looking for and TAB then ENTER key to change into the directory.
>$ cd skype_ver-0_90_0_14/
[12:09 AM Tue Jul 27: stephen @ ~/archives/tar/skype_ver-0_90_0_14]
Now that you would be in the directory you want to compile the source you would use the ./configure
command again type the first few letters of the command and TAB to complete then ENTER and you will see the configure script checking for the libraries/compiler it needs to to build the source. Then you need to run make
to actually compile the program/libraries needed for the install process. If all goes well then it will exit without errors and you can use su -c 'make install'
then ENTER key you will then be asked for the root password if you type it in and enter again then the program will be installed. Or if you want in place of the last step you can install the checkinstall
package before hand and make/install yourself a .deb package with the command:
>$ su -c 'checkinstall -D --pkgname=some --pkgversion=1.2.3'
Then you can remove the package later with apt/dpkg if you every decide to upgrade to a different version without hoping the uninstall script (if there is one) works properly and you do not have to start tracking down where everything went to prevent conflicts.