Implement a wrapper for 'dpkg' to install from a URL address (emulate rpm function)
the rpm tool under Fedora and other similarly packaged distributions enable installing an RPM type package directly from the download url as: "rpm -ivh "http://
A wrapper or bash function (added to the global bashrc under '/etc/bash.bashrc' would enable the already powerful Debian 'dpkg' tool to do so.
'dpkg -i "http://
Blueprint information
- Status:
- Started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Nathanel Titane
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Drafting
- Series goal:
- Proposed for quantal
- Implementation:
- Good progress
- Milestone target:
- raring-updates
- Started by
- Nathanel Titane
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Tested functionnality under 12.10 quantal amd64:
Include function as dpkg-url() {} within global bashrc under '/etc/bash.bashrc" and source it;
Tested and included wrapper as shell script within multiple '/bin' directories to validate function;
Launched as 'sudo dpkg-url -i "$URL"' and tested with multiple packages from varying URLs to ensure proper address parsing.
Update:
Fixed URL parsing through 'echo $package | grep http 2>&1 > /dev/null' to avoid dpkg erro for missing action --install >> less|more