오프라인 컴퓨터와 동일한 아키텍처의 컴퓨터가 필요합니다. 이 컴퓨터는 오프라인 컴퓨터와 동일한 컴퓨터 아키텍처 여야합니다 (예 : i386 32 비트 또는 i686 64 비트). 오프라인 컴퓨터와 동일한 릴리스의 Ubuntu를 실행해야합니다.
온라인 컴퓨터에서 :
필요한 패키지를 다운로드하십시오.
홈 폴더에이라는 디렉토리를 만듭니다 files-downloaded.
온라인 컴퓨터에서 Synaptic을 시작하십시오. Ubuntu 11.04에서는 windows버튼을 누른 다음을 입력하여 쉽게 수행 할 수 있습니다 synaptic package manager.
이라는 패키지를 찾아 flashplugin-installer마우스 오른쪽 단추로 클릭하고 설치 표시하십시오. 이미 설치되어 있으면 다시 설치하도록 표시하십시오.
대화 상자 창에 설치를 요청하면 표시를 libnspr4-0d클릭하십시오. 이 대화 상자가 나타나지 않으면 libnspr4-0d자신 을 찾아 다시 설치하도록 표시해야합니다.
이라는 패키지를 찾아 ttf-mscorefonts-installer마우스 오른쪽 단추로 클릭하고 설치 표시하십시오. 이미 설치되어 있으면 다시 설치하도록 표시하십시오.
대화 상자 창에 설치를 요청하면 표시를 cabextract클릭하십시오. 이 대화 상자가 나타나지 않으면 cabextract자신 을 찾아 다시 설치하도록 표시해야합니다.
이름이 지정된 패키지를 찾아서 debconf-utils필요에 따라 설치 또는 재설치하도록 표시하십시오. 이 패키지는 나중에 다운로드 할 추가 파일의 오프라인 위치를 설정하는 데 필요합니다.
File->를 클릭 하고 이름으로 디렉토리 Generate package download script아래에 스크립트를 저장하십시오 .files-downloaddownload-packages
windows키를 누르고을 입력하여 터미널을 엽니 다 terminal.
다음을 입력하십시오. 필요한 모든 .deb 파일이 files-downloaded폴더로 다운로드됩니다 .
cd ~/files-downloaded
sudo chown username:username download-packages
chmod +x download-packages
./download-packages
글꼴을 다운로드하십시오.
다음 코드를 다음과 같이 저장하십시오 files-downloaded/download-fonts.
#!/bin/bash
set -e
FONTS='andale32.exe arial32.exe arialb32.exe comic32.exe courie32.exe
georgi32.exe impact32.exe times32.exe trebuc32.exe verdan32.exe webdin32.exe'
URLROOTS="http://downloads.sourceforge.net/corefonts/
http://switch.dl.sourceforge.net/sourceforge/corefonts/
http://mesh.dl.sourceforge.net/sourceforge/corefonts/
http://dfn.dl.sourceforge.net/sourceforge/corefonts/
http://heanet.dl.sourceforge.net/sourceforge/corefonts/
http://jaist.dl.sourceforge.net/sourceforge/corefonts/
http://nchc.dl.sourceforge.net/sourceforge/corefonts/
http://ufpr.dl.sourceforge.net/sourceforge/corefonts/
http://internode.dl.sourceforge.net/sourceforge/corefonts/
http://voxel.dl.sourceforge.net/sourceforge/corefonts/
http://kent.dl.sourceforge.net/sourceforge/corefonts/
http://internap.dl.sourceforge.net/sourceforge/corefonts/"
for font in $FONTS
do
for website in $URLROOTS
do
if ! wget -c ${website}${font} ; then
continue 1;
fi
break
done
done
echo Done
터미널을 열고 다음을 입력하십시오.
cd ~/files-downloaded
chmod +x download-fonts
./download-fonts
플래시 플러그인 tarball을 다운로드하십시오.
다음 코드를 다음과 같이 저장하십시오 files-downloaded/download-flash.
#!/bin/bash
set -e
# Ensure that the flash plugin is installed and the latest version:
sudo apt-get install -y flashplugin-installer
FLASH_VERSION_LINE=$(grep -m 1 ^FLASH_VERSION= /var/lib/dpkg/info/flashplugin-installer.postinst)
eval $FLASH_VERSION_LINE
echo Flash version: "$FLASH_VERSION"
FILENAME=adobe-flashplugin_${FLASH_VERSION}.orig.tar.gz
PARTNER_URL=http://archive.canonical.com/pool/partner/a/adobe-flashplugin/$FILENAME
wget -c "$PARTNER_URL"
echo Done
터미널을 열고 다음을 입력하십시오.
cd ~/files-downloaded
chmod +x download-flash
./download-flash
이전:
이제 files-downloadedUSB 스틱에 이름이 지정된 폴더를 복사 하거나 자주 사용하는 파일 동기화 서비스를 사용하십시오. 이 폴더에는 11 개의 .exe 파일, 1 개의 .tar.gz 파일, 5 개의 .deb 파일 및 3 개의 스크립트가 있어야합니다.
오프라인 컴퓨터에서 :
이름이 지정된 폴더 files-downloaded를 홈 디렉토리에 복사하십시오 .
터미널에서 다음을 실행하십시오.
cd ~/files-downloaded
sudo dpkg -i debconf-utils_*.deb cabextract_*.deb libnspr4-0d_*.deb
echo flashplugin-installer flashplugin-installer/local string ~/files-downloaded/ | sudo debconf-set-selections
echo ttf-mscorefonts-installer msttcorefonts/dldir string ~/files-downloaded/ | sudo debconf-set-selections
sudo dpkg -i flashplugin-installer_*.deb
sudo dpkg -i ttf-mscorefonts-installer_*.deb
echo flashplugin-installer flashplugin-installer/local string | sudo debconf-set-selections
echo ttf-mscorefonts-installer msttcorefonts/dldir string | sudo debconf-set-selections
끝났습니다! 이전보다 훨씬 더 복잡했지만, 슬프게도 Adobe와 Microsoft는 각각 Flash와 글꼴의 배포를 제한합니다. 이것이 엄격한 라이센스를 획득 할 수있는 유일한 법적 방법입니다.
의존성 update-notifier-common으로 인해 flashplugin-installer 설치가 실패한 경우 추가하면 다음 단계를 사용하여 update-notifier-common을 다시 설치할 수 있습니다.
아래의 파일을 삭제하십시오 /usr/share/package-data-downloads.
sudo rm -f /usr/share/package-data-downloads/*
update-notifier-common을 다시 설치하십시오.
sudo apt-get install update-notifier-common
이제 플래시 나 글꼴을 다운로드하지 않고 완료해야합니다. 마지막 부분에서 스크립트를 다시 실행하십시오.