Red_Hat
RH202 · Question #18
One Package named zsh is dump on ftp://server1.example.com under /pub/updates directory and your FTP server is 192.168.0.254. Install the package zsh.
Answers: 1. rpm -ivh ftp://server1/example.com/pub/updates/zsh- or 1. Login to ftp server : ftp ftp://server1.example.com using anonymous user. 2. Change the directory: cd pub and cd updates 3. Download the package: mget zsh- 4. Quit from the ftp prompt : bye 5. Install the…
Requirements Engineering in the Project Lifecycle
Question
One Package named zsh is dump on ftp://server1.example.com under /pub/updates directory and your FTP server is 192.168.0.254. Install the package zsh.
Explanation
Answers:
- rpm -ivh ftp://server1/example.com/pub/updates/zsh-* or
- Login to ftp server : ftp ftp://server1.example.com using anonymous user.
- Change the directory: cd pub and cd updates
- Download the package: mget zsh-*
- Quit from the ftp prompt : bye
- Install the package
- rpm -ivh zsh-*
- Verify either package is installed or not : rpm -q zsh
Topics
#RPM package management#FTP repository#yum install#Linux packages
Community Discussion
No community discussion yet for this question.