Use ipkg management software on Western Digital my book World Edition

Source: Internet
Author: User

Source URL: http://mifunny.info/use-ipkg-in-wd-my-book-edition-to-manage-softwares-178.html

 

Each Linux has its own package manager, while the simplified version of Linux on maxcompute my book World Edition uses the lightweight package management system-ipkg. Ipkg is designed for Linux on devices with limited storage capabilities, such as handheld computers.ProgramFor example, mobile phones and PDAs for Embedded Linux. Here, LD briefly describes how to use ipkg to install and uninstall the software.

Before executing the following command, enter the Linux System of the box through SSH. The following operations use root permission and Su conversion permission. The box must be accessible to the internet!

1. update the software installed in the System
# Use the ipkg update command to update the software source (it can be understood as downloading the latest software list to the local device)
[root @ mybookworld etc] # ipkg update
downloading http://ipkg.nslu2-linux.org/feeds/optware/gumstix1151/cross/unstable/Packages.gz
inflating http://ipkg.nslu2-linux.org/feeds/optware/gumstix1151/cross/unstable/Packages.gz
updated list of available packages in/opt/lib/ipkg/lists/ optware
Successful Ly terminated.
# ipkg upgrade updates all installed software
# ipkg list_installed allows you to view the list of installed software
[root @ mybookworld ~] # Ipkg upgrade

2. install the software Vim online
# ipkg install software name | here, we use Vim as an example (before installing the software, run ipkg update to keep the local software list up-to-date)
[root @ mybookworld etc] # ipkg install Vim
installing Vim (7.2-1) to/opt /...
downloading http://ipkg.nslu2-linux.org/feeds/optware/gumstix1151/cross/unstable/vim_7.2-1_arm.ipk
installing ncurses (5.7-1) to/opt /...
downloading http://ipkg.nslu2-linux.org/feeds/optware/gumstix1151/cross/unstable/ncurses_5.7-1_arm.ipk
locking ing ncurses
Update-alternatives: linking/opt/bin/clear to/opt/bin/ncurses-clear
inserting ing Vim
successfully terminated.
# online installation can automatically resolve software dependencies.
# ipkg list | grep software name: This command can be used to search for software in the software library
[root @ mybookworld ~] # Ipkg list | grep Vim

3. install local package bzip
# download package Bzip2
[root @ mybookworld etc] # wget http://ipkg.nslu2-linux.org/feeds/optware/gumstix1151/cross/unstable/bzip2_1.0.5-1_arm.ipk
connecting to ipkg.nslu2-linux.org [140.211.169.169]: 80
bzip2_1.0.5-1_arm.ip 100% | ***************************** | 109 kb 00:00:00 ETA
# ipkg install package path (you can use the relative path)
[root @ mybookworld ~] # Ipkg install/root/bzip2_1.0.5-1_arm.ipk
installing Bzip2 (1.0.5-1) to/opt /...
inserting ing Bzip2
Update-Alternatives: Linking/opt/bin/Bzip2 to/opt/bin/bzip2-bzip2
successfully terminated.
# Note: in this case, you must know the dependency sequence.
otherwise, ipkg automatically downloads dependencies online.

4. Delete the software package cups
 
# Ipkg remove package name-recursive
#-Recursive this parameter will automatically delete its dependent Software Package
[Root @ mybookworld etc] # ipkg remove cups-recursive
Removing package cups-doc from/opt /...
Removing package cups-PDF from/opt /...
Removing package ghostscript from/opt /...
Removing package cups from/opt /...
Successfully terminated.

The software source for ipkg on my book World edition is:
Http://ipkg.nslu2-linux.org/feeds/optware/gumstix1151/cross/unstable/

Vim 7.2 installed through ipkg

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.