TAILIEUCHUNG - Professional Information Technology-Programming Book part 128

Tham khảo tài liệu 'professional information technology-programming book part 128', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | With the above changes whenever you try to install a program through the Ports tree Ports will first look for a binary package in the directory you specified. If it finds one it also looks for dependent packages. If no precompiled binaries are found Ports goes ahead and compiles the program from source along with any dependencies. If you install a package with the pkg_add command you need to type only the package name not the full version information and path and dependencies are automatically calculated for you. . Installing programs through Ports andpkg_add There are more than 3 700 programs in the Ports tree and about 3 400 of them have precompiled binary package equivalents. As mentioned in the previous subsection you can use Ports to retrieve binary packages if you make the changes listed above. The advantage that Ports has over the plain pkg_add command is that it s much easier to find a program you re looking for. Just go to usr ports and look through the categories then cd to that category and look for the program you want. Vim for instance can be found in usr ports editors vim . If there is any question as to what one of the programs in Ports does take a look at the DESCR file in that program s pkg directory. DESCR provides a basic description of what each program does. If you can t find a package through ordinary navigation of the Ports tree switch to the usr ports directory and run this command make search key searchterm Replace search term with a search word. For instance if you are looking for all programs that relate to the Fluxbox window manager you would type this make search key fluxbox This is not case-sensitive so capital letters don t matter. You ll be shown a list of programs in the Ports tree that have descriptions that contain the word you searched for. If the list is too long to read in one screen hold down the Shift key and press Page Up to scroll the screen buffer back a little. Once you change to the program s directory in the Ports

Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.