Linux Package Installation
The most common ways of geeting packages are by manually using FTP or a web browser.
Common download sites are:--
Redhat :--- http://www.redhat.com/
http://www.rpmfind.net/
Fedora :--- ftp://download.fedora.redhat.com/pub/fedora/linux/core/
http://download.fedora.redhat.com/pub/fedora/linux/core/
Automated Package Download
Fedora use YUM utilities for automated download and update.
Getting Software using :--- wget
wget command can be used to download files quickly when you already know the URL at which the RPM is located. for example look below:--
[root@raman home]# wget http://linux.stanford.edu/pub/mirrors/fedora/linux/core/2/i386/os/Fedora/RPMS/dhcp-3.0pl2-6.16.i386.rpm
--17:38:36-- ftp://linux.stanford.edu/pub/mirrors/fedora/linux/core/2/i386/os/Fedora/RPMS/dhcp-3.0pl2-6.16.i386.rpm
=> `dhcp-3.0pl2-6.16.i386.rpm.5'
Resolving linux.stanford.edu... done.
Connecting to linux.stanford.edu[171.66.2.18]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/mirrors/fedora/linux/core/2/i386/os/Fedora/RPMS ... done.
==> PASV ... done. ==> RETR dhcp-3.0pl2-6.16.i386.rpm ... done.
Length: 529,890 (unauthoritative)
100%[===============================>] 529,890 889.12K/s ETA 00:00
17:38:36 (889.12 KB/s) - `dhcp-3.0pl2-6.16.i386.rpm.5' saved [529890]
How to Install Source RPMs
download your desired RPM:--
[root@ raman home]# rpm -ivh ******-3.23.58-9.i386.rpm
How to List Installed RPMs
[root@ raman home]# rpm -qa (packages-name)
Uninstalling RPMs
[root@ raman home]# rpm -e (packages-name)
Installing Software Using tar
[root@raman home]# tar -xvzf linux-software-1.3.1.tar.gz
[root@raman home]# cd linux-software-1.3.1
Use the cd command to enter the subdirectory and follow the directions listed in the INSTALL and README files
Thursday, July 19, 2007
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment