[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Разлике

Овде су приказане разлике између изабране ревизије и тренутне верзије странице.

Постави везу ка овом компаративном приказу

Обе стране последње ревизијеПретходна ревизија
Следећа ревизија
Претходна ревизија
sr:slackware:slackpkg [2013/09/13 20:18 (UTC)] – [Configuring] sinisasr:slackware:slackpkg [2013/09/20 22:18 (UTC)] (тренутно) – [install] sinisa
Линија 4: Линија 4:
  
 ====== slackpkg ====== ====== slackpkg ======
-Slackpkg is an automated tool to manage local packages and to install new package over a networkNowadays slackpkg comes as part of Slackwarebut if you do not have it installed, the latest version can be downloaded from [[http://sourceforge.net/projects/slackpkg/files/latest/download|SourceForge]] and installed with installpkg.+Slackpkg је аутоматизовани алат за управљање локалних и инсталирање нових пакета путем мрежеДанас slackpkg долази као део Слаквераако га ипак немате инсталираног најновију верзију можете преузети са [[http://sourceforge.net/projects/slackpkg/files/latest/download|SourceForge]] и инсталирати га са installpkg.
  
 ===== Конфигурација ===== ===== Конфигурација =====
 +Пре него почнете користити slackpkg потребно је да имате најсвежију листу пакета и њихове верзије, тек онда их алат може аутоматски преузети са странице/огледала који сте одабрали. Да би одабрали огледало/страницу, једноставно откоментирјте један УРЛ у фајлу ///etc/slackpkg/mirrors//. Имајте на уму да су везе сортиране по издањима Слаквер верзије, будите сигурни да је веза коју сте одабрали за ону верзију Слаквера коју имате инсталирану на Вашем рачунару.
  
-Before slackpkg can be used it needs to have a current list of packages and their versions and that can be downloaded automatically by the tool itself once a mirror site is selected. To select a mirror, just uncomment a single URL in the file ''/etc/slackpkg/mirrors''. Note that the links are sorted by Slackware release versions so make sure that the selected link is in the same release that you are interested in. +Онда покрените:
- +
-Then run:+
   darkstar~# slackpkg update gpg   darkstar~# slackpkg update gpg
  
-The next step would be to update the package list with:+Следећи крак је освежавање листе пакета са:
      
   darkstar~# slackpkg update   darkstar~# slackpkg update
-   + 
-If there hasn't been a change to the listyou will be prompted with:+Ако није било промена у листамабићете упитани са 
      
   No changes in ChangeLog.txt between your last update and now.   No changes in ChangeLog.txt between your last update and now.
   Do you really want to download all other files (y/N)?   Do you really want to download all other files (y/N)?
      
-Otherwise slackpkg will download and install the current package information and will use that list.\\+У супротном slackpkg ће преузети, инсталирати и користити тренутне информације о новим пакетима.\\
  
-==== Blacklisting ====+==== Блеклистовање ====
  
-slackpage will take into consideration any pattern from ''/etc/slackpkg/blacklist''For example the following patterns will make slackpkg disregard any package that was installed from [[slackware:slackbuild_scripts|SBo]] and from alienBob's repository:+slackpkg ће узети у обзир све шаблоне у ///etc/slackpkg/blacklist//На примеру следећег шаблона slackpkg ће занемарити све пакете инсталиране из [[slackware:slackbuild_scripts|СБо]] и из ејлијенБоб-овог репозиторијума:
      
   [0-9]+_SBo   [0-9]+_SBo
Линија 32: Линија 31:
      
  
-===== Usage =====+===== Коришћење =====
  
-Slackpkg uses patterns to search install and remove packagesThe pattern will be searched on the list of packages and any package that matches the pattern is shown.+Slackpkg користи шаблоне за претрагу инсталирање и уклањање пакетаШаблон ће претраживати по листама пакета и сви пакети који се поклапају са шаблоном ће бити приказани.
  
-==== Search ====+==== Претрага ====
  
-Searching a package will show you information about the package full nameversion and installed status.\\+Претрага пакета ће Вам показати информацију о пуном имену пакетаверзији и да ли је пакет инсталиран.\\
  
   darkstar~# slackpkg search mc   darkstar~# slackpkg search mc
Линија 44: Линија 43:
   Looking for mc in package list. Please wait... DONE   Looking for mc in package list. Please wait... DONE
      
-  The list below shows all packages with name matching "mc".+  Доња листа приказује све пакете са "mc" у имену.
      
   [ installed ] - mcelog-1.0pre3-i486-1   [ installed ] - mcelog-1.0pre3-i486-1
Линија 51: Линија 50:
   [ installed ] - libmcrypt-2.5.8-i486-1   [ installed ] - libmcrypt-2.5.8-i486-1
  
-==== file-search ====+==== претрага-фајла ====
  
-To search a specific file and later install or remove the package that contains this file:+Да би тражили одређени фајл и касније инсталирали или уклонили пакет који садржи тај фајл:
      
   darkstar~# slackpkg file-search sshd   darkstar~# slackpkg file-search sshd
Линија 59: Линија 58:
   Looking for sshd in package list. Please wait... DONE   Looking for sshd in package list. Please wait... DONE
      
-  The list below shows the packages that contains "sshd" file.+  Доња листа приказује пакет који садржи "sshd" фајл.
      
   [ installed ] - openssh-6.0p1-i486-2   [ installed ] - openssh-6.0p1-i486-2
  
-==== info ====+==== инфо ====
  
-To get information about a package ''slackpkg Info packagename'' will print the package's information to the screen.+Да би добили информацију о пакету //slackpkg Info packagename// ће вам исписати на екрану информације о пакету.
  
-==== install ====+==== инсталација ====
  
-To install a package use ''slackpkg install pattern''. If a package was found a dialog window will present any packages that matches to the pattern and the user can un/check which packages to install.\\ +Да би инсталирали пакет користите //slackpkg install pattern//. Ако је пакет пронађен на екрану ће се исписати сви пакети који одговарају шаблону па корисник може одабрати који пакет жели инсталирати.\\ 
-To install everything in a branch you can type''slackpkg install branch'' for example ''slackpkg install kde'' will install everything under kde (but nothing from kdei).+Да инсталирате све на одређеној грани можете унети//slackpkg install branch// на пример //slackpkg install kde// ће инсталирати све са kde гранеали ништа са kdei).
 ==== remove ==== ==== remove ====
  
 sr:slackware:slackpkg ()