TWI509512B - Method and system for installing package - Google Patents

Method and system for installing package Download PDF

Info

Publication number
TWI509512B
TWI509512B TW099102675A TW99102675A TWI509512B TW I509512 B TWI509512 B TW I509512B TW 099102675 A TW099102675 A TW 099102675A TW 99102675 A TW99102675 A TW 99102675A TW I509512 B TWI509512 B TW I509512B
Authority
TW
Taiwan
Prior art keywords
library
installation
kit
libraries
user interface
Prior art date
Application number
TW099102675A
Other languages
Chinese (zh)
Other versions
TW201126416A (en
Inventor
Chieh Ju Wang
Shin Hway Yu
Original Assignee
Tatung Co
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tatung Co filed Critical Tatung Co
Priority to TW099102675A priority Critical patent/TWI509512B/en
Publication of TW201126416A publication Critical patent/TW201126416A/en
Application granted granted Critical
Publication of TWI509512B publication Critical patent/TWI509512B/en

Links

Description

套件安裝方法及系統Kit installation method and system

本發明是有關於一種套件安裝方法,且特別是有關於一種可自動化之Linux平台的套件安裝方法及系統。The present invention relates to a kit installation method, and more particularly to a kit installation method and system for an automated Linux platform.

隨著Linux越來越流行,越來越多的廠商開始在其銷售的電腦上預裝Linux平台。而Linux平台也開始慢慢搶佔個人電腦作業系統市場。同時Linux平台也是最受歡迎的伺服器作業系統之一。由於Linux平台具有低成本的特性,使得其在嵌入式電子產品上擁有優勢。As Linux becomes more popular, more and more vendors are starting to pre-install Linux on their computers. The Linux platform is also slowly taking over the PC operating system market. At the same time, the Linux platform is also one of the most popular server operating systems. Due to the low cost of the Linux platform, it has an advantage in embedded electronic products.

然而,一般Linux平台在開發階段需要相當多軟體套件來配合使用。而不同套件所需要的函式庫或所使用的標頭檔皆大不相同,所以在安裝套件時容易增加使用者的困擾。However, the general Linux platform requires quite a few software packages to work with during the development phase. The libraries required for different kits or the header files used are very different, so it is easy to increase the user's troubles when installing the kit.

本發明提供一種套件安裝方法及系統,用以協助使用者進行套件的安裝,並可減少在安裝時缺少函式庫的問題。The present invention provides a kit mounting method and system for assisting a user in installing a kit and reducing the problem of lack of a library during installation.

本發明提出一種套件安裝方法,適用於Linux平台。在此,先建立資料庫,此資料庫包括多個套件與多個函式庫。這些函式庫分別與其中任一套件具有一對應關係。於使用者介面列出這些套件。經由使用者介面來接收第一輸入,以選擇這些套件的其中一個欲安裝套件。並且,依據欲安裝套件的對應關係,自上述的函式庫選取欲安裝套件所對應的函式庫。之後,修改欲安裝套件的編譯描述檔。進行安裝程序,以將欲安裝套件與其所對應的函式庫安裝至Linux平台。The invention proposes a kit installation method suitable for the Linux platform. Here, the database is first established. This database includes multiple packages and multiple libraries. These libraries have a corresponding relationship with any of the kits. These kits are listed in the user interface. The first input is received via the user interface to select one of the kits to install the kit. And, according to the correspondence of the kit to be installed, the library corresponding to the suite to be installed is selected from the above library. After that, modify the compilation description file of the package you want to install. Install the program to install the library to be installed and its corresponding library to the Linux platform.

在本發明之一實施例中,上述套件安裝方法更可將這些函式庫列出至使用者介面,以經由使用者介面來接收第二輸入進而選取欲安裝套件所對應的函式庫。In an embodiment of the present invention, the kit installation method may further list the libraries to the user interface to receive the second input through the user interface and select a library corresponding to the suite to be installed.

在本發明之一實施例中,上述套件安裝方法在進行安裝程序之後,若函式庫的版本不正確,顯示錯誤訊息。並且,依據錯誤訊息,重新自上述函式庫中選取欲安裝套件所對應的函式庫,以調整所選取的函式庫的版本。In an embodiment of the present invention, after the installation method is performed, if the version of the library is incorrect, an error message is displayed. And, according to the error message, re-select the library corresponding to the suite to be installed from the above library to adjust the version of the selected library.

在本發明之一實施例中,上述在調整函式庫的版本的步驟之後,還可依據調整後的函式庫的版本,修改資料庫中欲安裝套件與其所對應的函式庫之間的對應關係。In an embodiment of the present invention, after the step of adjusting the version of the library, the version of the library to be installed and the corresponding library in the database may be modified according to the version of the adjusted library. Correspondence relationship.

在本發明之一實施例中,上述資料庫更包括儲存多個資源庫,而這些資源庫包括圖形檔、字型檔以及游標圖示。另外,上述套件安裝方法更可在使用者介面中列出這些資源庫,而經由使用者介面接收第三輸入,以選擇至少其中一資源庫。並且,修改欲安裝套件的編譯描述檔,再進行安裝程序,以將資源庫安裝至Linux平台。In an embodiment of the present invention, the database further includes storing a plurality of resource libraries, and the resource libraries include a graphic file, a font file, and a cursor icon. In addition, the above kit installation method may further list the resource pools in the user interface, and receive the third input through the user interface to select at least one of the resource pools. Also, modify the compilation description file of the package to be installed, and then install the program to install the repository to the Linux platform.

本發明另提出一種套件安裝系統,適用於Linux平台。套件安裝系統包括使用者介面、資料庫以及處理模組。資料庫中包括多個套件與多個函式庫,而這些函式庫分別與其中任一套件具有一對應關係。處理模組會將這些套件列出至使用者介面,並且透過使用者介面來接收第一輸入,以選擇這些套件的其中一欲安裝套件,再依據欲安裝套件的對應關係,自這些函式庫中選取欲安裝套件所對應的函式庫,並且修改欲安裝套件的編譯描述檔,以及進行安裝程序,以將欲安裝套件與其所對應的函式庫安裝至Linux平台。The invention further proposes a kit installation system suitable for the Linux platform. The kit installation system includes a user interface, a database, and a processing module. The database includes multiple packages and multiple libraries, and each of these libraries has a corresponding relationship with any of the packages. The processing module will list the kits to the user interface and receive the first input through the user interface to select one of the kits to be installed, and then according to the correspondence of the suites to be installed, from these libraries Select the library corresponding to the installation kit, modify the compilation description file of the installation kit, and install the program to install the library to be installed and its corresponding library to the Linux platform.

在本發明之一實施例中,上述處理模組還會將上述函式庫列出至使用者介面,以經由使用者介面接收第二輸入來選取欲安裝套件所對應的函式庫。而處理模組在進行安裝程序之後,若函式庫的版本不正確,處理模組更會顯示錯誤訊息,並且依據錯誤訊息,重新自這些函式庫中選取欲安裝套件所對應的函式庫,以調整所選取的函式庫的版本。另外,處理模組還會依據調整後的函式庫的版本,修改資料庫中欲安裝套件與函式庫之間的對應關係。In an embodiment of the present invention, the processing module further lists the library to the user interface to receive the second input through the user interface to select a library corresponding to the suite to be installed. After the processing module is installed, if the version of the library is incorrect, the processing module will display an error message, and according to the error message, re-select the library corresponding to the suite to be installed from the libraries. To adjust the version of the selected library. In addition, the processing module also modifies the correspondence between the package to be installed in the database and the library according to the version of the adjusted library.

在本發明之一實施例中,上述資料庫更包括儲存多個資源庫(包括圖形檔、字型檔以及游標圖示)。而處理模組也會列出這些資源庫至使用者介面,經由使用者介面接收第三輸入,以選擇其中至少一資源庫,並且修改欲安裝套件的編譯描述檔,以及將資源庫安裝至Linux平台。In an embodiment of the present invention, the database further includes storing a plurality of resource libraries (including a graphic file, a font file, and a cursor icon). The processing module also lists the resource libraries to the user interface, receives the third input through the user interface, selects at least one of the resource libraries, and modifies the compilation description file of the installation package, and installs the resource library to the Linux. platform.

基於上述,本發明建立一個資料庫來儲存不同套件與其對應的函式庫,並且提供一個使用者介面來呈現這些套件與函式庫,藉以達成自動進行套件的安裝,並可減少在套件安裝時缺少對應函式庫的問題。Based on the above, the present invention establishes a database to store different libraries and their corresponding libraries, and provides a user interface to present these kits and libraries for automatic installation of the kits and to reduce the installation of the kits. The problem with the corresponding library is missing.

為讓本發明之上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。The above described features and advantages of the present invention will be more apparent from the following description.

Linux平台在開發階段需要搭配其他套件來使用。而不同套件所需要的函式庫或所使用的標頭檔皆大不相同,所以在安裝套件時容易增加使用者的困擾。為此,本發明提出一種套件安裝方法及系統,可進行套件的安裝,並可減少在安裝時缺少函式庫的問題。為了使本發明之內容更為明瞭,以下特舉實施例作為本發明確實能夠據以實施的範例。The Linux platform needs to be used with other suites during the development phase. The libraries required for different kits or the header files used are very different, so it is easy to increase the user's troubles when installing the kit. To this end, the present invention proposes a kit mounting method and system for installing the kit and reducing the problem of lack of a library at the time of installation. In order to clarify the content of the present invention, the following specific examples are given as examples in which the present invention can be implemented.

圖1是依照本發明一實施例的套件安裝方法的流程圖。本實施例是於Linux平台(例如嵌入式系統)中來執行下列套件安裝方法。1 is a flow chart of a kit mounting method in accordance with an embodiment of the present invention. This embodiment implements the following suite installation methods in a Linux platform such as an embedded system.

請參照圖1,首先,在步驟S105中,建立資料庫,其包括多個套件與多個函式庫(例如,標頭檔、原始碼或目的碼)。這些函式庫分別與其中任一套件具有一個對應關係。也就是說,一個套件可能會具有至少一個搭配使用的函式庫。Referring to FIG. 1, first, in step S105, a database is created, which includes a plurality of packages and a plurality of libraries (for example, a header file, a source code, or a destination code). These libraries have a corresponding relationship with any of the kits. That is, a suite may have at least one library that works with it.

接著,在步驟S110中,列出這些套件至一使用者介面。也就是列出一份套件清單,利用使用者介面將資料庫中的套件呈現給使用者觀看,據此使用者便能夠經由使用者介面來進行選擇。在此,更可透過使用者介面來呈現目前Linux平台上已經安裝的套件或函式庫。或者,僅透過使用者介面來呈現Linux平台上尚未安裝的函式庫。Next, in step S110, the kits are listed to a user interface. That is, a list of packages is listed, and the suites in the database are presented to the user through the user interface, whereby the user can select through the user interface. Here, the user interface can be used to present the packages or libraries already installed on the current Linux platform. Or, the library that is not installed on the Linux platform is presented only through the user interface.

之後,如步驟S115所示,經由使用者介面接收一輸入,以選擇這些套件中之一欲安裝套件。在此,經由使用者介面所接收的輸入(第一輸入)例如是使用者所輸入的套件名稱,或是使用者直接於使用者介面中輸入的選擇指令。Thereafter, as shown in step S115, an input is received via the user interface to select one of the kits to install the kit. Here, the input (first input) received via the user interface is, for example, the name of the kit input by the user or a selection command input by the user directly into the user interface.

然後,在步驟S120中,依據欲安裝套件的對應關係,自資料庫的函式庫中來選取欲安裝套件所對應的函式庫。在此,資料庫中包括不同版本的套件以及其各自所搭配的函式庫。經由使用者介面所接收的輸入(第二輸入),即可自動依據資料庫中所設定的對應關係來取得對應的函式庫。Then, in step S120, according to the correspondence of the components to be installed, the library corresponding to the suite to be installed is selected from the library of the database. Here, the database includes different versions of the suites and their respective libraries. Through the input (second input) received by the user interface, the corresponding library can be automatically obtained according to the correspondence set in the database.

並且,還可以將欲安裝套件所對應的函式庫列出至使用者介面,讓使用者勾選需要的函式庫。而若原本作業系統裡就已經安裝了這些函式庫,使用者便可不進行勾選,而不用再次進行安裝。Moreover, the library corresponding to the installation kit can also be listed to the user interface, and the user can select the required library. If these libraries are already installed in the original operating system, the user can leave them unchecked without having to install them again.

接下來執行步驟S125,修改欲安裝套件的編譯描述檔(Makefile),也就是修改函式庫所欲安裝的路徑。之後,如步驟S130所示,進行安裝程序,將欲安裝套件與其所對應的函式庫安裝至Linux平台。在勾選完欲安裝套件及選取完其所搭配的函式庫後,就會進行修改編譯描述檔,然後進行安裝程序。編譯描述檔裡面會記錄所選的這些函式庫所欲安裝的路徑,由於這些函式庫並不是安裝在固定的路徑下,因此在選完函式庫之後,便會自動去修改編譯描述檔所記錄的函式庫的安裝路徑。Next, step S125 is executed to modify the compilation file (Makefile) of the package to be installed, that is, to modify the path to be installed by the library. Then, as shown in step S130, the installation program is executed, and the library to be installed and its corresponding library are installed to the Linux platform. After checking the package to be installed and selecting the library to which it is paired, the compilation description file will be modified and then the installation program will be performed. The compiled description file will record the path to be selected by these selected libraries. Since these libraries are not installed in a fixed path, the compiled description file will be automatically modified after the library is selected. The installation path of the recorded library.

據此,藉由上述方法能夠快速地安裝套件及其所搭配使用的函式庫。Accordingly, the kit and the library used in it can be quickly installed by the above method.

以下再以MiniGUI套件為例來說明套件安裝方法。圖2A~圖2C是依照本發明一實施例的MiniGUI套件安裝方法的流程圖。請先參照圖2A,在步驟S205中,啟動虛擬光碟。在本實施例中,資料庫的儲存方式可以是製作為映像檔。因此,欲使用資料庫時,便要將虛擬光碟啟動。The following uses the MiniGUI suite as an example to illustrate the kit installation method. 2A-2C are flowcharts of a method for installing a MiniGUI suite according to an embodiment of the invention. Referring first to FIG. 2A, in step S205, the virtual optical disk is started. In this embodiment, the storage manner of the database may be created as an image file. Therefore, when you want to use the database, you need to boot the virtual CD.

接著,在步驟S210中,開啟使用者介面,藉以進行後續套件的選擇與其所搭配之函式庫的選擇。之後,如步驟S215所示,列出資料庫中的套件至使用者介面,以供使用者自其中選擇欲安裝套件,在此為MiniGUI套件。Next, in step S210, the user interface is opened, so that the selection of the subsequent suite and the selection of the library to which it is matched are performed. Then, as shown in step S215, the kits in the database are listed to the user interface for the user to select the suite to install, which is the MiniGUI suite.

再來,於步驟S220中,列出欲安裝套件對應的函式庫,以供使用者選擇。據此,使用者可依據自身的經驗法則來進行函式庫的挑選。根據安裝Linux平台版本的不一樣或是其他因素,安裝的MiniGUI套件的版本也可能會不一樣。並且,可能依據MiniGUI套件的需求而搭配一些不同的函式庫。而這些函式庫是要額外安裝而不是在安裝MiniGUI套件的時候就會安裝進去。據此,便需選擇對應的函式庫。Then, in step S220, the library corresponding to the suite to be installed is listed for the user to select. According to this, the user can select the library according to his own rule of thumb. Depending on the version of the Linux platform installed or other factors, the version of the installed MiniGUI suite may be different. And, depending on the needs of the MiniGUI suite, some different libraries can be used. These libraries are installed extra and not installed when the MiniGUI suite is installed. According to this, you need to select the corresponding library.

之後,在步驟S225中,安裝所選擇的函式庫。同樣地,在此亦會修改編譯描述檔。進行安裝程序之後,如步驟S230所示,判斷安裝是否成功。例如,判斷函式庫的版本是否符合欲安裝套件的版本。若安裝失敗,執行步驟S230,顯示錯誤訊息。之後,如步驟S240所示,修正錯誤。在此,可由使用者重新進行函式庫的選擇,以依據錯誤訊息而選出與MiniGUI套件版本相符合的函式庫。而若安裝正確,在安裝程序的過程中也可以順便列出欲安裝套件的簡單說明。之後,執行步驟S245,進行資源庫的安裝。在此,資源庫為MiniGUI套件所需要的圖形檔、字型檔、游標圖示等。Thereafter, in step S225, the selected library is installed. Similarly, the compilation description file will be modified here. After the installation process is performed, as shown in step S230, it is determined whether the installation is successful. For example, determine if the version of the library matches the version of the suite you want to install. If the installation fails, step S230 is executed to display an error message. Thereafter, as shown in step S240, the error is corrected. Here, the user can re-select the library to select a library that conforms to the version of the MiniGUI suite according to the error message. If the installation is correct, you can also briefly list the instructions for installing the kit during the installation process. After that, step S245 is performed to perform the installation of the resource library. Here, the resource library is a graphic file, a font file, a cursor icon, and the like required by the MiniGUI suite.

安裝資源庫的細部流程,如圖2B所示。請參照圖2B,在步驟S250,列出資源庫至使用者介面,以供使用者進行選擇。在選取完欲安裝的資源庫之後,如步驟S255所示,安裝資源庫。再來,在步驟S260中,判斷安裝是否成功。例如,資源庫的版本是否與MiniGUI套件相符。若安裝失敗,執行步驟S265,顯示錯誤訊息。再來如步驟S270所示,修正錯誤。而若安裝正確,執行步驟S275,顯示安裝資訊。The detailed process of installing the repository is shown in Figure 2B. Referring to FIG. 2B, in step S250, the resource library is listed to the user interface for the user to select. After the resource library to be installed is selected, the resource library is installed as shown in step S255. Further, in step S260, it is judged whether or not the installation is successful. For example, if the version of the repository matches the MiniGUI suite. If the installation fails, step S265 is performed to display an error message. Then, as shown in step S270, the error is corrected. If the installation is correct, step S275 is performed to display the installation information.

另外,若要讓此套件可以在其他平台上面使用,可將其編譯成一個執行檔,據此便要針對開發環境再做一些設定。請參照圖2C,在步驟S280中,列出可供選擇的執行模式。在此,執行模式例如為支援多執行緒或是僅支援標準模式等。例如,在一些使用uClinux的嵌入式系統中,因為產品特性而缺少執行緒支援,則在設定環境時,應將執行模式設定為支援標準模式。In addition, if you want this kit to be used on other platforms, you can compile it into an executable file, and then make some settings for the development environment. Referring to FIG. 2C, in step S280, an alternative execution mode is listed. Here, the execution mode is, for example, support for multiple threads or only standard mode. For example, in some embedded systems using uClinux, due to lack of thread support due to product features, the execution mode should be set to support standard mode when setting the environment.

接著,在步驟S285中,列出可供鏈結的函式庫(例如列出安裝時所選擇的函式庫)。之後,如步驟S290所示,選取欲鏈結的函式庫。最後,在步驟S295中,修改編譯描述檔,並進行安裝程序。這是因為其它平台尚未安裝過此套件,因此可能沒有對應的函式庫可以使用。據此,在編譯執行檔時可以把對應的函式庫全部編譯進去以便於在其他平台上使用。而若其他平台已經具有這些函式庫便不需要編譯進去,在執行的時候會直接去鏈結對應的函式庫。Next, in step S285, the libraries available for linking are listed (for example, the library selected at the time of installation). Thereafter, as shown in step S290, the library to be linked is selected. Finally, in step S295, the compile description file is modified and the installer is executed. This is because this suite has not been installed on other platforms, so there may not be a corresponding library available. According to this, the corresponding library can be compiled into the executable file for use on other platforms. If other libraries already have these libraries, they do not need to be compiled. When executed, they will directly link to the corresponding library.

另外,本發明另提供一種套件安裝系統,適用於Linux平台。圖3是依照本發明一實施例的套件安裝系統的方塊圖。請參照圖3,套件安裝系統300包括使用者介面310、資料庫320以及處理模組330。In addition, the present invention further provides a kit installation system suitable for the Linux platform. 3 is a block diagram of a kit mounting system in accordance with an embodiment of the present invention. Referring to FIG. 3, the kit installation system 300 includes a user interface 310, a database 320, and a processing module 330.

在此,處理模組330會將這些套件列出至使用者介面310,並且透過使用者介面310來接收輸入(第一輸入),以選擇這些套件的其中一欲安裝套件,再依據欲安裝套件的對應關係,自這些函式庫中選取欲安裝套件所對應的函式庫,並且修改欲安裝套件的編譯描述檔,以及進行安裝程序,以將欲安裝套件與其所對應的函式庫安裝至Linux平台。Here, the processing module 330 lists the kits to the user interface 310 and receives input (first input) through the user interface 310 to select one of the kits to be installed, and then according to the kit to be installed. Correspondence, select the library corresponding to the suite to be installed from these libraries, modify the compilation description file of the installation kit, and install the program to install the library to be installed and its corresponding library to Linux platform.

另外,處理模組330還會將上述函式庫列出至使用者介面310,以經由使用者介面接收另一輸入(第二輸入)來選取欲安裝套件所對應的函式庫。而處理模組330在進行安裝程序之後,若函式庫的版本不正確,處理模組330更會顯示錯誤訊息,並且依據錯誤訊息,調整函式庫的版本,以重新選取欲安裝套件所對應的函式庫。另外,處理模組330還會依據調整後的函式庫的版本,修改資料庫320中欲安裝套件與函式庫之間的對應關係。In addition, the processing module 330 also lists the library to the user interface 310 to receive another input (second input) via the user interface to select a library corresponding to the suite to be installed. After the installation module 330 performs the installation procedure, if the version of the library is incorrect, the processing module 330 displays an error message and adjusts the version of the library according to the error message to re-select the corresponding package. Library of the library. In addition, the processing module 330 also modifies the correspondence between the package and the library to be installed in the database 320 according to the version of the adjusted library.

資料庫320中包括多個套件與多個函式庫,而這些函式庫分別與其中任一套件具有一對應關係。另外,資料庫320更包括儲存多個資源庫(包括圖形檔、字型檔以及游標圖示)。處理模組330也會列出這些資源庫至使用者介面310,而經由使用者介面310接收另一輸入(第三輸入),以選擇其中至少一資源庫,並且修改欲安裝套件的編譯描述檔,以及將資源庫安裝至Linux平台。The database 320 includes a plurality of suites and a plurality of libraries, and each of the libraries has a correspondence with any of the kits. In addition, the database 320 further includes storing a plurality of resource libraries (including graphic files, font files, and cursor icons). The processing module 330 also lists the resource libraries to the user interface 310, and receives another input (third input) via the user interface 310 to select at least one of the resource libraries and modify the compiled description file of the package to be installed. And install the repository to the Linux platform.

綜上所述,本發明提供了不同套件間所搭配的函式庫,可在安裝套件時,自動選取套件對應的函式庫來進行安裝。據此,解決了在安裝套件時發生缺少函式庫的問題。In summary, the present invention provides a library for matching between different kits, and the library corresponding to the kit can be automatically selected for installation when the kit is installed. Accordingly, the problem of missing libraries occurring when the suite is installed is solved.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,故本發明之保護範圍當視後附之申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the invention, and any one of ordinary skill in the art can make some modifications and refinements without departing from the spirit and scope of the invention. The scope of the invention is defined by the scope of the appended claims.

300...套件安裝系統300. . . Kit installation system

310...使用者介面310. . . user interface

320...資料庫320. . . database

330...處理模組330. . . Processing module

S105~S130...本發明之套件安裝方法各步驟S105~S130. . . Each step of the kit installation method of the present invention

S205~S195...本發明的MiniGUI套件安裝方法各步驟S205~S195. . . Each step of the MiniGUI suite installation method of the present invention

圖1是依照本發明一實施例的套件安裝方法的流程圖。1 is a flow chart of a kit mounting method in accordance with an embodiment of the present invention.

圖2A~圖2C是依照本發明一實施例的MiniGUI套件安裝方法的流程圖。2A-2C are flowcharts of a method for installing a MiniGUI suite according to an embodiment of the invention.

圖3是依照本發明一實施例的套件安裝系統的方塊圖。3 is a block diagram of a kit mounting system in accordance with an embodiment of the present invention.

S105~S130...本發明之套件安裝方法各步驟S105~S130. . . Each step of the kit installation method of the present invention

Claims (10)

一種套件安裝方法,適用於一Linux平台,該套件安裝方法包括:建立一資料庫,該資料庫包括多個套件與多個函式庫,其中該些函式庫分別與該些套件其中之任一具有一對應關係;列出該些套件至一使用者介面;經由該使用者介面接收一第一輸入,以選擇該些套件中之一欲安裝套件;依據該欲安裝套件的對應關係,自該些函式庫中選取該欲安裝套件所對應的函式庫;依據所選擇的上述函式庫,自動地修改該欲安裝套件的編譯描述檔所記錄的上述函式庫的安裝路徑,以使上述函式庫的安裝路徑並非安裝於固定的路徑下;以及進行一安裝程序,以將該欲安裝套件與其所對應的函式庫安裝至該Linux平台。 A kit installation method for a Linux platform, the kit installation method includes: establishing a database, the database includes a plurality of packages and a plurality of libraries, wherein the functions of the libraries are respectively Having a correspondence relationship; listing the kits to a user interface; receiving a first input via the user interface to select one of the kits to install the kit; according to the correspondence of the kit to be installed, Selecting a library corresponding to the installation kit in the library; automatically modifying the installation path of the library recorded by the compilation description file of the installation kit according to the selected library The installation path of the above library is not installed under a fixed path; and an installation program is performed to install the library to be installed and the corresponding library to the Linux platform. 如申請專利範圍第1項所述之套件安裝方法,更包括:列出該些函式庫至該使用者介面,以經由該使用者介面接收一第二輸入來選取該欲安裝套件所對應的函式庫。 The kit installation method of claim 1, further comprising: listing the libraries to the user interface to receive a second input via the user interface to select a corresponding one of the installation kits Library. 如申請專利範圍第1項所述之套件安裝方法,更包括:在進行該安裝程序之後,若所選取的函式庫的版本不正確,顯示一錯誤訊息;以及 依據該錯誤訊息,重新自該些函式庫中選取該欲安裝套件所對應的函式庫,以調整所選取的函式庫的版本。 For example, the kit installation method described in claim 1 further includes: after the installation procedure, if an incorrect version of the selected library is displayed, an error message is displayed; According to the error message, the library corresponding to the installation kit is selected from the libraries to adjust the version of the selected library. 如申請專利範圍第3項所述之套件安裝方法,其中在重新自該些函式庫中選取該欲安裝套件所對應的函式庫的步驟之後,更包括:依據調整後的函式庫的版本,修改該資料庫中該欲安裝套件與其所對應的函式庫之間的對應關係。 The kit installation method of claim 3, wherein after the step of re-selecting the library corresponding to the package to be installed from the libraries, the method further comprises: according to the adjusted library Version, modify the correspondence between the library to be installed and the corresponding library in the database. 如申請專利範圍第1項所述之套件安裝方法,其中該資料庫更包括儲存多個資源庫,該些資源庫包括圖形檔、字型檔以及游標圖示,而該套件安裝方法更包括:列出該些資源庫至該使用者介面;經由該使用者介面接收一第三輸入,以選擇該些資源庫至少其中之一;修改該欲安裝套件的編譯描述檔;以及將該資源庫安裝至該Linux平台。 The kit installation method of claim 1, wherein the database further comprises storing a plurality of resource libraries, wherein the resource library includes a graphic file, a font file, and a cursor icon, and the package installation method further comprises: Listing the resource pools to the user interface; receiving a third input via the user interface to select at least one of the resource libraries; modifying the compiled description file of the installation kit; and installing the resource library To the Linux platform. 一種套件安裝系統,適用於一Linux平台,該套件安裝系統包括:一使用者介面;一資料庫,包括多個套件與多個函式庫,其中該些函式庫分別與該些套件其中之任一具有一對應關係;以及一處理模組,列出該些套件至該使用者介面,並且透過該使用者介面接收一第一輸入,以選擇該些套件中之一欲安裝套件,再依據該欲安裝套件的對應關係,自該些函式庫選取該欲安裝套件所對應的函式庫,並且,依據所選 擇的上述函式庫,自動地修改該欲安裝套件的編譯描述檔所記錄的上述函式庫的安裝路徑以使上述函式庫的安裝路徑並非安裝於固定的路徑下,以及進行一安裝程序,以將該欲安裝套件與其所對應的函式庫安裝至該Linux平台。 A kit installation system for a Linux platform, the kit installation system includes: a user interface; a database comprising a plurality of kits and a plurality of libraries, wherein the libraries are respectively associated with the kits Any one of the correspondences; and a processing module that lists the kits to the user interface and receives a first input through the user interface to select one of the kits to install the kit, and then Corresponding relationship of the installation kit, selecting a library corresponding to the installation kit from the library, and according to the selected Selecting the above library, automatically modifying the installation path of the above-mentioned library recorded in the compilation description file of the installation kit, so that the installation path of the above library is not installed in a fixed path, and performing an installation procedure To install the library to be installed and the corresponding library to the Linux platform. 如申請專利範圍第6項所述之套件安裝系統,其中該處理模組會列出該些函式庫至該使用者介面,以經由該使用者介面接收一第二輸入來選取該欲安裝套件所對應的函式庫。 The kit installation system of claim 6, wherein the processing module lists the libraries to the user interface to receive a second input via the user interface to select the installation kit. The corresponding library. 如申請專利範圍第6項所述之套件安裝系統,其中該處理模組在進行該安裝程序之後,若所選取的函式庫的版本不正確,顯示一錯誤訊息,並且依據該錯誤訊息,重新自該些函式庫中選取該欲安裝套件所對應的函式庫,以調整所選取的函式庫的版本。 The kit installation system of claim 6, wherein the processing module displays an error message after the installation procedure is performed, if the version of the selected library is incorrect, and according to the error message, Select the library corresponding to the suite to be installed from the libraries to adjust the version of the selected library. 如申請專利範圍第8項所述之套件安裝系統,其中該處理模組會依據調整後的函式庫的版本,修改該資料庫中該欲安裝套件與其所對應的函式庫之間的對應關係。 The kit installation system of claim 8, wherein the processing module modifies the correspondence between the installation kit and the corresponding library in the database according to the version of the adjusted library. relationship. 如申請專利範圍第9項所述之套件安裝系統,其中該資料庫更包括儲存多個資源庫,該些資源庫包括圖形檔、字型檔以及游標圖示,而該處理模組會列出該些資源庫至該使用者介面,經由該使用者介面接收一第三輸入,以選擇該些資源庫至少其中之一,並且修改該欲安裝套件的編譯描述檔,以及將該資源庫安裝至該Linux平台。 The kit installation system of claim 9, wherein the database further comprises storing a plurality of resource libraries, wherein the resource library includes a graphic file, a font file, and a cursor icon, and the processing module lists The resource library to the user interface receives a third input via the user interface to select at least one of the resource libraries, and modifies the compiled description file of the installation kit, and installs the resource library to The Linux platform.
TW099102675A 2010-01-29 2010-01-29 Method and system for installing package TWI509512B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW099102675A TWI509512B (en) 2010-01-29 2010-01-29 Method and system for installing package

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW099102675A TWI509512B (en) 2010-01-29 2010-01-29 Method and system for installing package

Publications (2)

Publication Number Publication Date
TW201126416A TW201126416A (en) 2011-08-01
TWI509512B true TWI509512B (en) 2015-11-21

Family

ID=45024529

Family Applications (1)

Application Number Title Priority Date Filing Date
TW099102675A TWI509512B (en) 2010-01-29 2010-01-29 Method and system for installing package

Country Status (1)

Country Link
TW (1) TWI509512B (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
2008年09月08日,〝Ubuntu 新體驗〞,http://a6419.pixnet.net/blog/post/35433142 2008年09月09日,〝Ubuntu 套件管理指令 apt-get〞,http://blog.xuite.net/frle/Ubuntu/19505271 *

Also Published As

Publication number Publication date
TW201126416A (en) 2011-08-01

Similar Documents

Publication Publication Date Title
US10817279B1 (en) Providing different upgrade paths for upgrading a server
JP5362974B2 (en) How to use virtualization software for shipping software products
KR100952251B1 (en) Servicing a component base software product
TWI332176B (en) Method and system for automated installation of system specific drivers
US20070169114A1 (en) Application suite installer with automatic detection of content and configurable options
US20070240150A1 (en) Simplifying installation of a suite of software products
US7873960B2 (en) Generic packaging tool for packaging application and component therefor to be installed on computing device
KR20000070089A (en) Software update manager
US7752005B2 (en) Integrated instrument driver network
US7661113B2 (en) Method and system for data preparation and communication between software applications
US6487522B1 (en) System and method for selectively executing a computer program based on the presence of associated hardware
US11762651B2 (en) Software and firmware updates in a combined single pane of glass interface
US20120254859A1 (en) Method and apparatus for downloading software updates to place user terminal into a desired configuration state
US20220244944A1 (en) Desired state model for managing lifecycle of virtualization software
US20150186126A1 (en) System and Method of Automating Installation of Applications
US20210311711A1 (en) Desired state model for managing lifecycle of virtualization software
CN111124454A (en) Mirror image construction method and device, electronic equipment and storage medium
US6021276A (en) Method and apparatus for microcode downloading
US9122687B2 (en) Crash recovery for attended operating system installations
US20090217259A1 (en) Building Operating System Images Based on Applications
WO2020199543A1 (en) Method and apparatus applicable to release and upgrade of hybrid application, and intelligent device
US20230342181A1 (en) Validation of combined software/firmware updates
US9244672B2 (en) Optimization utility for developing embedded systems
US7644259B2 (en) Customization of option ROM images
US20060048137A1 (en) Method and apparatus for cloning an ORACLE RDBMS software

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees