Yuav Ua Li Cas INSTALL.SH Cov Ntaub Ntawv ntawm Linux nrog Terminal

Cov txheej txheem:

Yuav Ua Li Cas INSTALL.SH Cov Ntaub Ntawv ntawm Linux nrog Terminal
Yuav Ua Li Cas INSTALL.SH Cov Ntaub Ntawv ntawm Linux nrog Terminal

Video: Yuav Ua Li Cas INSTALL.SH Cov Ntaub Ntawv ntawm Linux nrog Terminal

Video: Yuav Ua Li Cas INSTALL.SH Cov Ntaub Ntawv ntawm Linux nrog Terminal
Video: Yuav tawm ntawm txoj kev txom nyem tau li cas? 2024, Kaum ib hlis
Anonim

Linux muaj ntau txoj hauv kev yooj yim lossis tshaj tawm rau txhim kho cov haujlwm tshiab, xws li Ubuntu Software Center thiab Synaptic Package Manager. Txawm li cas los xij, qee qhov kev thov tseem yuav tsum tau teeb tsa los ntawm Command Prompt lossis Terminal. Qhov wikiHow qhia koj yuav ua li cas rau nruab ib daim ntawv thov los ntawm INSTALL.sh cov ntaub ntawv siv kab hais kom ua.

Kauj ruam

Ua INSTALL.sh Cov Ntaub Ntawv hauv Linux Siv Terminal Kauj Ruam 1
Ua INSTALL.sh Cov Ntaub Ntawv hauv Linux Siv Terminal Kauj Ruam 1

Kauj Ruam 1. Rub tawm qhov program koj xav nruab

Cov ntaub ntawv xav tau feem ntau yog siv hauv.tar,.tgz, lossis.zip.

Yog tias cov ntawv rub tawm hauv INSTALL.sh ″ hom ntawv, koj yuav tsum tau nyem nws rau hauv.zip lossis.tar hom ua ntej mus. Txoj cai nyem rau kab ntawv, xaiv " Nyem … ", nyem" .zip, thiab xaiv " Tsim ”.

Ua INSTALL.sh Cov Ntaub Ntawv hauv Linux Siv Terminal Kauj Ruam 2
Ua INSTALL.sh Cov Ntaub Ntawv hauv Linux Siv Terminal Kauj Ruam 2

Kauj Ruam 2. Tshem cov ntsiab lus ntawm Tar lossis Zip cov ntaub ntawv mus rau lub desktop

Txoj cai-nyem qhov rub tawm cov ntawv khaws cia, tom qab ntawd xaiv " Extract Ntawm no "(Xaiv cov ntawv yuav txawv nyob ntawm Linux version siv). Ib daim nplaub tshev tshiab uas muaj cov program teeb tsa cov ntaub ntawv yuav raug tsim ntawm lub desktop.

  • Yog tias koj tau nkag mus ntawm lub console, rho tawm.tar cov ntaub ntawv los ntawm kev ua haujlwm tar -x filename.tar hauv Terminal.
  • Txhawm rau rho tawm cov ntsiab lus ntawm.tgz lossis.tar.gz cov ntaub ntawv los ntawm Command Prompt lossis Terminal, siv cov lus txib tar -xzf filename.tgz lossis tar -xvf filename.tar.gz.
  • Txhawm rau rho tawm.zip cov ntaub ntawv los ntawm lub console, ntaus unzip filename.zip.
Ua INSTALL.sh Cov Ntaub Ntawv hauv Linux Siv Terminal Kauj Ruam 3
Ua INSTALL.sh Cov Ntaub Ntawv hauv Linux Siv Terminal Kauj Ruam 3

Kauj ruam 3. Nyem ob npaug rau rho tawm cov ntawv tais ceev tseg

Yog tias koj tsis pom "install.sh" cov ntaub ntawv hauv nws, nws yog zaum hauv cov ntawv me me. Nrhiav cov ntawv tais ceev tseg uas muaj cov ntawv, tom qab ntawd mus rau kauj ruam tom ntej.

Ua INSTALL.sh Cov Ntaub Ntawv hauv Linux Siv Terminal 4
Ua INSTALL.sh Cov Ntaub Ntawv hauv Linux Siv Terminal 4

Kauj Ruam 4. Qhib Terminal Terminal

Txoj kev nrawm tshaj plaws los qhib Terminal hauv feem ntau cov tswj hwm qhov rai yog hla cov keyboard shortcut Ctrl+Alt+T.

Ua INSTALL.sh Cov Ntaub Ntawv hauv Linux Siv Terminal 5
Ua INSTALL.sh Cov Ntaub Ntawv hauv Linux Siv Terminal 5

Kauj Ruam 5. Ntaus cd ~/chaw nyob/ua tiav/rau/nplaub tshev/rho tawm thiab nias Enter

Hloov qhov nkag/chaw nyob/ua tiav/rau/nplaub tshev/rho tawm ″ nrog rau qhov chaw nyob puv ntawm daim nplaub tshev uas muaj cov ntawv "install.sh".

  • Piv txwv li, yog tias koj rho cov ntawv mus rau lub desktop, koj tuaj yeem ntaus cd ~ Desktop/filename. Tom qab ntaus thawj ob peb tsab ntawv ntawm lub npe nplaub tshev, nyem lub pob Tab kom nkag mus rau lub npe ntawv cia.
  • Txhawm rau kom ntseeg tau tias koj nkag mus rau hauv daim nplaub tshev raug, ntaus ls -a thaum pib ntawm kab hais kom ua thiab nias Enter. Koj tuaj yeem pom tib daim ntawv teev cov ntaub ntawv thiab cov ntawv tais ceev tseg thaum koj ob npaug nyem rau daim nplaub tshev tshiab ntawm lub desktop.
Ua INSTALL.sh Cov Ntaub Ntawv hauv Linux Siv Terminal Terminal 6
Ua INSTALL.sh Cov Ntaub Ntawv hauv Linux Siv Terminal Terminal 6

Kauj Ruam 6. Ntaus chmod +x install.sh thiab nias Enter

Yog tias cov ntaub ntawv teeb tsa muaj lub npe tsis yog install.sh ″, ntaus lub npe ntawd. Ua li no, cov ntaub ntawv teeb tsa tuaj yeem ua haujlwm los ntawm lub khoos phis tawj. Koj yuav tsis pom cov lus lees paub rau cov lus txib no.

Tsuav koj tsis pom cov lus yuam kev, koj tuaj yeem paub tseeb tias tsab ntawv tuaj yeem ua haujlwm

Ua INSTALL.sh Cov Ntaub Ntawv hauv Linux Siv Terminal Terminal 7
Ua INSTALL.sh Cov Ntaub Ntawv hauv Linux Siv Terminal Terminal 7

Kauj Ruam 7. Ntaus hauv sudo bash install.sh thiab nias Enter qhov tseem ceeb

Ib zaug ntxiv, hloov install.sh ″ nrog cov ntaub ntawv npe.sh yog tias tsim nyog.

Yog tias koj tau txais cov lus yuam kev, siv qhov hais kom ua sudo./install.sh

Ua INSTALL.sh Cov Ntaub Ntawv hauv Linux Siv Terminal Terminal 8
Ua INSTALL.sh Cov Ntaub Ntawv hauv Linux Siv Terminal Terminal 8

Kauj Ruam 8. Nkag mus rau tus as khauj tus password (hauv paus) thiab nyem Enter

Cov txheej txheem teeb tsa daim ntawv thov yuav raug ua tiav.

Ua INSTALL.sh Cov Ntaub Ntawv hauv Linux Siv Terminal Kauj Ruam 9
Ua INSTALL.sh Cov Ntaub Ntawv hauv Linux Siv Terminal Kauj Ruam 9

Kauj Ruam 9. Ua raws li cov lus qhia uas pom ntawm qhov screen kom ua tiav kev teeb tsa

Koj yuav xav tau nkag mus rau cov ntaub ntawv ntxiv txhawm rau ua tiav kev teeb tsa, nyob ntawm daim ntawv thov lossis program uas koj xav kom nruab.

Pom zoo: