Issue:
Have a tar and want to install it.
Solution:
If on Ubuntu, generally you can just just to apt-get install mypackage-1-0.i386. This will save you a good amount of time and troubleshooting as it will just work for most situations.
How to manually...
1. Download via wget:
$ sudo su
# cd /home/sysadmin/tmp/
# wget "https://myserver.com/folder/folder/file.tar.gz"
(the default target is the current folder.)
2. Now untar the file. The flags you use with TAR depend on the type of archive file:
# tar -zxf file.tar.gz
This will unarchive into whatever folder structure is in the TAR starting at the current directory (e.g. pwd = /home/sysadmin/tmp)
Other formats:
# tar -zxf file.tgz
# tar -jxf file.tar.bz2
# tar -jxf file.tbz2
3. List files to see the new folder created, and change to the folder within the archive to start the install (varies with the author's tar what folders are created and how many levels to go down into it).
# ls
# cd foldernm
4. Configure for this kernal and make the install (means adapt to this system and create the binary package installer):
# ./configure
# make
and/or
# make install
5. Typically now, run the install program:
(There is usually a README or INSTALL with specific information for these steps or how to run install and with what account.)
# ./install
Notes:
During the ./configure and the ./install, look for any errors that occur to be displayed on the screen during the processes.
previous page
|