Downloading, Placing, and Uncompressing Software


Once you've found software you want to install, your next step is to download it, put it in the proper place, and then uncompress it (Code Listing 14.1). This process includes several tasks that you've already learned in other parts of this book, so we won't go over them in detail here. For this section, we assume that you already know what you want to download and where it can be found. In the example, we're downloading the latest version of yencode, using links, from the www.yencode.org Web site.

Code Listing 14.1. The process of downloading software and getting ready to install it is rather straightforward.

jdoe /home/jdoe $ mv yencode-0.46.tar.gz  ~/src/ jdoe /home/jdoe $ cd ~/src jdoe /home/jdoe/src $ tar -xzf  yencode-0.46.tar.gz jdoe /home/jdoe/src $ cd yencode-0.46 jdoe /home/jdoe/src/yencode-0.46 $ 

To Download, Place, and Uncompress Software:

1.

links www.yencode.org

Use links to connect to the software archive, Web site, or whatever you're downloading from.

2.

Browse to the correct location. Go ahead. We'll wait.

3.

Choose the file to download by pressing when the link to the file is highlighted.

Confirm that you want to download the file.

4.



Quit the links program after the transfer is complete.

5.

mv yencode-0.46.tar.gz ~/src/

Move the archive file into the src subdirectory under your home directory. (Create the directory first, if necessary.) You could use any directory, but it's standard to use an src directory.

6.

cd ~/src

Change into the src directory.

7.

tar -xzf rpm-2.5.1.tar.gz

Unzip and untar the source code archive with tar.

8.

cd yencode-0.46

Change into your new directory, and get ready to compile and install. Whew! See Code Listing 14.1 for much of the process.

Tip

  • You can also use wget or ftp to download your software, which might be easier if you know exactly the URL of the software you want to download.





Unix(c) Visual Quickstart Guide
UNIX, Third Edition
ISBN: 0321442458
EAN: 2147483647
Year: 2006
Pages: 251

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net