久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      手把手教你怎么使用Win10推出軟件包管理器(分享)

      之前的文章《解析webpack3升級到webpack4版本遇到的問題(總結(jié))》中,給大家了解了webpack3升級到webpack4版本遇到的問題。下面本篇文章給大家怎么使用Win10推出軟件包管理器,我們一起看看怎么做。

      手把手教你怎么使用Win10推出軟件包管理器(分享)

      很長時間沒摸windows了, 發(fā)現(xiàn)自己居然out了,windows也有類似macbrew包管理器

      Scoop

      看scoop的地址:https://github.com/lukesampson/scoop

      scoop環(huán)境:

      • 用戶名不含中文字符

      • Windows 7 SP1+ / Windows Server 2008+

      • PowerShell 5+

      • . NET Framework 4.5+

      $PSVersionTable.PSVersion.Major   #查看Powershell版本 $PSVersionTable.CLRVersion.Major  #查看.NET Framework版本

      安裝 scoop

      # 開啟腳本權(quán)限 Set-ExecutionPolicy RemoteSigned -scope CurrentUser # 安裝 iwr -useb get.scoop.sh | iex #or Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')

      你可能需要VPN (fan qiang)如果下載scoop的過程中斷,那么必須先刪除(C:Usersscoop)文件夾,再執(zhí)行以上命令安裝。

      幫助文檔

      Usage: scoop <command> [<args>]  Some useful commands are:  alias       管理 scoop 別名 bucket      管理 Scoop buckets cache       顯示/清理下載緩存 checkup     檢查可能存在的問題 cleanup     移除舊版本清理應(yīng)用 config      獲取或設(shè)置配置值 create      創(chuàng)建一個自定義的app manifest depends     列出一個app的依賴關(guān)系 export      導(dǎo)出(可導(dǎo)入的)已安裝應(yīng)用程序列表 help        顯示一個命令的幫助 home        打開一個app 的主頁 info        顯示一個app的相關(guān)信息 install     安裝 apps list        列出已安裝的 apps prefix      返回指定應(yīng)用程序的路徑 reset       重置應(yīng)用程序以解決沖突 search      搜索可用應(yīng)用 status      顯示狀態(tài)并檢查新的應(yīng)用程序版本 uninstall   卸載 app update      更新 apps 和更新 Scoop virustotal  在virustotal.com上查找應(yīng)用程序的哈希 which       找到一個shim/可執(zhí)行文件(類似于Linux上的which)

      輸入 'scoop help' 顯示特定的命令

      基本操作

      使用scoop安裝git

      # 查找 scoop search git # 安裝 scoop install git #卸載 scoop uninstall git # 更新 scoop update git

      添加倉庫

      scoop自帶的main bucket軟件過少,我們需要添加官方維護的extras bucket

      scoop bucket add extras

      第三方 bucket

      若在scoop search中找不到需要的軟件,可以上github上的第三方bucket查找一下。 比如安裝cajviewer,添加bucket

      # 添加倉庫 scoop bucket add scoopbucket https://github.com/yuanying1199/scoopbucket # 安裝 scoop install scoopbucket/cajviewerlite

      下載加速

      方便是最大的優(yōu)點,缺點就是太尼瑪慢了, 裝個mysql,中間上了個大號,抽了3根煙,還沒裝完,最后快到80%的時候,安裝失敗。淚奔了…

      #安裝aria2, scoop install aria2 #打開16線程,aria2編譯版本默認最高線程為16,需要更高的請自行編譯 scoop config aria2-max-connection-per-server 16 scoop config aria2-split 16 scoop config aria2-min-split-size 1M

      使用aria2下載速度飛起,贊一個。

      以上scoop應(yīng)該就差不多了,夠用了。

      Chocolatey

      Chocolatey是一款專為Windows系統(tǒng)開發(fā)的、基于NuGet的包管理器工具,類似于Node.js的npm,MacOS的brew,Ubuntuapt-get,它簡稱為chocoChocolatey的設(shè)計目標是成為一個去中心化的框架,便于開發(fā)者按需快速安裝應(yīng)用程序和工具。

      Chocolatey 的官網(wǎng):https://chocolatey.org/

      所需環(huán)境

      • Windows 7+ / Windows Server 2003+

      • PowerShell v2+

      • . NET Framework 4+

      Chocolatey安裝

      請使用管理員身份打開控制臺。

      使用cmd

      @powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%chocolateybin

      使用PowerShell

      Set-ExecutionPolicy Bypass -Scope Process -Force  iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))

      相關(guān)命令

      * -? 幫助文檔 * list - 列出本地或者遠程包 * find - 查找本地或者遠程包 * search - 搜索本地或者遠程包 * info - 查看包信息 * install - 安裝包 * pin - 使一個包不被升級。 * outdated - 檢索已經(jīng)過時的包 * upgrade - 升級包 * uninstall - 卸載 * pack - 打包編譯nupkg包 * push - 發(fā)布一個已經(jīng)編譯的 nupkg包 * new - 從模板新建一個包 * sources - 查看和配置默認源(源的別名) * source - 查看和配置默認源 * config - 產(chǎn)看并配置配置文件設(shè)置 * feature - 查看和配置choco功能 * features - 查看和配置choco功能 (源的別名) * setapikey - 檢索、保存或刪除特定源的apikey(apikey的別名) * apikey - 檢索、保存或刪除特定源的apikey * unpackself - have chocolatey set itself up * version - [已經(jīng)棄用] * update - [不推薦]備用升級命令

      常用的一些命令

      # 列出本地已安裝的包 choco list --local-only  #列出Windows系統(tǒng)已安裝的軟件 choco list -li  #or  choco list -lai  #升級所有已安裝的包 choco upgrade all -y  #安裝Ruby Gem - choco install compass -source ruby  #安裝Python Egg - choco install sphynx -source python  #安裝IIS服務(wù)器特性 - choco install IIS -source windowsfeatures  #安裝Webpi特性 - choco install IIS7.5Express -source webpi

      Cygwin

      Cygwin是一個在windows平臺上運行的類UNIX模擬環(huán)境

      安裝

      這里下載的地址:https://cygwin.com/setup-x86_64.exe

      下載完成之后,安裝:

      • 網(wǎng)絡(luò)連接方式:Direct Connection

      • User URL:http://mirrors.163.com/cygwin/或者http://mirrors.neusoft.edu.cn/cygwin/=>Add

      初始安裝包

      Select Packages的時候,一次搜索并選擇最高版本,tcl,expect,rsynclynx… (… . 假如你需要的話… )。

      然后執(zhí)行:

      #安裝 apt-cyg lynx -source rawgit.com/transcode-open/apt-cyg/master/apt-cyg > apt-cyg # 把apt-cyg 鏈接到bin install apt-cyg /bin

      以上是懶癌方式安裝apt-cyg,當(dāng)然也可以手動安裝:

      $ git clone https://github.com/transcode-open/apt-cyg.git $ cd apt-cyg $ install apt-cyg /bin

      這樣一來就可以使用apt-cyg管理包了

      # 使用 apt-cyg 安裝 `nano` 包 apt-cyg install nano
      * install     安裝包 * remove      刪除包 * update      更新包 * download    下載包,但是不會安裝和更新 * show        顯示指定包的信息 * depends     為包生成依賴關(guān)系樹。 * rdepends    生成依賴于命名包的包樹。 * list        列出指定的包 * listall     列出所有包含包名的包 * category    顯示 category 列表的包 * listfiles   列出給定包擁有的所有文件。可以指定多個包 * search      搜索擁有指定文件的下載包 * searchall   搜索所有擁有指定文件的下載包

      結(jié)語

      我推薦使用scoop,自行感受吧。

      推薦學(xué)習(xí):windows教程

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號